Re: [PATCH v4 1/3] KVM: x86: add support for user wait instructions

2019-06-19 Thread Tao Xu
On 6/19/2019 2:23 PM, Xiaoyao Li wrote: On 6/19/2019 2:09 PM, Tao Xu wrote: UMONITOR, UMWAIT and TPAUSE are a set of user wait instructions. This patch adds support for user wait instructions in KVM. Availability of the user wait instructions is indicated by the presence of the CPUID feature f

Re: [PATCH 1/3] arch: riscv: add config option for building SiFive's SoC resource

2019-06-19 Thread Palmer Dabbelt
On Mon, 17 Jun 2019 12:29:48 PDT (-0700), lolliv...@baylibre.com wrote: Create a config option for building SiFive SoC specific resources e.g. SiFive device tree, platform drivers... Signed-off-by: Loys Ollivier Cc: Paul Walmsley Cc: Palmer Dabbelt --- arch/riscv/Kconfig | 2

Re: [PATCH 3/3] riscv: defconfig: enable SOC_SIFIVE

2019-06-19 Thread Palmer Dabbelt
On Mon, 17 Jun 2019 12:29:50 PDT (-0700), lolliv...@baylibre.com wrote: Enable SOC_SIFIVE so the default upstream config is bootable on the SiFive Unleashed Board. And have basic support for future boards based on the same SoC. Signed-off-by: Loys Ollivier --- arch/riscv/configs/defconfig | 6

Re: [PATCH 2/3] riscv: select SiFive platform drivers with SOC_SIFIVE

2019-06-19 Thread Palmer Dabbelt
On Mon, 17 Jun 2019 12:29:49 PDT (-0700), lolliv...@baylibre.com wrote: On selection of SOC_SIFIVE select the corresponding platform drivers. Signed-off-by: Loys Ollivier --- arch/riscv/Kconfig.socs | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/K

[PATCH 1/2] clk: imx: Remove __init for imx_register_uart_clocks() API

2019-06-19 Thread Anson . Huang
From: Anson Huang Some of i.MX SoCs' clock driver use platform driver model, and they need to call imx_register_uart_clocks() API, so imx_register_uart_clocks() API should NOT be in .init section. Signed-off-by: Anson Huang --- drivers/clk/imx/clk.c | 6 +++--- 1 file changed, 3 insertions(+),

[PATCH 2/2] clk: imx8mq: Keep uart clocks on during system boot

2019-06-19 Thread Anson . Huang
From: Anson Huang Call imx_register_uart_clocks() API to keep uart clocks enabled when earlyprintk or earlycon is active. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx8mq.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/c

Re: WARNING in fanotify_handle_event

2019-06-19 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger crash: Reported-and-tested-by: syzbot+c277e8e2f46414645...@syzkaller.appspotmail.com Tested on: commit: a6a3fd5c fanotify: update connector fsid cache on add mark git tree: https://github.com/ami

Re: [PATCH 4/7] powerpc/ftrace: Additionally nop out the preceding mflr with -mprofile-kernel

2019-06-19 Thread Nicholas Piggin
Michael Ellerman's on June 19, 2019 3:14 pm: > Hi Naveen, > > Sorry I meant to reply to this earlier .. :/ > > "Naveen N. Rao" writes: >> With -mprofile-kernel, gcc emits 'mflr r0', followed by 'bl _mcount' to >> enable function tracing and profiling. So far, with dynamic ftrace, we >> used to o

Re: [PATCH v4 1/3] KVM: x86: add support for user wait instructions

2019-06-19 Thread Xiaoyao Li
On 6/19/2019 3:01 PM, Tao Xu wrote: On 6/19/2019 2:23 PM, Xiaoyao Li wrote: On 6/19/2019 2:09 PM, Tao Xu wrote: UMONITOR, UMWAIT and TPAUSE are a set of user wait instructions. This patch adds support for user wait instructions in KVM. Availability of the user wait instructions is indicated b

RE: [PATCHv5 10/20] PCI: mobiveil: Fix the INTx process errors

2019-06-19 Thread Z.q. Hou
Hi Karthikeyan, > -Original Message- > From: Karthikeyan Mitran [mailto:m.karthike...@mobiveil.co.in] > Sent: 2019年6月19日 13:29 > To: Lorenzo Pieralisi > Cc: Z.q. Hou ; linux-...@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel

[PATCH] media: atmel: atmel-isc: fix i386 build error

2019-06-19 Thread Eugen.Hristev
From: Eugen Hristev ld: drivers/media/platform/atmel/atmel-isc-base.o:(.bss+0x0): multiple definition of `debug'; arch/x86/entry/entry_32.o:(.entry.text+0x21ac): first defined here Changed module parameters to static. Reported-by: kbuild test robot Signed-off-by: Eugen Hristev --- Hello Ha

Re: [PATCH 3/4] powerpc/powernv: remove dead NPU DMA code

2019-06-19 Thread Christoph Hellwig
On Wed, Jun 19, 2019 at 10:34:54AM +1000, Alexey Kardashevskiy wrote: > > > On 23/05/2019 17:49, Christoph Hellwig wrote: > > None of these routines were ever used since they were added to the > > kernel. > > > It is still being used exactly in the way as it was explained before in > previous r

[tip:x86/urgent] x86/microcode: Fix the microcode load on CPU hotplug for real

2019-06-19 Thread tip-bot for Thomas Gleixner
Commit-ID: 5423f5ce5ca410b3646f355279e4e937d452e622 Gitweb: https://git.kernel.org/tip/5423f5ce5ca410b3646f355279e4e937d452e622 Author: Thomas Gleixner AuthorDate: Tue, 18 Jun 2019 22:31:40 +0200 Committer: Borislav Petkov CommitDate: Wed, 19 Jun 2019 09:16:35 +0200 x86/microcode: Fix

Review request for edac: ie31200: Add Intel Corporation 3rd Gen Core processor

2019-06-19 Thread Jiping Ma
Hi, Jason Baron Could you help to check if we can support Intel Corporation 3rd Gen Core processor in driver ie31200? It is tested by our customer. Test result is accepted by the customer. Summary: EDAC, ie31200: Add Intel Corporation 3rd Gen Core processor commit 9a5001c8840928c3b51bc330a0

[PATCH] EDAC, ie31200: Add Intel Corporation 3rd Gen Core processor

2019-06-19 Thread Jiping Ma
3rd Gen Core seems to work just like Skylake. Signed-off-by: Jiping Ma --- drivers/edac/ie31200_edac.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/edac/ie31200_edac.c b/drivers/edac/ie31200_edac.c index aac9b9b..1445336 100644 --- a/drivers/edac/ie31200_edac.c +++ b/drivers/

Re: [PATCH v2] RISC-V: Break load reservations during switch_to

2019-06-19 Thread Mark Rutland
On Fri, Jun 07, 2019 at 03:22:22PM -0700, Palmer Dabbelt wrote: > The comment describes why in detail. This was found because QEMU never > gives up load reservations, the issue is unlikely to manifest on real > hardware. > > Thanks to Carlos Eduardo for finding the bug! > @@ -330,6 +330,17 @@ EN

Re: [PATCH v13 3/3] dt-bindings: mfd: Document Renesas R-Car Gen3 RPC-IF controller bindings

2019-06-19 Thread masonccyang
Hi Marek, > Subject > > Re: [PATCH v13 3/3] dt-bindings: mfd: Document Renesas R-Car Gen3 RPC-IF > controller bindings > > On 6/6/19 9:40 AM, masonccy...@mxic.com.tw wrote: > [...] > > > RPC-IF works either in SPI or HyperFlash is decided by external hardware > > pins > > configuration

[PATCHv2] clk: add imx8 clk defines

2019-06-19 Thread Oliver Graute
From: Oliver Graute added header defines for imx8qm clock Signed-off-by: Oliver Graute --- include/dt-bindings/clock/imx8qm-clock.h | 851 +++ 1 file changed, 851 insertions(+) create mode 100644 include/dt-bindings/clock/imx8qm-clock.h diff --git a/include/dt-bindings/cl

[PATCHv2] clk: add imx8 clk defines

2019-06-19 Thread Oliver Graute
From: Oliver Graute added header defines for imx8qm clock Signed-off-by: Oliver Graute --- include/dt-bindings/clock/imx8qm-clock.h | 851 +++ 1 file changed, 851 insertions(+) create mode 100644 include/dt-bindings/clock/imx8qm-clock.h diff --git a/include/dt-bindings/cl

Re: [PATCH 5/5] Powerpc/Watchpoint: Fix length calculation for unaligned target

2019-06-19 Thread Ravi Bangoria
On 6/18/19 7:02 PM, Michael Neuling wrote: > On Tue, 2019-06-18 at 09:57 +0530, Ravi Bangoria wrote: >> Watchpoint match range is always doubleword(8 bytes) aligned on >> powerpc. If the given range is crossing doubleword boundary, we >> need to increase the length such that next doubleword also

Re: [PATCH 0/5] Powerpc/hw-breakpoint: Fixes plus Code refactor

2019-06-19 Thread Ravi Bangoria
On 6/18/19 11:47 AM, Michael Neuling wrote: > On Tue, 2019-06-18 at 08:01 +0200, Christophe Leroy wrote: >> >> Le 18/06/2019 à 06:27, Ravi Bangoria a écrit : >>> patch 1-3: Code refactor >>> patch 4: Speedup disabling breakpoint >>> patch 5: Fix length calculation for unaligned targets >> >> Whi

[PATCH 2/4] arch: Add generic asid implement from arm

2019-06-19 Thread guoren
From: Guo Ren The asid code is from arm64 and here is the ref link: https://lore.kernel.org/linux-arm-kernel/20190321163623.20219-12-julien.gr...@arm.com/ Seems it's good for other arch to implement asid. Signed-off-by: Guo Ren --- arch/csky/include/asm/asid.h | 77 ++ arch/c

[PATCH 0/4] csky: Use generic asid function from arm

2019-06-19 Thread guoren
From: Guo Ren Julien Grall plan to seperate asid allocator into generic and vmid and other architectures could use it. ref: https://lore.kernel.org/linux-arm-kernel/20190321163623.20219-1-julien.gr...@arm.com/ For C-SKY the first implementation is from mips and it's not implemented well for SMP

[PATCH 1/4] csky: Revert mmu ASID mechanism

2019-06-19 Thread guoren
From: Guo Ren Current C-SKY ASID mechanism is from mips and it doesn't work well in a multi-core case. ASID per core mechanism is not suitable for C-SKY SMP tlb maintain operations, eg: tlbi.vas need share the same asid in all processors and it'll invalid the tlb entry in all cores with the same

[PATCH 3/4] csky: Use generic asid algorithm to implement switch_mm

2019-06-19 Thread guoren
From: Guo Ren Use linux generic asid/vmid algorithm to implement csky switch_mm function. The algorithm is from arm and it could work with SMP system. It'll help reduce tlb flush for switch_mm in task/vm switch. Signed-off-by: Guo Ren Cc: Julien Grall Cc: Arnd Bergmann --- arch/csky/abiv1/in

[PATCH 4/4] csky: Improve tlb operation with help of asid

2019-06-19 Thread guoren
From: Guo Ren There are two generations of tlb operation instruction for C-SKY. First generation is use mcr register and it need software do more things, second generation is use specific instructions, eg: tlbi.va, tlbi.vas, tlbi.alls We implemented the following functions: - flush_tlb_range

[PATCH 1/1] scsi: virtio_scsi: remove unused 'affinity_hint_set'

2019-06-19 Thread Dongli Zhang
The 'affinity_hint_set' is not used any longer since commit 0d9f0a52c8b9 ("virtio_scsi: use virtio IRQ affinity"). Signed-off-by: Dongli Zhang --- drivers/scsi/virtio_scsi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c index 13f1b3

Re: linux-next: Fixes tags need some work in the staging.current tree

2019-06-19 Thread Jonathan Cameron
On Tue, 18 Jun 2019 13:51:31 +0200 Greg KH wrote: > On Tue, Jun 18, 2019 at 07:36:18AM +1000, Stephen Rothwell wrote: > > Hi all, > > > > In commit > > > > 0c75376fa395 ("counter/ftm-quaddec: Add missing dependencies in Kconfig") > > > > Fixes tag > > > > Fixes: a3b9a99 ("counter: add Fle

Re: [PATCH 5/7] powerpc/ftrace: Update ftrace_location() for powerpc -mprofile-kernel

2019-06-19 Thread Naveen N. Rao
Steven Rostedt wrote: On Tue, 18 Jun 2019 23:53:11 +0530 "Naveen N. Rao" wrote: Naveen N. Rao wrote: > Steven Rostedt wrote: >> On Tue, 18 Jun 2019 20:17:04 +0530 >> "Naveen N. Rao" wrote: >> >>> @@ -1551,7 +1551,7 @@ unsigned long ftrace_location_range(unsigned long start, unsigned lon

Re: [PATCH] mailbox: tegra-hsp: mark PM functions as __maybe_unused

2019-06-19 Thread Anders Roxell
On Thu, 10 Jan 2019 at 09:16, Thierry Reding wrote: > > On Tue, Jan 08, 2019 at 03:37:13PM +0100, Anders Roxell wrote: > > Without CONFIG_PM_SLEEP, we get annoying warnings about unused > > functions: > > > > drivers/mailbox/tegra-hsp.c:782:12: warning: ‘tegra_hsp_resume’ defined but > > not used

Re: [PATCH] ubsan: mark ubsan_type_mismatch_common inline

2019-06-19 Thread Peter Zijlstra
On Tue, Jun 18, 2019 at 05:06:39PM +0200, Arnd Bergmann wrote: > On Tue, Jun 18, 2019 at 3:59 PM Peter Zijlstra wrote: > > On Tue, Jun 18, 2019 at 04:27:45PM +0300, Andrey Ryabinin wrote: > > > On 6/18/19 3:56 PM, Arnd Bergmann wrote: > > > > On Mon, Jun 17, 2019 at 4:02 PM Peter Zijlstra > > >

Re: [PATCH] mailbox: tegra-hsp: mark PM functions as __maybe_unused

2019-06-19 Thread Anders Roxell
On Wed, 19 Jun 2019 at 09:56, Anders Roxell wrote: > > On Thu, 10 Jan 2019 at 09:16, Thierry Reding wrote: > > > > On Tue, Jan 08, 2019 at 03:37:13PM +0100, Anders Roxell wrote: > > > Without CONFIG_PM_SLEEP, we get annoying warnings about unused > > > functions: > > > > > > drivers/mailbox/tegra

Re: [PATCH] media: atmel: atmel-isc: fix i386 build error

2019-06-19 Thread Sakari Ailus
Hi Eugen, On Wed, Jun 19, 2019 at 07:24:41AM +, eugen.hris...@microchip.com wrote: > From: Eugen Hristev > > ld: drivers/media/platform/atmel/atmel-isc-base.o:(.bss+0x0): multiple > definition of `debug'; arch/x86/entry/entry_32.o:(.entry.text+0x21ac): first > defined here > > Changed mod

Re: [PATCH] sparc: Remove redundant copy of the LGPL-2.0

2019-06-19 Thread Anatoly Pugachev
On Thu, Jun 13, 2019 at 03:14:56PM -0700, David Miller wrote: > > On 13/06/2019, David Miller wrote: > >> From: Thomas Huth > >> Date: Mon, 27 May 2019 18:32:53 +0200 > >> > >>> We already provide the LGPL-2.0 text in LICENSES/preferred/LGPL-2.0, > >>> so there is no need for this additional copy

Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND controller

2019-06-19 Thread masonccyang
Hi Boris, > > Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND controller > > On Tue, 18 Jun 2019 08:14:36 +0200 > Boris Brezillon wrote: > > > > > > > > > > > > > > > How to make all #CS keep high for NAND to enter > > > > > > > low-power standby mode if driver don't use "legac

[PATCH] mm: vmscan: fix not scanning anonymous pages when detecting file refaults

2019-06-19 Thread Kuo-Hsin Yang
When file refaults are detected and there are many inactive file pages, the system never reclaim anonymous pages, the file pages are dropped aggressively when there are still a lot of cold anonymous pages and system thrashes. This issue impacts the performance of applications with large executable,

[tip:WIP.x86/ipi 3/11] arch/x86/kernel/nmi.c:515:46: error: 'cpu_is_dead' undeclared; did you mean 'cpuid_eax'?

2019-06-19 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/ipi head: 0663387727c00bb25ce1e76f30deb6b193f591f8 commit: 8adde844ea4f8d0d147e0ad6c675970a58550bae [3/11] x86/hotplug: Silence APIC and NMI when CPU is dead config: i386-tinyconfig (attached as .config) compiler: gcc-7

Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND controller

2019-06-19 Thread Miquel Raynal
Hi Mason, masonccy...@mxic.com.tw wrote on Wed, 19 Jun 2019 16:04:43 +0800: > Hi Boris, > > > > > Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND controller > > > > On Tue, 18 Jun 2019 08:14:36 +0200 > > Boris Brezillon wrote: > > > > > > > > > > > > > > > > > > How to make all

Re: [PATCH 1/2] scsi_host: add support for request batching

2019-06-19 Thread Hannes Reinecke
On 5/30/19 1:28 PM, Paolo Bonzini wrote: > This allows a list of requests to be issued, with the LLD only writing > the hardware doorbell when necessary, after the last request was prepared. > This is more efficient if we have lists of requests to issue, particularly > on virtualized hardware, wher

Re: [PATCH] ARC: ARCv2: jump label: implement jump label patching

2019-06-19 Thread Peter Zijlstra
On Tue, Jun 18, 2019 at 04:16:20PM +, Vineet Gupta wrote: > > +/* > > + * To make atomic update of patched instruction available we need to > > guarantee > > + * that this instruction doesn't cross L1 cache line boundary. > > + * Oh urgh. Is that the only way ARC can do text patching? We've

[tip:WIP.x86/ipi 8/11] arch/x86/kernel/apic/ipi.c:48:6: error: redefinition of 'apic_smt_update'

2019-06-19 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/ipi head: 0663387727c00bb25ce1e76f30deb6b193f591f8 commit: b3b483a0796da8f2c0d91b8594ef0ae593ec29fb [8/11] x86/apic: Add static key to Control IPI shorthands config: x86_64-randconfig-x015-201924 (attached as .config) co

Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND controller

2019-06-19 Thread Boris Brezillon
On Wed, 19 Jun 2019 16:04:43 +0800 masonccy...@mxic.com.tw wrote: > Hi Boris, > > > > > Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND controller > > > > On Tue, 18 Jun 2019 08:14:36 +0200 > > Boris Brezillon wrote: > > > > > > > > > > > > > > > > > > How to make all #CS keep h

Re: [PATCH V3 11/17] clk: tegra210: support for Tegra210 clocks suspend and resume

2019-06-19 Thread Thierry Reding
On Tue, Jun 18, 2019 at 10:58:40AM -0700, Sowjanya Komatineni wrote: > > On 6/18/19 5:16 AM, Thierry Reding wrote: > > On Tue, Jun 18, 2019 at 12:46:25AM -0700, Sowjanya Komatineni wrote: > > > This patch adds system suspend and resume support for Tegra210 > > > clocks. > > > > > > All the CAR co

Re: [PATCH v5 02/10] [media] marvell-ccic: fix DMA s/g desc number calculation

2019-06-19 Thread Lubomir Rintel
On Fri, 2019-06-14 at 11:41 +0200, Jacopo Mondi wrote: > Hi Lubomir, > > On Sun, May 05, 2019 at 04:00:23PM +0200, Lubomir Rintel wrote: > > The commit d790b7eda953 ("[media] vb2-dma-sg: move dma_(un)map_sg here") > > left dma_desc_nent unset. It previously contained the number of DMA > > descript

Re: [PATCH] usbip: Implement map_urb_for_dma function for vhci to skip dma mapping

2019-06-19 Thread Suwan Kim
On Tue, Jun 18, 2019 at 11:30:34AM -0400, Alan Stern wrote: > On Tue, 18 Jun 2019, Suwan Kim wrote: > > > vhci doesn’t do dma for remote device. Actually, the real dma > > operation is done by network card driver. So, vhci doesn’t use and > > need dma address of transfer buffer of urb. > > > > Bu

Re: [PATCH] mm: mempolicy: handle vma with unmovable pages mapped correctly in mbind

2019-06-19 Thread Vlastimil Babka
On 6/18/19 7:06 PM, Yang Shi wrote: > The BUG_ON was removed by commit > d44d363f65780f2ac2ec672164555af54896d40d ("mm: don't assume anonymous > pages have SwapBacked flag") since 4.12. Perhaps that commit should be sent to stable@ ? Although with VM_BUG_ON() this is less critical than plain BUG

Re: [PATCH v3 2/8] clocksource/drivers/tegra: Remove duplicated use of per_cpu_ptr

2019-06-19 Thread Thierry Reding
On Tue, Jun 18, 2019 at 05:03:52PM +0300, Dmitry Osipenko wrote: > It was left unnoticed by accident, which means that the code could be > cleaned up a tad more. > > Acked-by: Jon Hunter > Signed-off-by: Dmitry Osipenko > --- > drivers/clocksource/timer-tegra.c | 42 ++--

Re: [PATCH v3 1/8] clocksource/drivers/tegra: Restore timer rate on Tegra210

2019-06-19 Thread Thierry Reding
On Tue, Jun 18, 2019 at 05:03:51PM +0300, Dmitry Osipenko wrote: > The clocksource rate is initialized only for the first per-CPU clocksource > and then that rate shall be replicated for the rest of clocksource's > because they are initialized manually in the code. > > Fixes: 3be2a85a0b61 ("clocks

Re: [PATCH v3 4/8] clocksource/drivers/tegra: Drop unneeded typecasting in one place

2019-06-19 Thread Thierry Reding
On Tue, Jun 18, 2019 at 05:03:54PM +0300, Dmitry Osipenko wrote: > There is no need to cast void because kernel allows to do that without > a warning message from a compiler. > > Acked-by: Jon Hunter > Signed-off-by: Dmitry Osipenko > --- > drivers/clocksource/timer-tegra.c | 2 +- > 1 file cha

Re: [PATCH v3 5/8] clocksource/drivers/tegra: Add verbose definition for 1MHz constant

2019-06-19 Thread Thierry Reding
On Tue, Jun 18, 2019 at 05:03:55PM +0300, Dmitry Osipenko wrote: > Convert all 1MHz literals to a verbose constant for better readability. > > Suggested-by: Daniel Lezcano > Acked-by: Jon Hunter > Signed-off-by: Dmitry Osipenko > --- > drivers/clocksource/timer-tegra.c | 12 +++- > 1 f

[no subject]

2019-06-19 Thread Системный администратор .
ВНИМАНИЕ; В вашем почтовом ящике превышен лимит хранилища, который составляет 5 ГБ, как определено администратором, который в настоящее время работает на 10,9 ГБ. Возможно, вы не сможете отправлять или получать новую почту, пока вы не подтвердите свою почту. Чтобы подтвердить свой почтовый ящик

Re: [PATCH v3 3/8] clocksource/drivers/tegra: Set and use timer's period

2019-06-19 Thread Thierry Reding
On Tue, Jun 18, 2019 at 05:03:53PM +0300, Dmitry Osipenko wrote: > The of_clk structure has a period field that is set up initially by > timer_of_clk_init(), that period value need to be adjusted for a case of > TIMER1-9 that are running at a fixed rate that doesn't match the clock's > rate. Note t

Re: [PATCH v3 7/8] clocksource/drivers/tegra: Cycles can't be 0

2019-06-19 Thread Thierry Reding
On Tue, Jun 18, 2019 at 05:03:57PM +0300, Dmitry Osipenko wrote: > Tegra's timer uses n+1 scheme for the counter, i.e. timer will fire after > one tick if 0 is loaded. The minimum and maximum numbers of oneshot ticks > are defined by clockevents_config_and_register(min, max) invocation and > the mi

Re: [PATCH v3 6/8] clocksource/drivers/tegra: Restore base address before cleanup

2019-06-19 Thread Thierry Reding
On Tue, Jun 18, 2019 at 05:03:56PM +0300, Dmitry Osipenko wrote: > We're adjusting the timer's base for each per-CPU timer to point to the > actual start of the timer since device-tree defines a compound registers > range that includes all of the timers. In this case the original base > need to be

Re: [PATCH v3 8/8] clocksource/drivers/tegra: Set up maximum-ticks limit properly

2019-06-19 Thread Thierry Reding
On Tue, Jun 18, 2019 at 05:03:58PM +0300, Dmitry Osipenko wrote: > Tegra's timer has 29 bits for the counter and for the "load" register > which sets counter to a load-value. The counter's value is lower than > the actual value by 1 because it starts to decrement after one tick, > hence the maximum

Re: bcachefs status update (it's done cooking; let's get this sucker merged)

2019-06-19 Thread Jan Kara
On Thu 13-06-19 09:02:24, Dave Chinner wrote: > On Wed, Jun 12, 2019 at 12:21:44PM -0400, Kent Overstreet wrote: > > This would simplify things a lot and eliminate a really nasty corner case - > > page > > faults trigger readahead. Even if the buffer and the direct IO don't > > overlap, > > reada

[tip:WIP.x86/ipi 3/11] arch/x86//kernel/nmi.c:515:32: note: in expansion of macro 'this_cpu_read'

2019-06-19 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/ipi head: 0663387727c00bb25ce1e76f30deb6b193f591f8 commit: 8adde844ea4f8d0d147e0ad6c675970a58550bae [3/11] x86/hotplug: Silence APIC and NMI when CPU is dead config: i386-randconfig-x009-201924 (attached as .config) comp

Re: [PATCH] mm: mempolicy: handle vma with unmovable pages mapped correctly in mbind

2019-06-19 Thread Vlastimil Babka
On 6/19/19 7:21 AM, Michal Hocko wrote: > On Tue 18-06-19 14:13:16, Yang Shi wrote: > [...] >> >> I used to have !__PageMovable(page), but it was removed since the >> aforementioned reason. I could add it back. >> >> For the temporary off LRU page, I did a quick search, it looks the most >> paths h

RE: [PATCH v2] mei: no need to check return value of debugfs_create functions

2019-06-19 Thread Winkler, Tomas
> > When calling debugfs functions, there is no need to ever check the return > value. The function can work or not, but the code logic should never do > something different based on this. Maybe need to mention that API has changed in patch ' ff9fb72bc07705c00795ca48631f7fffe24d2c6b' in 5.0 an

Re: Linux behaviour problems comes down to GNU idol based on Morphine Psychosis

2019-06-19 Thread Ywe Cærlyn
Yes, then I think we have solved the behavioural problem of Linux, and it seems to come down to the GNU idol, that seems based on Morphine Psychosis. And such the worst Stallman fans, have irate behaviour. And much have pointed to that already, and much criticism done, and indeed the GNU idol s

[PATCH v3] platform/x86: intel_pmc_core: transform Pkg C-state residency from TSC ticks into microseconds

2019-06-19 Thread Harry Pan
Refer to the Intel SDM Vol.4, the package C-state residency counters of modern IA micro-architecture are all ticking in TSC frequency, hence we can apply simple math to transform the ticks into microseconds. i.e., residency (ms) = count / tsc_khz residency (us) = count / tsc_khz * 1000 This also a

RE: [PATCH v2 1/6] net: macb: add phylink support

2019-06-19 Thread Parshuram Raju Thombare
Hi Andrew, Sure, I will Cc Russel King in next version of patch series. Regards, Parshuram Thombare >-Original Message- >From: Andrew Lunn >Sent: Wednesday, June 19, 2019 3:03 AM >To: Parshuram Raju Thombare >Cc: nicolas.fe...@microchip.com; da...@davemloft.net; >f.faine...@gmail.com;

Re: [PATCH] PM: suspend: Rename pm_suspend_via_s2idle()

2019-06-19 Thread Rafael J. Wysocki
On Wed, Jun 19, 2019 at 2:19 AM Dmitry Torokhov wrote: > > Hi Rafael, > > On Tue, Jun 18, 2019 at 10:18:28AM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The name of pm_suspend_via_s2idle() is confusing, as it doesn't > > reflect the purpose of the function precisely enough

Re: [PATCH V3 02/17] pinctrl: tegra: add suspend and resume support

2019-06-19 Thread Thierry Reding
On Tue, Jun 18, 2019 at 11:00:05PM +0300, Dmitry Osipenko wrote: > 18.06.2019 20:34, Sowjanya Komatineni пишет: > > > > On 6/18/19 9:50 AM, Sowjanya Komatineni wrote: > >> > >> On 6/18/19 8:41 AM, Stephen Warren wrote: > >>> On 6/18/19 3:30 AM, Dmitry Osipenko wrote: > 18.06.2019 12:22, Dmitr

Re: [PATCH V3 02/17] pinctrl: tegra: add suspend and resume support

2019-06-19 Thread Thierry Reding
On Tue, Jun 18, 2019 at 09:41:03AM -0600, Stephen Warren wrote: > On 6/18/19 3:30 AM, Dmitry Osipenko wrote: > > 18.06.2019 12:22, Dmitry Osipenko пишет: > > > 18.06.2019 10:46, Sowjanya Komatineni пишет: > > > > This patch adds suspend and resume support for Tegra pinctrl driver > > > > and regist

Re: [alsa-devel] [PATCH v2 09/11] ASoC: Intel: hdac_hdmi: Set ops to NULL on remove

2019-06-19 Thread Amadeusz Sławiński
On Tue, 18 Jun 2019 08:58:22 -0700 Ranjani Sridharan wrote: > On Tue, 2019-06-18 at 13:00 +0200, Amadeusz Sławiński wrote: > > On Mon, 17 Jun 2019 13:51:42 -0700 > > Ranjani Sridharan wrote: > > > > > On Mon, 2019-06-17 at 13:36 +0200, Amadeusz Sławiński wrote: > > > > When we unload Skylak

Re: [PATCH v5 0/3] Make IPA use PM_EM

2019-06-19 Thread Quentin Perret
On Thursday 30 May 2019 at 10:20:35 (+0100), Quentin Perret wrote: > Quentin Perret (3): > arm64: defconfig: Enable CONFIG_ENERGY_MODEL > thermal: cpu_cooling: Make the power-related code depend on IPA > thermal: cpu_cooling: Migrate to using the EM framework > > arch/arm64/configs/defconfi

Re: Alternatives to /sys/kernel/debug/wakeup_sources

2019-06-19 Thread Rafael J. Wysocki
On Wed, Jun 19, 2019 at 1:52 AM Joel Fernandes wrote: > > On Tue, Jun 18, 2019 at 7:15 PM Tri Vo wrote: > [snip] > > > > > > > > > > > > Android userspace reading wakeup_sources is not ideal because: > > > > > > - Debugfs API is not stable, i.e. Android tools built on top of it > > > > > > are >

[PATCH v2 0/5] net: macb: cover letter

2019-06-19 Thread Parshuram Thombare
Hello !, This is second version of patch set containing following patches for Cadence ethernet controller driver. 1. 0001-net-macb-add-phylink-support.patch Replace phylib API's with phylink API's. 2. 0002-net-macb-add-support-for-sgmii-MAC-PHY-interface.patch This patch add support for SGM

[PATCH v2 2/5] net: macb: add support for sgmii MAC-PHY interface

2019-06-19 Thread Parshuram Thombare
This patch add support for SGMII interface) and 2.5Gbps MAC in Cadence ethernet controller driver. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 76 ++-- drivers/net/ethernet/cadence/macb_main.c | 151 --- 2 files changed, 200 inser

[PATCH v2 3/5] net: macb: add support for c45 PHY

2019-06-19 Thread Parshuram Thombare
This patch modify MDIO read/write functions to support communication with C45 PHY. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 15 -- drivers/net/ethernet/cadence/macb_main.c | 61 +++- 2 files changed, 61 insertions(+), 15 deletions(-

[PATCH v2 1/5] net: macb: add phylink support

2019-06-19 Thread Parshuram Thombare
This patch replace phylib API's by phylink API's. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/Kconfig | 2 +- drivers/net/ethernet/cadence/macb.h | 3 + drivers/net/ethernet/cadence/macb_main.c | 312 +-- 3 files changed, 182 insertions(+),

RE: [PATCH 3/3] mmc: sdhci-of-arasan: Add support for ZynqMP Platform Tap Delays Setup

2019-06-19 Thread Manish Narani
Hi Uffe, > -Original Message- > From: Ulf Hansson > Sent: Monday, June 17, 2019 5:51 PM [...] > > The "const struct zynqmp_eemi_ops *eemi_ops; should then be moved into > a clock provider specific struct, which is assigned when calling > sdhci_arasan_register_sdclk. I understand that al

Re: [PATCH V3 02/17] pinctrl: tegra: add suspend and resume support

2019-06-19 Thread Dmitry Osipenko
19.06.2019 11:31, Thierry Reding пишет: > On Tue, Jun 18, 2019 at 11:00:05PM +0300, Dmitry Osipenko wrote: >> 18.06.2019 20:34, Sowjanya Komatineni пишет: >>> >>> On 6/18/19 9:50 AM, Sowjanya Komatineni wrote: On 6/18/19 8:41 AM, Stephen Warren wrote: > On 6/18/19 3:30 AM, Dmitry Osip

[PATCH v2 4/5] net: macb: add support for high speed interface

2019-06-19 Thread Parshuram Thombare
This patch add support for high speed USXGMII PCS and 10G speed in Cadence ethernet controller driver. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 41 + drivers/net/ethernet/cadence/macb_main.c | 216 +++ 2 files changed, 218 insertio

[PATCH v2 5/5] net: macb: parameter added to cadence ethernet controller DT binding

2019-06-19 Thread Parshuram Thombare
New parameters added to Cadence ethernet controller DT binding for USXGMII interface. Signed-off-by: Parshuram Thombare --- Documentation/devicetree/bindings/net/macb.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/device

Re: [PATCH 4.19 00/75] 4.19.53-stable review

2019-06-19 Thread Jon Hunter
On 17/06/2019 22:09, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.53 release. > There are 75 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 5.1 000/115] 5.1.12-stable review

2019-06-19 Thread Jon Hunter
On 17/06/2019 22:08, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.1.12 release. > There are 115 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: [RFC net-next 1/5] net: stmmac: introduce IEEE 802.1Qbv configuration functionalities

2019-06-19 Thread Voon, Weifeng
> > +static int est_poll_srwo(void *ioaddr) { > > + /* Poll until the EST GCL Control[SRWO] bit clears. > > +* Total wait = 12 x 50ms ~= 0.6s. > > +*/ > > + unsigned int retries = 12; > > + unsigned int value; > > + > > + do { > > + value = TSN_RD32(ioaddr + MTL_EST_GCL_CT

Re: [PATCH 4.14 00/53] 4.14.128-stable review

2019-06-19 Thread Jon Hunter
On 17/06/2019 22:09, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.128 release. > There are 53 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 v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND controller

2019-06-19 Thread masonccyang
Hi Miquel, > > > > > > Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND controller > > > > > > On Tue, 18 Jun 2019 08:14:36 +0200 > > > Boris Brezillon wrote: > > > > > > > > > > > > > > > > > > > > > How to make all #CS keep high for NAND to enter > > > > > > > > > low-power st

Re: linux-next: build failure after merge of the net-next tree

2019-06-19 Thread Kevin 'ldir' Darbyshire-Bryant
Greetings! As the guilty party in authoring this, and also pretty new around here I’m wondering what I need to do to help clean it up? > On 19 Jun 2019, at 05:14, Masahiro Yamada > wrote: > > On Wed, Jun 19, 2019 at 1:02 PM Masahiro Yamada > wrote: >> >> Hi. >> >> >> On Wed, Jun 19, 2019 a

Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND controller

2019-06-19 Thread masonccyang
Hi Boris, > > > > > > Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND controller > > > > > > On Tue, 18 Jun 2019 08:14:36 +0200 > > > Boris Brezillon wrote: > > > > > > > > > > > > > > > > > > > > > How to make all #CS keep high for NAND to enter > > > > > > > > > low-power sta

Re: [PATCH V3 02/17] pinctrl: tegra: add suspend and resume support

2019-06-19 Thread Thierry Reding
On Wed, Jun 19, 2019 at 10:33:08AM +0200, Thierry Reding wrote: > On Tue, Jun 18, 2019 at 09:41:03AM -0600, Stephen Warren wrote: > > On 6/18/19 3:30 AM, Dmitry Osipenko wrote: > > > 18.06.2019 12:22, Dmitry Osipenko пишет: > > > > 18.06.2019 10:46, Sowjanya Komatineni пишет: > > > > > This patch a

Re: [PATCH V2] i2c: tegra: disable irq in tegra_i2c_xfer_msg

2019-06-19 Thread Jon Hunter
On 18/06/2019 19:26, Dmitry Osipenko wrote: > 18.06.2019 11:42, Bitan Biswas пишет: >> tegra_i2c_xfer_msg initiates the I2C transfer in DMA >> or PIO mode. It involves steps that need FIFO register >> access, DMA API calls like dma_sync_single_for_device, etc. >> Tegra I2C ISR has calls to tegra_

[PATCH] ext4: remove redundant assignment to node

2019-06-19 Thread Colin King
From: Colin Ian King Pointer 'node' is assigned a value that is never read, node is later overwritten when it re-assigned a different value inside the while-loop. The assignment is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- fs/ext4/ext

Re: [PATCH V2] i2c: tegra: disable irq in tegra_i2c_xfer_msg

2019-06-19 Thread Dmitry Osipenko
19.06.2019 11:58, Jon Hunter пишет: > > On 18/06/2019 19:26, Dmitry Osipenko wrote: >> 18.06.2019 11:42, Bitan Biswas пишет: >>> tegra_i2c_xfer_msg initiates the I2C transfer in DMA >>> or PIO mode. It involves steps that need FIFO register >>> access, DMA API calls like dma_sync_single_for_device

Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND controller

2019-06-19 Thread Boris Brezillon
On Wed, 19 Jun 2019 16:55:52 +0800 masonccy...@mxic.com.tw wrote: > Hi Boris, > > > > > > > > > Re: [PATCH v3 2/4] mtd: rawnand: Add Macronix MX25F0A NAND > controller > > > > > > > > On Tue, 18 Jun 2019 08:14:36 +0200 > > > > Boris Brezillon wrote: > > > > > > > > > > > > > > > > > > >

Re: [PATCH v2 1/1] cpuidle-powernv : forced wakeup for stop states

2019-06-19 Thread Abhishek
Hi Nick, Thanks for the review. Some replies below. On 06/19/2019 09:53 AM, Nicholas Piggin wrote: Abhishek Goel's on June 17, 2019 7:56 pm: Currently, the cpuidle governors determine what idle state a idling CPU should enter into based on heuristics that depend on the idle history on that CPU

Re: [PATCH V2] i2c: tegra: disable irq in tegra_i2c_xfer_msg

2019-06-19 Thread Dmitry Osipenko
19.06.2019 12:02, Dmitry Osipenko пишет: > 19.06.2019 11:58, Jon Hunter пишет: >> >> On 18/06/2019 19:26, Dmitry Osipenko wrote: >>> 18.06.2019 11:42, Bitan Biswas пишет: tegra_i2c_xfer_msg initiates the I2C transfer in DMA or PIO mode. It involves steps that need FIFO register acces

Re: [PATCH v5 04/14] soc: mediatek: Refactor polling timeout and documentation

2019-06-19 Thread Weiyi Lu
On Tue, 2019-03-19 at 19:45 +0800, Nicolas Boichat wrote: > On Tue, Mar 19, 2019 at 4:02 PM Weiyi Lu wrote: > > > > Use USEC_PER_SEC to indicate the polling timeout directly. > > And add documentation of scp_domain_data. > > > > Signed-off-by: Weiyi Lu > > --- > > drivers/soc/mediatek/mtk-scpsys

Re: [PATCH RFC 11/14] arm64: Move the ASID allocator code in a separate file

2019-06-19 Thread Will Deacon
On Wed, Jun 19, 2019 at 09:54:21AM +0100, Julien Grall wrote: > On 6/19/19 9:07 AM, Guo Ren wrote: > > You forgot CCing C-SKY folks :P > > I wasn't aware you could be interested :). > > > Move arm asid allocator code in a generic one is a agood idea, I've > > made a patchset for C-SKY and test is

Re: [PATCH v2 1/2] ACPI/PPTT: Add support for ACPI 6.3 thread flag

2019-06-19 Thread John Garry
On 18/06/2019 22:28, Jeremy Linton wrote: Hi, On 6/18/19 12:23 PM, John Garry wrote: On 18/06/2019 15:40, Valentin Schneider wrote: On 18/06/2019 15:21, Jeremy Linton wrote: [...] + * Return: -ENOENT if the PPTT doesn't exist, the CPU cannot be found or + * the table revision isn't new

Re: [PATCH V3 4/5] cpufreq: Register notifiers with the PM QoS framework

2019-06-19 Thread Rafael J. Wysocki
On Wed, Jun 19, 2019 at 8:39 AM Viresh Kumar wrote: > > On 19-06-19, 00:23, Rafael J. Wysocki wrote: > > In patch [3/5] you could point notifiers for both min and max freq to the > > same > > notifier head. Both of your notifiers end up calling > > cpufreq_update_policy() > > anyway. > > I tri

Re: [PATCH 10/21] tracing/probe: Split trace_event related data from trace_probe

2019-06-19 Thread Steven Rostedt
On Wed, 19 Jun 2019 11:28:22 +0900 Masami Hiramatsu wrote: > > BTW, > > > > I pulled in patches 1-9 and I'm starting to test them now. > > Thanks! Should I send 10-21 patches in v2? Yes please. The tests have passed, and I will be pushing them to linux-next soon. But as I'm currently travel

Re: [PATCH v5 06/14] soc: mediatek: Refactor clock control

2019-06-19 Thread Weiyi Lu
On Tue, 2019-03-19 at 20:02 +0800, Nicolas Boichat wrote: > On Tue, Mar 19, 2019 at 4:02 PM Weiyi Lu wrote: > > > > Put clock enable and disable control in separate function. > > > > Signed-off-by: Weiyi Lu > > --- > > drivers/soc/mediatek/mtk-scpsys.c | 49 --- > > 1

Re: [PATCH v2 1/5] net: macb: add phylink support

2019-06-19 Thread Russell King - ARM Linux admin
On Wed, Jun 19, 2019 at 09:40:36AM +0100, Parshuram Thombare wrote: > This patch replace phylib API's by phylink API's. > > Signed-off-by: Parshuram Thombare > --- > drivers/net/ethernet/cadence/Kconfig | 2 +- > drivers/net/ethernet/cadence/macb.h | 3 + > drivers/net/ethernet/cade

Re: [PATCH 5/7] powerpc/ftrace: Update ftrace_location() for powerpc -mprofile-kernel

2019-06-19 Thread Steven Rostedt
On Wed, 19 Jun 2019 13:26:37 +0530 "Naveen N. Rao" wrote: > > In include/ftrace.h: > > > > #ifndef FTRACE_IP_EXTENSION > > # define FTRACE_IP_EXTENSION0 > > #endif > > > > > > In arch/powerpc/include/asm/ftrace.h > > > > #define FTRACE_IP_EXTENSION MCOUNT_INSN_SIZE > > > > > > Then

Re: [PATCH] sched/core: Fix cpu controller for !RT_GROUP_SCHED

2019-06-19 Thread Michal Koutný
On Wed, Jun 05, 2019 at 04:20:03PM +0200, Michal Koutný wrote: > I considered relaxing the check to non-root cgroups only, however, as > your example shows, it doesn't prevent reaching the avoided state by > other paths. I'm not that familiar with RT sched to tell whether > RT-priority tasks in d

Re: [PATCH v5 07/14] soc: mediatek: Refactor sram control

2019-06-19 Thread Weiyi Lu
On Tue, 2019-03-19 at 20:07 +0800, Nicolas Boichat wrote: > On Tue, Mar 19, 2019 at 4:02 PM Weiyi Lu wrote: > > > > Put sram enable and disable control in separate functions. > > > > Signed-off-by: Weiyi Lu > > Refactoring looks ok, just a small comment. > > Reviewed-by: Nicolas Boichat > > >

  1   2   3   4   5   6   7   8   9   >