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

2019-06-19 Thread Paolo Bonzini
On 19/06/19 09:52, Dongli Zhang wrote: > 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

Re: [PATCH v1] dmaengine: tegra-apb: Support per-burst residue granularity

2019-06-19 Thread Ben Dooks
On 19/06/2019 11:13, Jon Hunter wrote: On 19/06/2019 11:08, Ben Dooks wrote: On 19/06/2019 11:04, Jon Hunter wrote: On 19/06/2019 00:27, Dmitry Osipenko wrote: 19.06.2019 1:22, Ben Dooks пишет: On 13/06/2019 22:08, Dmitry Osipenko wrote: Tegra's APB DMA engine updates words counter after

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

2019-06-19 Thread Nicholas Piggin
Abhishek's on June 19, 2019 7:08 pm: > 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

Re: [PATCH v1] dmaengine: tegra-apb: Support per-burst residue granularity

2019-06-19 Thread Jon Hunter
On 19/06/2019 11:08, Ben Dooks wrote: > On 19/06/2019 11:04, Jon Hunter wrote: >> >> On 19/06/2019 00:27, Dmitry Osipenko wrote: >>> 19.06.2019 1:22, Ben Dooks пишет: On 13/06/2019 22:08, Dmitry Osipenko wrote: > Tegra's APB DMA engine updates words counter after each transferred >

Re: [PATCH v1] dmaengine: tegra-apb: Support per-burst residue granularity

2019-06-19 Thread Ben Dooks
On 19/06/2019 11:04, Jon Hunter wrote: On 19/06/2019 00:27, Dmitry Osipenko wrote: 19.06.2019 1:22, Ben Dooks пишет: On 13/06/2019 22:08, Dmitry Osipenko wrote: Tegra's APB DMA engine updates words counter after each transferred burst of data, hence it can report transfer's residual with

linux-next: build failure after merge of the akpm-current tree

2019-06-19 Thread Stephen Rothwell
Hi all, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from usr/include/linux/byteorder/big_endian.hdrtest.c:1: ./usr/include/linux/byteorder/big_endian.h:6:2: error: #error "Unsupported endianness, check your toolchain"

Re: [PATCH v4] Documentation: Add section about CPU vulnerabilities for Spectre

2019-06-19 Thread Thomas Gleixner
On Tue, 18 Jun 2019, Tim Chen wrote: > Add documentation for Spectre vulnerability and the mitigation mechanisms: > > - Explain the problem and risks > - Document the mitigation mechanisms > - Document the command line controls > - Document the sysfs files > > Co-developed-by: Andi Kleen >

Re: [PATCH v1] dmaengine: tegra-apb: Support per-burst residue granularity

2019-06-19 Thread Jon Hunter
On 19/06/2019 00:27, Dmitry Osipenko wrote: > 19.06.2019 1:22, Ben Dooks пишет: >> On 13/06/2019 22:08, Dmitry Osipenko wrote: >>> Tegra's APB DMA engine updates words counter after each transferred burst >>> of data, hence it can report transfer's residual with more fidelity which >>> may be

Re: [PATCH v4] page cache: Store only head pages in i_pages

2019-06-19 Thread Chris Wilson
Quoting Chris Wilson (2019-06-12 08:42:05) > Quoting Kirill A. Shutemov (2019-06-12 02:46:34) > > On Sun, Jun 02, 2019 at 10:47:35PM +0100, Chris Wilson wrote: > > > Quoting Matthew Wilcox (2019-03-07 15:30:51) > > > > diff --git a/mm/huge_memory.c b/mm/huge_memory.c > > > > index

Re: [PATCH] modules: fix BUG when load module with rodata=n

2019-06-19 Thread Jessica Yu
+++ Yang Yingliang [19/06/19 10:28 +0800]: On 2019/6/18 21:48, Jessica Yu wrote: +++ Yang Yingliang [17/06/19 14:59 +0800]: When loading a module with rodata=n, it causes an executing NX-protected page BUG. [ 32.379191] kernel tried to execute NX-protected page - exploit attempt? (uid:

Re: [PATCH v1 20/22] docs: extcon: move it to acpi dir and convert it to ReST

2019-06-19 Thread Rafael J. Wysocki
On Wed, Jun 19, 2019 at 11:59 AM Rafael J. Wysocki wrote: > > On Tuesday, June 18, 2019 11:05:44 PM CEST Mauro Carvalho Chehab wrote: > > The intel-int3496.txt file is a documentation for an ACPI driver. > > > > There's no reason to keep it on a separate directory. > > > > So, instead of keeping

[PATCH] gpio: Fix return value mismatch of function gpiod_get_from_of_node()

2019-06-19 Thread Waibel Georg
In case the requested gpio property is not found in the device tree, some callers of gpiod_get_from_of_node() expect a return value of NULL, others expect -ENOENT. In particular devm_fwnode_get_index_gpiod_from_child() expects -ENOENT. Currently it gets a NULL, which breaks the loop that tries all

[PATCH net] net: dsa: mv88e6xxx: fix shift of FID bits in mv88e6185_g1_vtu_loadpurge()

2019-06-19 Thread Rasmus Villemoes
The comment is correct, but the code ends up moving the bits four places too far, into the VTUOp field. Fixes: 11ea809f1a74 (net: dsa: mv88e6xxx: support 256 databases) Signed-off-by: Rasmus Villemoes --- drivers/net/dsa/mv88e6xxx/global1_vtu.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH net-next] net: dsa: mv88e6xxx: fix shift of FID bits in mv88e6250_g1_vtu_loadpurge()

2019-06-19 Thread Rasmus Villemoes
The comment is correct, but the code ends up moving the bits four places too far, into the VTUOp field. Fixes: bec8e5725281 (net: dsa: mv88e6xxx: implement vtu_getnext and vtu_loadpurge for mv88e6250) Signed-off-by: Rasmus Villemoes --- drivers/net/dsa/mv88e6xxx/global1_vtu.c | 2 +- 1 file

Re: [PATCH v1 1/6] ASoC: sgtl5000: Fix definition of VAG Ramp Control

2019-06-19 Thread Oleksandr Suvorov
> > From: Marcel Ziswiler > Sent: Thursday, June 13, 2019 12:05 > To: feste...@gmail.com; Oleksandr Suvorov > Cc: Igor Opaniuk; linux-kernel@vger.kernel.org; alsa-de...@alsa-project.org > Subject: Re: [PATCH v1 1/6] ASoC: sgtl5000: Fix definition of VAG

RE: ARC Assembler: bundle_align_mode directive support

2019-06-19 Thread Claudiu Zissulescu
> > And x86 static calls implementation uses '.bundle_align_mode' directive > too. > > Ok then we have a case for pushing for this feature in tools ! Still, I cannot understand how you want to use bundle_align_mode without the align directive.

Re: [PATCH] scsi: scsi_sysfs.c: Hide wwid sdev attr if VPD is not supported

2019-06-19 Thread Hannes Reinecke
On 6/19/19 11:52 AM, Marcos Paulo de Souza wrote: > On Wed, Jun 19, 2019 at 08:34:56AM +0200, Hannes Reinecke wrote: >> On 6/19/19 5:35 AM, Martin K. Petersen wrote: >>> >>> Marcos, >>> WWID composed from VPD data from device, specifically page 0x83. So, when a device does not have VPD

Re: [PATCH v3 07/12] drm/virtio: remove ttm calls from in virtio_gpu_object_{reserve,unreserve}

2019-06-19 Thread Daniel Vetter
On Wed, Jun 19, 2019 at 11:04:15AM +0200, Gerd Hoffmann wrote: > Call reservation_object_* directly instead > of using ttm_bo_{reserve,unreserve}. > > v3: check for EINTR too. > > Signed-off-by: Gerd Hoffmann > Reviewed-by: Daniel Vetter > --- > drivers/gpu/drm/virtio/virtgpu_drv.h | 6 +++---

PCI host bridge hotplug test question (was Re: [PATCH v2] bus: hisi_lpc: Don't use devm_kzalloc() to allocate logical PIO range)

2019-06-19 Thread John Garry
On 18/06/2019 18:50, Bjorn Helgaas wrote: [+cc Rafael, Mika, Jiang, linux-pci for ACPI host bridge hotplug test question] Resend with bouncing addresses removed/fixed On Tue, Jun 18, 2019 at 3:44 AM John Garry wrote: Could you just move the logic_pio_register_range() call farther down in

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

2019-06-19 Thread Naveen N. Rao
Nicholas Piggin wrote: Michael Ellerman's on June 19, 2019 3:14 pm: Hi Naveen, Sorry I meant to reply to this earlier .. :/ No problem. Thanks for the questions. "Naveen N. Rao" writes: With -mprofile-kernel, gcc emits 'mflr r0', followed by 'bl _mcount' to enable function tracing and

[PATCH 0/5] Add missing pwm-cells to STM32 timers PWM

2019-06-19 Thread Fabrice Gasnier
This series adds missing generic 3-cells PWM to STM32 timers dt-bindings, PWM driver, and the relevant dtsi files for STM32F4, STM32F7 and STM32MP1. Fabrice Gasnier (5): dt-bindings: pwm-stm32: add #pwm-cells pwm: stm32: use 3 cells ->of_xlate() ARM: dts: stm32: add pwm cells to stm32mp157c

[PATCH 3/5] ARM: dts: stm32: add pwm cells to stm32mp157c

2019-06-19 Thread Fabrice Gasnier
STM32 Timers support generic 3 cells PWM to encode PWM number, period and polarity. Fixes: 61fc211c484d ("ARM: dts: stm32: add timers support to stm32mp157c") Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32mp157c.dtsi | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 1/5] dt-bindings: pwm-stm32: add #pwm-cells

2019-06-19 Thread Fabrice Gasnier
STM32 Timers support generic 3 cells PWM bindings to encode PWM number, period and polarity as defined in pwm.txt. Fixes: cd9a99c2f8e8 ("dt-bindings: pwm: Add STM32 bindings") Signed-off-by: Fabrice Gasnier --- Documentation/devicetree/bindings/pwm/pwm-stm32.txt | 3 +++ 1 file changed, 3

[PATCH 5/5] ARM: dts: stm32: add pwm cells to stm32f746

2019-06-19 Thread Fabrice Gasnier
STM32 Timers support generic 3 cells PWM to encode PWM number, period and polarity. Fixes: 9bd7b77af8e4 ("ARM: dts: stm32: add Timers driver for stm32f746 MCU") Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32f746.dtsi | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 2/5] pwm: stm32: use 3 cells ->of_xlate()

2019-06-19 Thread Fabrice Gasnier
STM32 Timers support generic 3 cells PWM to encode PWM number, period and polarity. Fixes: 7edf7369205b ("pwm: Add driver for STM32 plaftorm") Signed-off-by: Fabrice Gasnier --- drivers/pwm/pwm-stm32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pwm/pwm-stm32.c

[PATCH 4/5] ARM: dts: stm32: add pwm cells to stm32f429

2019-06-19 Thread Fabrice Gasnier
STM32 Timers support generic 3 cells PWM to encode PWM number, period and polarity. Fixes: c0e14fc712d9 ("ARM: dts: stm32: add Timers driver for stm32f429 MCU") Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32f429.dtsi | 12 1 file changed, 12 insertions(+) diff --git

Re: [PATCH] scsi: scsi_sysfs.c: Hide wwid sdev attr if VPD is not supported

2019-06-19 Thread Marcos Paulo de Souza
On Wed, Jun 19, 2019 at 08:34:56AM +0200, Hannes Reinecke wrote: > On 6/19/19 5:35 AM, Martin K. Petersen wrote: > > > > Marcos, > > > >> WWID composed from VPD data from device, specifically page 0x83. So, > >> when a device does not have VPD support, for example USB storage > >> devices where

[GIT PULL] Power management fix for v5.2-rc6

2019-06-19 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-5.2-rc6 with top-most commit 3e26c5feed2add218046ecf91bab3cfa9bf762a6 PCI: PM: Skip devices in D0 for suspend-to-idle on top of commit d1fdb6d8f6a4109a4263176c84b899076a5f8008 Linux

Re: [RT WARNING] DEBUG_LOCKS_WARN_ON(rt_mutex_owner(lock) != current) with fsfreeze (4.19.25-rt16)

2019-06-19 Thread Peter Zijlstra
Sorry, I seem to have missed this email. On Mon, May 06, 2019 at 06:50:09PM +0200, Oleg Nesterov wrote: > On 05/03, Peter Zijlstra wrote: > > > > -static void lockdep_sb_freeze_release(struct super_block *sb) > > -{ > > - int level; > > - > > - for (level = SB_FREEZE_LEVELS - 1; level >= 0;

Re: [PATCH v3] net: netfilter: Fix rpfilter dropping vrf packets by mistake

2019-06-19 Thread linmiaohe
On 2019/6/18 23:58, Pablo Neira Ayuso wrote: > On Thu, Apr 25, 2019 at 09:43:53PM +0800, linmiaohe wrote: >> From: Miaohe Lin >> >> When firewalld is enabled with ipv4/ipv6 rpfilter, vrf >> ipv4/ipv6 packets will be dropped because in device is vrf but out >> device is an enslaved device. So

PCI host bridge hotplug test question (was Re: [PATCH v2] bus: hisi_lpc: Don't use devm_kzalloc() to allocate logical PIO range)

2019-06-19 Thread John Garry
On 18/06/2019 18:50, Bjorn Helgaas wrote: [+cc Rafael, Mika, Jiang, linux-pci for ACPI host bridge hotplug test question] On Tue, Jun 18, 2019 at 3:44 AM John Garry wrote: Could you just move the logic_pio_register_range() call farther down in hisi_lpc_probe()? IIUC, once

Re: [PATCH 1/2] scsi: devinfo: BLIST_TRY_VPD_PAGES for SanDisk Cruzer Blade

2019-06-19 Thread Marcos Paulo de Souza
On Tue, Jun 18, 2019 at 11:21:22PM -0400, Martin K. Petersen wrote: > > Marcos, > > > Currently, all USB devices skip VPD pages, even when the device > > supports them (SPC-3 and later), but some of them support VPD, like > > Cruzer Blade. > > What's your confidence level wrt. all Cruzer Blades

Re: [PATCH v5 10/14] soc: mediatek: Add multiple step bus protection control

2019-06-19 Thread Weiyi Lu
On Thu, 2019-03-21 at 13:57 +0800, Nicolas Boichat wrote: > On Tue, Mar 19, 2019 at 4:02 PM Weiyi Lu wrote: > > > > Both MT8183 & MT6765 have more control steps of bus protection > > than previous project. And there add more bus protection registers > > reside at infracfg & smi-common. Also add

Re: [PATCH v1] scsi: Don't select SCSI_PROC_FS by default

2019-06-19 Thread Marc Gonzalez
On 18/06/2019 17:31, Douglas Gilbert wrote: > On 2019-06-18 3:29 a.m., Marc Gonzalez wrote: > >> Please note that I am _in no way_ suggesting that we remove any code. >> >> I just think it might be time to stop forcing CONFIG_SCSI_PROC_FS into >> every config, and instead require one to

Re: [PATCH] net/ipv4: fib_trie: Avoid cryptic ternary expressions

2019-06-19 Thread Joe Perches
On Tue, 2019-06-18 at 16:23 -0700, Nick Desaulniers wrote: > As a side note, I'm going to try to see if MAINTAINERS and > scripts/get_maintainers.pl supports regexes on the commit messages in > order to cc our mailing list Neither. Why should either?

RE: [PATCH v4 1/3] PM: wakeup: Add routine to help fetch wakeup source object.

2019-06-19 Thread Ran Wang
Hi Rafael, On Wednesday, June 19, 2019 06:45, Rafael J. Wysocki wrote: > > On Monday, May 20, 2019 11:52:36 AM CEST Ran Wang wrote: > > Some user might want to go through all registered wakeup sources and > > doing things accordingly. For example, SoC PM driver might need to do > > HW

Re: [PATCH v5 09/14] soc: mediatek: Add basic_clk_name to scp_power_data

2019-06-19 Thread Weiyi Lu
On Thu, 2019-03-21 at 14:02 +0800, Nicolas Boichat wrote: > On Tue, Mar 19, 2019 at 4:02 PM Weiyi Lu wrote: > > > > Try to stop extending the clk_id or clk_names if there are > > more and more new BASIC clocks. To get its own clocks by the > > basic_clk_name of each power domain. > > > >

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

2019-06-19 Thread Russell King - ARM Linux admin
On Wed, Jun 19, 2019 at 09:40:46AM +0100, Parshuram Thombare wrote: > 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 ++-- >

Re: [PATCH v5 08/14] soc: mediatek: Refactor bus protection control

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

RE: [PATCH v2 1/3] ACPI: Resolve objects on host-directed table loads

2019-06-19 Thread Nikolaus Voss
Hi Bob, On Tue, 18 Jun 2019, Moore, Robert wrote: -Original Message- From: Moore, Robert Sent: Tuesday, June 18, 2019 1:25 PM To: 'Nikolaus Voss' Cc: 'Rafael J. Wysocki' ; 'Rafael J. Wysocki' ; 'Len Brown' ; Schmauss, Erik ; 'Jacek Anaszewski' ; 'Pavel Machek' ; 'Dan Murphy' ;

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 > >

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

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 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 + >

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 --- > >

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

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

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 > > --- > >

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

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

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

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] 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

[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 ---

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

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

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

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

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

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

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 +

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

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

[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

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

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

[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

[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

[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

[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

[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

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

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 > >

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

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

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,

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

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;

[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

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

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

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

[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)

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, > >

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

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 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

[no subject]

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

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

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

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

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

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] 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

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. > > > >

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 > >

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

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

[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)

<    3   4   5   6   7   8   9   >