Re: [PATCH] printk-formats.txt: Add examples for %pS and %pF

2017-08-15 Thread Helge Deller
On 15.08.2017 13:36, Petr Mladek wrote: > On Fri 2017-08-11 09:31:28, Helge Deller wrote: >> On 11.08.2017 02:15, Sergey Senozhatsky wrote: >>> On (08/10/17 19:35), Helge Deller wrote: Sometimes people seems unclear when to use the %pS or %pF printk format. Adding some examples may help t

[PATCH v2] ipc: optimize semget/shmget/msgget for lots of keys

2017-08-15 Thread Guillaume Knispel
nitialized remains. - patch now based on next-20170815 include/linux/ipc.h | 3 ++ include/linux/ipc_namespace.h | 3 ++ ipc/msg.c | 10 +++-- ipc/namespace.c | 20 +++-- ipc/sem.c | 11 +++-- ipc/shm.c | 12

Re: [PATCH 1/2] sched/wait: Break up long wake list walk

2017-08-15 Thread Linus Torvalds
On Tue, Aug 15, 2017 at 12:41 PM, Linus Torvalds wrote: > > So if we have unnecessarily collisions because we have waiters looking > at different bits of the same page, we could just hash in the bit > number that we're waiting for too. Oh, nope, we can't do that, because we only have one "PageWat

Re: [PATCH] printk-formats.txt: Add examples for %pS and %pF

2017-08-15 Thread Helge Deller
On 15.08.2017 21:41, Helge Deller wrote: > On 15.08.2017 14:46, Steven Rostedt wrote: >> On Thu, 10 Aug 2017 19:35:33 +0200 >> Helge Deller wrote: >> >>> Sometimes people seems unclear when to use the %pS or %pF printk format. >>> Adding some examples may help to avoid such mistakes. >>> >>> See f

[GIT PULL] lkdtm updates for next, part 2

2017-08-15 Thread Kees Cook
Hi Greg, Please pull these additional lkdtm changes for next. Thanks! -Kees The following changes since commit c7fea48876773603721f545f8c1a2f894291ef85: lkdtm: Provide timing tests for atomic_t vs refcount_t (2017-07-26 14:38:04 -0700) are available in the git repository at: git://git.k

Re: [PATCH] printk-formats.txt: Add examples for %pS and %pF

2017-08-15 Thread Helge Deller
On 15.08.2017 14:46, Steven Rostedt wrote: > On Thu, 10 Aug 2017 19:35:33 +0200 > Helge Deller wrote: > >> Sometimes people seems unclear when to use the %pS or %pF printk format. >> Adding some examples may help to avoid such mistakes. >> >> See for example commit 51d96dc2e2dc ("random: fix warn

Re: [PATCH 1/2] sched/wait: Break up long wake list walk

2017-08-15 Thread Linus Torvalds
On Tue, Aug 15, 2017 at 12:05 PM, Tim Chen wrote: > > We have a test case but it is a customer workload. We'll try to get > a bit more info. Ok. Being a customer workload is lovely in the sense that it is actually a real load, not just a microbecnhmark. But yeah, it makes it harder to describe

[PATCH v3 net-next] bpf/verifier: track liveness for pruning

2017-08-15 Thread Edward Cree
State of a register doesn't matter if it wasn't read in reaching an exit; a write screens off all reads downstream of it from all explored_states upstream of it. This allows us to prune many more branches; here are some processed insn counts for some Cilium programs: Program bef

[PATCH] crypto: inside-secure - fix an error handling path in safexcel_probe()

2017-08-15 Thread Christophe JAILLET
'ret' is known to be 0 at this point. If 'safexcel_request_ring_irq()' fails, it returns an error code. Return this value instead of 0 which means success. Signed-off-by: Christophe JAILLET --- drivers/crypto/inside-secure/safexcel.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) di

Re: [PATCH 2/9] ASoC: cygnus: Update bindings for audio clock changes

2017-08-15 Thread Lori Hikichi
On 8/15/2017 10:14 AM, Mark Brown wrote: > On Mon, Aug 14, 2017 at 03:06:50PM -0700, Lori Hikichi wrote: >> Allow each audio port to select which clock (if any) it wants to use. > Why is this in DT for the port and not either using standard clock > bindings to configure the clock tree or allowing

Re: [PATCH] ioctl_tty.2: add TIOCGPTPEER documentation

2017-08-15 Thread Michael Kerrisk (man-pages)
On 06/09/2017 07:01 PM, Aleksa Sarai wrote: > The feature this patch references has currently only been accepted into > tty-testing, but Greg told me to kick this down to man-pages. As a > result, I can't reference upstream commit id's because the code isn't in > Linus' tree yet -- should I resend

Re: [PATCH] earlycon: initialise baud field of earlycon device structure

2017-08-15 Thread Rob Herring
On Tue, Aug 15, 2017 at 12:21 PM, Eugeniy Paltsev wrote: > For now baud field of earlycon structure device is't initialised at all > in of_setup_earlycon (in oppositе to register_earlycon). > > So when I use stdout-path to point earlycon device > (like stdout-path = &serial or stdout-path = "seria

[PATCH 3/3] x86/efi: Use efi_switch_mm() rather than manually twiddling with cr3

2017-08-15 Thread Sai Praneeth Prakhya
From: Sai Praneeth Use helper function (efi_switch_mm()) to switch to/from efi_mm. We switch to efi_mm before calling 1. efi_set_virtual_address_map() and 2. Invoking any efi_runtime_service() Likewise, we need to switch back to previous mm (mm context stolen by efi_mm) after the above calls ret

[PATCH 2/3] x86/efi: Replace efi_pgd with efi_mm.pgd

2017-08-15 Thread Sai Praneeth Prakhya
From: Sai Praneeth Since the previous patch added support for efi_mm, let's handle efi_pgd through efi_mm and remove global variable efi_pgd. Signed-off-by: Sai Praneeth Prakhya Cc: Lee, Chun-Yi Cc: Borislav Petkov Cc: Andy Lutomirski Cc: Michael S. Tsirkin Cc: Ricardo Neri Cc: Matt Flemin

[PATCH 1/3] efi: Use efi_mm in x86 as well as ARM

2017-08-15 Thread Sai Praneeth Prakhya
From: Sai Praneeth Presently, only ARM uses mm_struct to manage efi page tables and efi runtime region mappings. As this is the preferred approach, let's make this data structure common across architectures. Specially, for x86, using this data structure improves code maintainability and readabili

[PATCH 0/3] Use mm_struct and switch_mm() instead of manually

2017-08-15 Thread Sai Praneeth Prakhya
From: Sai Praneeth Presently, in x86, to invoke any efi function like efi_set_virtual_address_map() or any efi_runtime_service() the code path typically involves read_cr3() (save previous pgd), write_cr3() (write efi_pgd) and calling efi function. Likewise after returning from efi function the co

Re: [PATCH v2 1/3] dt-bindings: add eeprom "size" property

2017-08-15 Thread Rob Herring
On Mon, Aug 14, 2017 at 1:41 PM, Divagar Mohandass wrote: > This adds eeprom "size" as optional property for i2c eeproms. > > "size" should be mentioned in byte and it should refer > to the eeprom size. This will be read by the driver and > used to calculating the number of bytes in read/write cal

Re: [PATCH v2] acpi: apei: fix the wrongly iterate generic error status block

2017-08-15 Thread Borislav Petkov
On Tue, Aug 15, 2017 at 12:31:14PM -0600, Baicar, Tyler wrote: > His patch fixes the define for apei_estatus_for_each_section which in turn > should fix ghes_do_proc(). So my patch should no longer be needed. I see. We're keeping the macro, of course. > I'm going to test this out just to verify i

Re: [PATCH] string.h: work around __builtin_constant_p quirk

2017-08-15 Thread Kees Cook
On Mon, Aug 7, 2017 at 3:29 PM, Arnd Bergmann wrote: > On Mon, Aug 7, 2017 at 11:15 AM, Arnd Bergmann wrote: >> The compile-time check in the hardened memcpy() triggered a build >> error in code that should not have: >> >> In function 'memcpy', >> inlined from '__adfs_dir_put' at fs/adfs/dir_

Re: [PATCH 2/2] mm: Update NUMA counter threshold size

2017-08-15 Thread Mel Gorman
On Tue, Aug 15, 2017 at 10:51:21AM -0700, Tim Chen wrote: > On 08/15/2017 10:30 AM, Mel Gorman wrote: > > On Tue, Aug 15, 2017 at 09:55:39AM -0700, Tim Chen wrote: > > >> > >> Doubling the threshold and counter size will help, but not as much > >> as making them above u8 limit as seen in Kemi's da

Re: [PATCH 1/2] sched/wait: Break up long wake list walk

2017-08-15 Thread Tim Chen
On 08/14/2017 08:28 PM, Linus Torvalds wrote: > On Mon, Aug 14, 2017 at 8:15 PM, Andi Kleen wrote: >> But what should we do when some other (non page) wait queue runs into the >> same problem? > > Hopefully the same: root-cause it. > > Once you have a test-case, it should generally be fairly sim

Re: [PATCH 0/5] perf script: Add support for exporting to sqlite3

2017-08-15 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 15, 2017 at 12:25:24PM +0300, Adrian Hunter escreveu: > On 03/08/17 11:31, Adrian Hunter wrote: > > Hi > > > > Here is a script for exporting to SQLite 3 the same data as the PostgreSQL > > export. The call-graph script is renamed and amended to work with both > > PostgreSQL and SQLit

Re: [PATCH] mm: Revert x86_64 and arm64 ELF_ET_DYN_BASE base

2017-08-15 Thread Kees Cook
ping to akpm to please pick this up for -mm... On Tue, Aug 8, 2017 at 7:00 PM, Kees Cook wrote: > On Tue, Aug 8, 2017 at 2:34 AM, Will Deacon wrote: >> On Mon, Aug 07, 2017 at 01:15:42PM -0700, Kees Cook wrote: >>> Moving the x86_64 and arm64 PIE base from 0x4000 to 0x0001 >>> br

Re: [PATCH v7 3/5] irqdomain: Add irq_domain_{push,pop}_irq() functions.

2017-08-15 Thread Marc Zyngier
On Tue, Aug 15 2017 at 11:00:19 am BST, David Daney wrote: > On 08/15/2017 06:50 AM, Marc Zyngier wrote: >> Hi David, >> >> On 09/08/17 23:51, David Daney wrote: > [...] >>> diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c >>> index f1f2514..629f770 100644 >>> --- a/kernel/irq/irqdoma

Re: possible circular locking dependency mmap_sem/cpu_hotplug_lock.rw_sem

2017-08-15 Thread Paul E. McKenney
On Mon, Aug 07, 2017 at 04:09:47PM +0200, Artem Savkov wrote: > Hello, > > After commit fc8dffd "cpu/hotplug: Convert hotplug locking to percpu rwsem" > the following lockdep splat started showing up on some systems while running > ltp's madvise06 test (right after first dirty_pages call [1]). He

Re: [PATCH 2/2] Revert "pstore: Honor dmesg_restrict sysctl on dmesg dumps"

2017-08-15 Thread Kees Cook
On Tue, Aug 15, 2017 at 4:55 AM, Petr Mladek wrote: > On Thu 2017-08-10 13:36:35, Kees Cook wrote: >> This reverts commit 68c4a4f8abc60c9440ede9cd123d48b78325f7a3, with >> various conflict clean-ups. >> >> With the default root directory mode set to 0750 now, the capability >> check was redundant.

Re: [PATCH] loop: fix to a race condition due to the early registration of device

2017-08-15 Thread Jens Axboe
On 08/07/2017 06:37 AM, Anton Volkov wrote: > The early device registration made possible a race leading to allocations > of disks with wrong minors. > > This patch moves the device registration further down the loop_init > function to make the race infeasible. > > Found by Linux Driver Verificat

Re: 4.13.0-rc4 sparc64: can't allocate MSI-X affinity masks for 2 vectors

2017-08-15 Thread Bjorn Helgaas
[+cc Christoph] On Tue, Aug 15, 2017 at 05:54:27PM +0300, Meelis Roos wrote: > I noticed that in 4.13.0-rc4 there is a new error in dmesg on my sparc64 > t5120 server: can't allocate MSI-X affinity masks. > > [ 30.274284] qla2xxx [:00:00.0]-0005: : QLogic Fibre Channel HBA > Driver: 10.00

Re: [Question]: try to fix contention between expire_timers and try_to_del_timer_sync

2017-08-15 Thread Will Deacon
Hi Vikram, On Thu, Aug 03, 2017 at 04:25:12PM -0700, Vikram Mulukutla wrote: > On 2017-07-31 06:13, Will Deacon wrote: > >On Fri, Jul 28, 2017 at 12:09:38PM -0700, Vikram Mulukutla wrote: > >>On 2017-07-28 02:28, Will Deacon wrote: > >>>On Thu, Jul 27, 2017 at 06:10:34PM -0700, Vikram Mulukutla wr

Re: [RESEND PATCH v5] locking/pvqspinlock: Relax cmpxchg's to improve performance on some archs

2017-08-15 Thread Will Deacon
On Mon, Aug 14, 2017 at 08:47:11PM +0200, Peter Zijlstra wrote: > On Mon, Aug 14, 2017 at 01:01:22PM +0100, Will Deacon wrote: > > Yeah, that's right, you can't use the STXR status flag to create control > > dependencies. > > Just for my elucidation; you can't use it to create a control dependency

Re: [PATCH] hw: Fix permissions for OCRDMA_RESET_STATS

2017-08-15 Thread Leon Romanovsky
On Tue, Aug 08, 2017 at 06:56:37PM +0300, Anton Vasilyev wrote: > Debugfs file reset_stats is created with S_IRUSR permissions, > but ocrdma_dbgfs_ops_read() doesn't support OCRDMA_RESET_STATS, > whereas ocrdma_dbgfs_ops_write() supports only OCRDMA_RESET_STATS. > > The patch fixes misstype with pe

Re: [PATCH v2] acpi: apei: fix the wrongly iterate generic error status block

2017-08-15 Thread Baicar, Tyler
On 8/15/2017 10:55 AM, Borislav Petkov wrote: On Wed, Aug 16, 2017 at 12:42:43AM +0800, gengdongjiu wrote: I ever discuss it with Tyler about it, as shown below link, thanks https://lkml.org/lkml/2017/8/14/355 Tyler's patch fixes ghes_do_proc() - yours cper_estatus_print(). How is that merged?

Re: [PATCH 1/6] ARM: dts: cygnus: Fix incorrect UART2 register base

2017-08-15 Thread Eric Anholt
Scott Branden writes: > From: Ray Jui > > Fix incorrect Cygnus UART2 register base. > > Fixes: 0f0b21a83ad2 ("ARM: dts: Move all Cygnus peripherals into axi bus") > Signed-off-by: Ray Jui > Signed-off-by: Scott Branden Reviewed-by: Eric Anholt signature.asc Description: PGP signature

Re: [PATCH 2/6] ARM: dts: cygnus: place v3d in proper address ordered location

2017-08-15 Thread Eric Anholt
Scott Branden writes: > Move v3d devicetree node to proper address ordered location in Cygnus > dtsi. > > Signed-off-by: Scott Branden Reviewed-by: Eric Anholt signature.asc Description: PGP signature

Re: [PATCHv2 00/14] arm64: VMAP_STACK support

2017-08-15 Thread Kees Cook
On Tue, Aug 15, 2017 at 10:44 AM, Catalin Marinas wrote: > On Tue, Aug 15, 2017 at 06:39:14PM +0100, Mark Rutland wrote: >> On Tue, Aug 15, 2017 at 10:18:20AM -0700, Laura Abbott wrote: >> > On 08/15/2017 05:50 AM, Mark Rutland wrote: >> > > Hi, >> > > >> > > Ard and I have worked together to impl

[PATCH 2/3] ARC: Decouple linux kernel memory address and link address

2017-08-15 Thread Eugeniy Paltsev
We faced with problem when we tried to utilize 1G DRAM by linux on HSDK. We can't use our usual kernel memory address (0x8000) like on AXS103 because of DCCM memory bank located at exactly same address (0x8000) But we can't simply move kernel memory address to another address (like 0x9

[PATCH 1/3] ARC: Set IO-coherency aperture base to LINUX_LINK_BASE

2017-08-15 Thread Eugeniy Paltsev
Most of the time we indeed use the one and only LINUX_LINK_BASE set to 0x8000_. But there might be good reasons to move the kernel to another location like 0x9z etc. And we want IOC aperture to cover entire area used by the kernel, so let's make its base matching link base and add required ass

[PATCH 0/3 v8] hsdk: initial port for HSDK board

2017-08-15 Thread Eugeniy Paltsev
This series introduces some required preparations and initial port of ARC HS Development Kit board with some basic features such as serial port, USB, SD/MMC and Ethernet. Essentially we run Linux kernel on all 4 cores (i.e. utilize SMP) and heavily use IO Coherency for speeding-up DMA-aware periph

Re: Possible race in ucb1400_ts.ko

2017-08-15 Thread Dmitry Torokhov
Hi Anton, On Tue, Aug 15, 2017 at 04:46:25PM +0300, Anton Volkov wrote: > Hello. > > While searching for races in the Linux kernel I've come across > "drivers/input/touchscreen/ucb1400_ts.ko" module. Here is a question > that I came up with while analyzing results. Lines are given using > the inf

[PATCH 3/3] ARC: hsdk: initial port for HSDK board

2017-08-15 Thread Eugeniy Paltsev
From: Alexey Brodkin This initial port adds support of ARC HS Development Kit board with some basic features such serial port, USB, SD/MMC and Ethernet. Essentially we run Linux kernel on all 4 cores (i.e. utilize SMP) and heavily use IO Coherency for speeding-up DMA-aware peripherals. Note as

Re: [PATCH 4.12 00/65] 4.12.8-stable review

2017-08-15 Thread Greg Kroah-Hartman
On Tue, Aug 15, 2017 at 12:09:06PM -0600, Shuah Khan wrote: > On 08/14/2017 07:18 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.12.8 release. > > There are 65 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: [PATCH] ARM: bcm2836: Send event when onlining other cores

2017-08-15 Thread Eric Anholt
Stefan Wahren writes: > Hi Eric, > >> Stefan Wahren hat am 14. August 2017 um 19:11 >> geschrieben: >> >> >> Hi Florian, >> >> > Florian Fainelli hat am 14. August 2017 um 18:25 >> > geschrieben: >> > >> > >> > >> > >> > On 08/08/2017 04:04 AM, Phil Elwell wrote: >> > > Secondary cores

Re: [PATCH 4.12 00/65] 4.12.8-stable review

2017-08-15 Thread Shuah Khan
On 08/14/2017 07:18 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.12.8 release. > There are 65 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

[GIT PULL 1/2] bcm2835-dt-next-2017-08-15

2017-08-15 Thread Eric Anholt
The following changes since commit ad41eacc11046fe6a199cffb6663bcd9c90df2f8: Merge tag 'bcm2835-dt-next-2017-08-07' into devicetree/next (2017-08-07 10:45:35 -0700) are available in the git repository at: git://github.com/anholt/linux tags/bcm2835-dt-next-2017-08-15 for you to fetch change

[GIT PULL 2/2] bcm2835-soc-next-2017-08-15

2017-08-15 Thread Eric Anholt
The following changes since commit f29c256853b7412961d3ee80ca525bd2530573db: ARM: dts: bcm283x: Add 32-bit enable method for SMP (2017-08-14 20:09:44 +0200) are available in the git repository at: git://github.com/anholt/linux tags/bcm2835-soc-next-2017-08-15 for you to fetch changes up to

Re: [PATCH 4.4 00/23] 4.4.83-stable review

2017-08-15 Thread Shuah Khan
On 08/14/2017 07:18 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.83 release. > There are 23 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH 4.9 00/41] 4.9.44-stable review

2017-08-15 Thread Shuah Khan
On 08/14/2017 07:18 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.44 release. > There are 41 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH 3.18 00/16] 3.18.66-stable review

2017-08-15 Thread Shuah Khan
On 08/14/2017 07:18 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.66 release. > There are 16 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

Re: [PATCH v2 net-next] bpf/verifier: track liveness for pruning

2017-08-15 Thread Edward Cree
On 15/08/17 17:33, Daniel Borkmann wrote: > On 08/15/2017 03:53 PM, Edward Cree wrote: >> State of a register doesn't matter if it wasn't read in reaching an exit; >> a write screens off all reads downstream of it from all explored_states >> upstream of it. >> This allows us to prune many more

Re: [PATCH v7 3/5] irqdomain: Add irq_domain_{push,pop}_irq() functions.

2017-08-15 Thread David Daney
On 08/15/2017 06:50 AM, Marc Zyngier wrote: Hi David, On 09/08/17 23:51, David Daney wrote: [...] diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index f1f2514..629f770 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c @@ -1448,6 +1448,184 @@ int __irq_domain_alloc_

Re: [PATCH] hsdk: Enable INPUT_EVDEV

2017-08-15 Thread Eugeniy Paltsev
I'll add this to  [PATCH 3/3 v9] ARC: hsdk: initial port for HSDK board On Tue, 2017-08-15 at 20:12 +0300, Alexey Brodkin wrote: > This is required for user-space apps to work with keyboard/mice. > > Signed-off-by: Alexey Brodkin > Cc: Eugeniy Paltsev > --- >  arch/arc/configs/hsdk_defconfig |

Re: [PATCH v4] f2fs: introduce discard_granularity sysfs entry

2017-08-15 Thread Jaegeuk Kim
On 08/15, Chao Yu wrote: > On 2017/8/15 11:45, Jaegeuk Kim wrote: > > On 08/07, Chao Yu wrote: > >> From: Chao Yu > >> > >> Commit d618ebaf0aa8 ("f2fs: enable small discard by default") enables > >> f2fs to issue 4K size discard in real-time discard mode. However, issuing > >> smaller discard may

Re: [PATCH v5 0/6] drivers/i2c: Add FSI-attached I2C master algorithm

2017-08-15 Thread Eddie James
On 08/15/2017 12:35 PM, Peter Rosin wrote: On 2017-08-15 18:28, Christopher Bostic wrote: On 8/15/17 3:10 AM, Joel Stanley wrote: On Tue, Aug 15, 2017 at 4:06 PM, Peter Rosin wrote: On 2017-07-26 19:13, Eddie James wrote: From: "Edward A. James" This series adds an algorithm for an I2C m

Re: [PATCH 2/2] mm: Update NUMA counter threshold size

2017-08-15 Thread Tim Chen
On 08/15/2017 10:30 AM, Mel Gorman wrote: > On Tue, Aug 15, 2017 at 09:55:39AM -0700, Tim Chen wrote: >> >> Doubling the threshold and counter size will help, but not as much >> as making them above u8 limit as seen in Kemi's data: >> >> 125 537 358906028 <==> system by defau

Re: [PATCH] Adding-Agile-SD-TCP-module-and-modifying-Kconfig-and-makefile

2017-08-15 Thread Randy Dunlap
On 08/15/2017 10:36 AM, David Miller wrote: > From: Randy Dunlap > Date: Tue, 15 Aug 2017 09:41:53 -0700 > >> On 08/15/2017 06:51 AM, Neal Cardwell wrote: >>> On Tue, Aug 15, 2017 at 9:08 AM, mohamedalrshah >>> wrote: >>> +static void agilesdtcp_cong_avoid(struct sock *sk, u32 ack, u32 in_f

Re: [PATCHv2 00/14] arm64: VMAP_STACK support

2017-08-15 Thread Catalin Marinas
On Tue, Aug 15, 2017 at 06:39:14PM +0100, Mark Rutland wrote: > On Tue, Aug 15, 2017 at 10:18:20AM -0700, Laura Abbott wrote: > > On 08/15/2017 05:50 AM, Mark Rutland wrote: > > > Hi, > > > > > > Ard and I have worked together to implement vmap stack support for > > > arm64. This supersedes our ea

Re: [PATCH net-next 11/11] net: dsa: debugfs: add port vlan

2017-08-15 Thread Florian Fainelli
On 08/14/2017 03:22 PM, Vivien Didelot wrote: > Add a debug filesystem "vlan" entry to query a port's hardware VLAN > entries through the .port_vlan_dump switch operation. > > This is really convenient to query directly the hardware or inspect DSA > or CPU links, since these ports are not expose

Re: [PATCHv2 00/14] arm64: VMAP_STACK support

2017-08-15 Thread Mark Rutland
On Tue, Aug 15, 2017 at 10:18:20AM -0700, Laura Abbott wrote: > On 08/15/2017 05:50 AM, Mark Rutland wrote: > > Hi, > > > > Ard and I have worked together to implement vmap stack support for > > arm64. This supersedes our earlier vmap stack RFCs [0,1]. The git author > > stats are a little mislead

Re: [PATCH net-next 10/11] net: dsa: restore VLAN dump

2017-08-15 Thread Florian Fainelli
On 08/14/2017 03:22 PM, Vivien Didelot wrote: > This commit defines a dsa_vlan_dump_cb_t callback, similar to the FDB > dump callback and partly reverts commit a0b6b8c9fa3c ("net: dsa: Remove > support for vlan dump from DSA's drivers") to restore the DSA drivers > VLAN dump operations. > > Sign

Re: [PATCH net-next 09/11] net: dsa: debugfs: add port mdb

2017-08-15 Thread Florian Fainelli
On 08/14/2017 03:22 PM, Vivien Didelot wrote: > Add a debug filesystem "mdb" entry to query a port's hardware MDB > entries through the .port_mdb_dump switch operation. > > This is really convenient to query directly the hardware or inspect DSA > or CPU links, since these ports are not exposed t

Re: [PATCH net-next 08/11] net: dsa: restore mdb dump

2017-08-15 Thread Florian Fainelli
On 08/14/2017 03:22 PM, Vivien Didelot wrote: > The same dsa_fdb_dump_cb_t callback is used since there is no > distinction to do between FDB and MDB entries at this layer. > > Implement mv88e6xxx_port_mdb_dump so that multicast addresses associated > to a switch port can be dumped. > > Signed-

Re: early x86 unseeded randomness

2017-08-15 Thread Thomas Gleixner
On Tue, 15 Aug 2017, Thomas Gleixner wrote: > On Tue, 15 Aug 2017, Theodore Ts'o wrote: > > On Tue, Aug 15, 2017 at 03:48:18PM +0200, Thomas Gleixner wrote: > > > > > +u64 __init tsc_early_random(void) > > > > > +{ > > > > > + u64 uninitialized_var(res); > > > > > + int i; > > > > > + > > >

Re: [PATCH] Adding-Agile-SD-TCP-module-and-modifying-Kconfig-and-makefile

2017-08-15 Thread David Miller
From: Randy Dunlap Date: Tue, 15 Aug 2017 09:41:53 -0700 > On 08/15/2017 06:51 AM, Neal Cardwell wrote: >> On Tue, Aug 15, 2017 at 9:08 AM, mohamedalrshah >> wrote: >> >>> +static void agilesdtcp_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) >>> +{ >>> + struct tcp_sock *tp = tcp_sk

Re: [PATCH v5 0/6] drivers/i2c: Add FSI-attached I2C master algorithm

2017-08-15 Thread Peter Rosin
On 2017-08-15 18:28, Christopher Bostic wrote: > On 8/15/17 3:10 AM, Joel Stanley wrote: >> On Tue, Aug 15, 2017 at 4:06 PM, Peter Rosin wrote: >>> On 2017-07-26 19:13, Eddie James wrote: From: "Edward A. James" This series adds an algorithm for an I2C master physically located on

Re: [PATCH net-next 07/11] net: dsa: debugfs: add port fdb

2017-08-15 Thread Florian Fainelli
On 08/14/2017 03:22 PM, Vivien Didelot wrote: > Add a debug filesystem "fdb" entry to query a port's hardware FDB > entries through the .port_fdb_dump switch operation. > > This is really convenient to query directly the hardware or inspect DSA > or CPU links, since these ports are not exposed t

Re: [PATCH net-next 06/11] net: dsa: debugfs: add port registers

2017-08-15 Thread Florian Fainelli
On 08/14/2017 03:22 PM, Vivien Didelot wrote: > Add a debug filesystem "regs" entry to query a port's hardware registers > through the .get_regs_len and .get_regs_len switch operations. > > This is very convenient because it allows one to dump the registers of > DSA links, which are not exposed

Re: [PATCH net-next 05/11] net: dsa: debugfs: add port stats

2017-08-15 Thread Florian Fainelli
On 08/14/2017 03:22 PM, Vivien Didelot wrote: > Add a debug filesystem "stats" entry to query a port's hardware > statistics through the DSA switch .get_sset_count, .get_strings and > .get_ethtool_stats operations. > > This allows one to get statistics about DSA links interconnecting > switches,

Re: [PATCH net-next 04/11] net: dsa: debugfs: add tag_protocol

2017-08-15 Thread Florian Fainelli
On 08/14/2017 03:22 PM, Vivien Didelot wrote: > Add a debug filesystem "tag_protocol" entry to query the switch tagging > protocol through the .get_tag_protocol operation. > > # cat switch1/tag_protocol > EDSA > > Signed-off-by: Vivien Didelot > --- > net/dsa/debugfs.c | 54 ++

Re: [PATCH 2/2] mm: Update NUMA counter threshold size

2017-08-15 Thread Mel Gorman
On Tue, Aug 15, 2017 at 09:55:39AM -0700, Tim Chen wrote: > On 08/15/2017 02:58 AM, Mel Gorman wrote: > > On Tue, Aug 15, 2017 at 04:45:36PM +0800, Kemi Wang wrote: > >> Threshold CPU cyclesThroughput(88 threads) > >> 32 799 241760478 > >> 64 640 3

Re: [PATCH v4] ASoC: samsung: i2s: Null pointer dereference on samsung_i2s_remove

2017-08-15 Thread Krzysztof Kozlowski
On Tue, Aug 15, 2017 at 03:19:54PM +0300, Anton Vasilyev wrote: > If (quirks & QUIRK_SEC_DAI == 0) then samsung_i2s_probe() doesn't allocate > sec_dai and pri_dai->sec_dai remains Null, but samsung_i2s_remove() > performs pri_dai->sec_dai dereference in any case. > > The patch removes useless rein

Re: [PATCH net-next 02/11] net: dsa: add debugfs interface

2017-08-15 Thread Florian Fainelli
On 08/14/2017 03:22 PM, Vivien Didelot wrote: > This commit adds a DEBUG_FS dependent DSA core file creating a generic > debug filesystem interface for the DSA switch devices. > > The interface can be mounted with: > > # mount -t debugfs none /sys/kernel/debug > > The dsa directory contain

Re: [PATCH v6 1/3] perf/core: use rb trees for pinned/flexible groups

2017-08-15 Thread Alexey Budankov
Hi Peter, On 07.08.2017 10:17, Alexey Budankov wrote: > On 04.08.2017 17:36, Peter Zijlstra wrote: >> On Thu, Aug 03, 2017 at 11:30:09PM +0300, Alexey Budankov wrote: >>> On 03.08.2017 16:00, Peter Zijlstra wrote: On Wed, Aug 02, 2017 at 11:13:54AM +0300, Alexey Budankov wrote: >> > +/* >

[PATCH] cpuset: Allow v2 behavior in v1 cgroup

2017-08-15 Thread Waiman Long
Cpuset v2 has some valuable attributes that are not present in v1 because of backward compatibility concern. One of that is the restoration of the original cpu and memory node mask after a hot removal and addition event sequence. This patch adds a new kernel command line option "cpuset_v2_mode=" t

[PATCH 4/6] ARM: dts: cygnus: Add additional peripherals to dtsi

2017-08-15 Thread Scott Branden
From: Jonathan Richardson Add nodes for peripherals in Cygnus dtsi: sdhci, keypad, spi, dma, pinmux configs. Signed-off-by: Jonathan Richardson Signed-off-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 102 ++ 1 file changed, 102 insertions(+) d

[PATCH 2/6] ARM: dts: cygnus: place v3d in proper address ordered location

2017-08-15 Thread Scott Branden
Move v3d devicetree node to proper address ordered location in Cygnus dtsi. Signed-off-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/b

[PATCH 3/6] ARM: dts: cygnus: Enable Performance Monitoring Unit

2017-08-15 Thread Scott Branden
From: Jason Uy Add PMU capability to Cygnus so trace and performance profiling can be used. Signed-off-by: Jason Uy Signed-off-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dt

[PATCH 6/6] ARM: dts: cygnus: Add generic-ehci/ohci nodes

2017-08-15 Thread Scott Branden
From: Raveendra Padasalagi Add dt nodes for generic-ehci/ohci host controller. Signed-off-by: Raveendra Padasalagi Signed-off-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/a

[PATCH 5/6] ARM: dts: cygnus: add serial0 alias for uart3 on bcm91130_entphn

2017-08-15 Thread Scott Branden
Use serial0 alias to select stdout-path on Cygnus bcm911360_entphon board. Signed-off-by: Scott Branden --- arch/arm/boot/dts/bcm911360_entphn.dts | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/bcm911360_entphn.dts b/arch/arm/boot/dts/bcm911360_entp

[PATCH 1/6] ARM: dts: cygnus: Fix incorrect UART2 register base

2017-08-15 Thread Scott Branden
From: Ray Jui Fix incorrect Cygnus UART2 register base. Fixes: 0f0b21a83ad2 ("ARM: dts: Move all Cygnus peripherals into axi bus") Signed-off-by: Ray Jui Signed-off-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch

[PATCH 0/6] ARM: dts: cygnus dts updates

2017-08-15 Thread Scott Branden
This patch series is a collection of patches for the Cygnus SoC dts files. Jason Uy (1): ARM: dts: cygnus: Enable Performance Monitoring Unit Jonathan Richardson (1): ARM: dts: cygnus: Add additional peripherals to dtsi Raveendra Padasalagi (1): ARM: dts: cygnus: Add generic-ehci/ohci node

Re: [PATCH v4 3/4] ARM: multi_v7_defconfig: add CONFIG_BRCMSTB_THERMAL

2017-08-15 Thread Florian Fainelli
On 08/09/2017 03:02 PM, Markus Mayer wrote: > From: Markus Mayer > > Turn on CONFIG_BRCMSTB_THERMAL as module. > > Signed-off-by: Markus Mayer Applied to defconfig/next, thanks! -- Florian

Re: [PATCH v4 4/4] arm64: defconfig: add CONFIG_BRCMSTB_THERMAL

2017-08-15 Thread Florian Fainelli
On 08/09/2017 03:02 PM, Markus Mayer wrote: > From: Markus Mayer > > Turn on CONFIG_BRCMSTB_THERMAL as module. Applied to defconfig-arm64/next, thanks! -- Florian

[PATCH] earlycon: initialise baud field of earlycon device structure

2017-08-15 Thread Eugeniy Paltsev
For now baud field of earlycon structure device is't initialised at all in of_setup_earlycon (in oppositе to register_earlycon). So when I use stdout-path to point earlycon device (like stdout-path = &serial or stdout-path = "serial:115200n8") baud field of earlycon device structure remains uninit

Re: [PATCH 2/2] mtd: spi-nor: Altera ASMI Parallel II IP Core

2017-08-15 Thread matthew . gerlach
Hi Cyrille, Thanks for the great feedback. See my comments inline. Matthew Gerlach On Fri, 11 Aug 2017, Cyrille Pitchen wrote: Hi Matthew, Le 06/08/2017 à 20:24, matthew.gerl...@linux.intel.com a écrit : From: Matthew Gerlach Signed-off-by: Matthew Gerlach --- MAINTAINERS

Re: pull-request: wireless-drivers 2017-08-15

2017-08-15 Thread David Miller
From: Kalle Valo Date: Tue, 15 Aug 2017 14:30:34 +0300 > more fixes to net tree for 4.13. More info in the signed tag below, > please let me know if there are any problems. Pulled, thanks Kalle.

Re: [PATCHv2 00/14] arm64: VMAP_STACK support

2017-08-15 Thread Laura Abbott
On 08/15/2017 05:50 AM, Mark Rutland wrote: > Hi, > > Ard and I have worked together to implement vmap stack support for > arm64. This supersedes our earlier vmap stack RFCs [0,1]. The git author > stats are a little misleading, as I've teased parts out into smaller > patches for review. > > The

Applied "ASoC: codecs: es8316: constify snd_soc_dai_ops structures" to the asoc tree

2017-08-15 Thread Mark Brown
The patch ASoC: codecs: es8316: constify snd_soc_dai_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) a

Applied "ASoC: cygnus: Add support for 384kHz frame rates" to the asoc tree

2017-08-15 Thread Mark Brown
The patch ASoC: cygnus: Add support for 384kHz frame rates has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent t

Applied "regulator: add fixes with MT6397 dt-bindings shouldn't reference driver" to the regulator tree

2017-08-15 Thread Mark Brown
The patch regulator: add fixes with MT6397 dt-bindings shouldn't reference driver has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime

Applied "regulator: add fixes with MT6323 dt-bindings shouldn't reference driver" to the regulator tree

2017-08-15 Thread Mark Brown
The patch regulator: add fixes with MT6323 dt-bindings shouldn't reference driver has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime

Applied "ASoC: spear: constify snd_soc_dai_ops structures" to the asoc tree

2017-08-15 Thread Mark Brown
The patch ASoC: spear: constify snd_soc_dai_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent t

Applied "regulator: add fixes with MT6311 dt-bindings shouldn't reference driver" to the regulator tree

2017-08-15 Thread Mark Brown
The patch regulator: add fixes with MT6311 dt-bindings shouldn't reference driver has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime

Re: [PATCH v3 0/5] fs/dcache: Limit # of negative dentries

2017-08-15 Thread Waiman Long
On 07/28/2017 02:34 PM, Waiman Long wrote: > v2->v3: > - Add a faster pruning rate when the free pool is closed to depletion. > - As suggested by James Bottomley, add an artificial delay waiting > loop before killing a negative dentry and properly clear the > DCACHE_KILL_NEGATIVE flag

Applied "ASoC: blackfin: constify snd_soc_dai_ops structures" to the asoc tree

2017-08-15 Thread Mark Brown
The patch ASoC: blackfin: constify snd_soc_dai_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sen

Applied "ASoC: codecs: zx_aud96p22: constify snd_soc_dai_ops structures" to the asoc tree

2017-08-15 Thread Mark Brown
The patch ASoC: codecs: zx_aud96p22: constify snd_soc_dai_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hou

Applied "ASoC: rockchip: constify snd_soc_dai_ops structures" to the asoc tree

2017-08-15 Thread Mark Brown
The patch ASoC: rockchip: constify snd_soc_dai_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sen

Re: [PATCH 2/9] ASoC: cygnus: Update bindings for audio clock changes

2017-08-15 Thread Mark Brown
On Mon, Aug 14, 2017 at 03:06:50PM -0700, Lori Hikichi wrote: > Allow each audio port to select which clock (if any) it wants to use. Why is this in DT for the port and not either using standard clock bindings to configure the clock tree or allowing the machine driver to pick? signature.asc Desc

Re: [PATCH v1] mtd: plat-ram: use release_mem_region instead of release_resource

2017-08-15 Thread Boris Brezillon
Le Tue, 15 Aug 2017 15:21:34 +0300, Anton Vasilyev a écrit : > Use api pair of request_mem_region and release_mem_region > instead of release_resource. > > Found by Linux Driver Verification project (linuxtesting. Missing ')'. > > Signed-off-by: Anton Vasilyev > --- > v1: Fix commit based on

[PATCH] hsdk: Enable INPUT_EVDEV

2017-08-15 Thread Alexey Brodkin
This is required for user-space apps to work with keyboard/mice. Signed-off-by: Alexey Brodkin Cc: Eugeniy Paltsev --- arch/arc/configs/hsdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arc/configs/hsdk_defconfig b/arch/arc/configs/hsdk_defconfig index f4190bcde594..b3d212

Re: [PATCH v4 3/3] fs, xfs: introduce MAP_DIRECT for creating block-map-sealed file ranges

2017-08-15 Thread Dan Williams
On Tue, Aug 15, 2017 at 2:18 AM, Kirill A. Shutemov wrote: > On Mon, Aug 14, 2017 at 11:12:22PM -0700, Dan Williams wrote: >> MAP_DIRECT is an mmap(2) flag with the following semantics: >> >> MAP_DIRECT >> In addition to this mapping having MAP_SHARED semantics, successful >> faults in this

<    1   2   3   4   5   6   7   8   9   >