Re: [PATCH v2 1/2] mfd: arizona: Update reset pin to use GPIOD

2018-02-20 Thread kbuild test robot
Hi Charles, Thank you for the patch! Yet something to improve: [auto build test ERROR on ljones-mfd/for-mfd-next] [also build test ERROR on v4.16-rc2 next-20180220] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

Re: [PATCH 6/6] sched/isolation: Update nohz documentation to explain tick offload

2018-02-20 Thread Frederic Weisbecker
On Sat, Feb 17, 2018 at 11:53:22AM +0100, Thomas Gleixner wrote: > On Thu, 15 Feb 2018, Frederic Weisbecker wrote: > > > Update the documentation to reflect the 1Hz tick offload changes. > > > > Signed-off-by: Frederic Weisbecker > > Cc: Chris Metcalf > > Cc: Christoph Lameter > > Cc: Luiz Cap

Re: [PATCH v4] reset: add support for non-DT systems

2018-02-20 Thread David Lechner
On 02/20/2018 04:39 AM, Philipp Zabel wrote: Hi Bartosz, David, On Mon, 2018-02-19 at 18:21 -0600, David Lechner wrote: On 02/19/2018 10:58 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski The reset framework only supports device-tree. There are some platforms however, which need to

[PATCH v3 12/15] memory: tegra: Add Tegra124 memory controller hot resets

2018-02-20 Thread Dmitry Osipenko
Define the table of memory controller hot resets for Tegra124. Signed-off-by: Dmitry Osipenko --- drivers/memory/tegra/tegra124.c | 42 + 1 file changed, 42 insertions(+) diff --git a/drivers/memory/tegra/tegra124.c b/drivers/memory/tegra/tegra124.c index

[PATCH-next] staging: rtl8188eu: Remove unneeded cast

2018-02-20 Thread Christopher Diaz Riveros
Fix Coccinelle alert: drivers/staging//rtl8188eu/os_dep/usb_intf.c:336:13-27: WARNING: casting value returned by memory allocation function to (struct adapter *) is useless. This issue was detected by using the Coccinelle software. Signed-off-by: Christopher Diaz Riveros --- drivers/staging/r

[PATCH v3 13/15] memory: tegra: Add Tegra114 memory controller hot resets

2018-02-20 Thread Dmitry Osipenko
Define the table of memory controller hot resets for Tegra114. Signed-off-by: Dmitry Osipenko --- drivers/memory/tegra/tegra114.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/memory/tegra/tegra114.c b/drivers/memory/tegra/tegra114.c index 7560b2f

[PATCH v3 10/15] memory: tegra: Introduce memory client hot reset

2018-02-20 Thread Dmitry Osipenko
In order to reset busy HW properly, memory controller needs to be involved, otherwise it is possible to get corrupted memory or hang machine if HW was reset during DMA. Introduce memory client 'hot reset' that will be used for resetting of busy HW. Signed-off-by: Dmitry Osipenko --- drivers/memo

[PATCH v3 15/15] memory: tegra: Add Tegra20 memory controller hot resets

2018-02-20 Thread Dmitry Osipenko
Define the table of memory controller hot resets for Tegra20 and add specific to Tegra20 hot reset operations. Signed-off-by: Dmitry Osipenko --- drivers/memory/tegra/tegra20.c | 118 + 1 file changed, 118 insertions(+) diff --git a/drivers/memory/tegra/t

[PATCH v3 14/15] memory: tegra: Add Tegra30 memory controller hot resets

2018-02-20 Thread Dmitry Osipenko
Define the table of memory controller hot resets for Tegra30. Signed-off-by: Dmitry Osipenko --- drivers/memory/tegra/tegra30.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/memory/tegra/tegra30.c b/drivers/memory/tegra/tegra30.c index d2ba50ed049

[PATCH v3 1/2] mfd: arizona: Update reset pin to use GPIOD

2018-02-20 Thread Charles Keepax
Now GPIOD has support for both pdata systems and for non-standard DT bindings the Arizona reset GPIO can be converted to use it. Signed-off-by: Charles Keepax --- Changes since v2: - Kept null check in arizona_enable_reset, although gpiod_set_value_cansleep does its own null check it will al

Re: [PATCH 05/17] trace doc: convert trace/ftrace.txt to rst format

2018-02-20 Thread Jonathan Corbet
On Tue, 20 Feb 2018 10:26:44 -0500 Steven Rostedt wrote: > One it should be a separate patch. Two, how does SPDX deal with dual > licenses? Separate them with "OR" on a single line. See Documentation/process/license-rules.rst for details. jon

[PATCH v3 11/15] memory: tegra: Add Tegra210 memory controller hot resets

2018-02-20 Thread Dmitry Osipenko
From: Thierry Reding Define the table of memory controller hot resets for Tegra210. Signed-off-by: Thierry Reding --- drivers/memory/tegra/tegra210.c | 45 + 1 file changed, 45 insertions(+) diff --git a/drivers/memory/tegra/tegra210.c b/drivers/memory/

[PATCH-next] staging: emxx_udc: Remove unneeded cast

2018-02-20 Thread Christopher Diaz Riveros
Fix Coccinelle alert: drivers/staging//emxx_udc/emxx_udc.c:2689:19-21: WARNING: casting value returned by memory allocation function to (u8 *) is useless. This issue was detected by using the Coccinelle software. Signed-off-by: Christopher Diaz Riveros --- drivers/staging/emxx_udc/emxx_udc.c

[PATCH v3 2/2] mfd: arizona: Update DT doc to support more standard reset binding

2018-02-20 Thread Charles Keepax
Signed-off-by: Charles Keepax Reviewed-by: Rob Herring --- No changes since v2. Thanks, Charles Documentation/devicetree/bindings/mfd/arizona.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicet

Re: [RFCv4 16/21] v4l2: video_device: support for creating requests

2018-02-20 Thread Hans Verkuil
On 02/20/2018 05:44 AM, Alexandre Courbot wrote: > Add a new VIDIOC_NEW_REQUEST ioctl, which allows to instanciate requests > on devices that support the request API. Requests created that way can > only control the device they originate from, making them suitable for > simple devices, but not comp

Re: [PATCH v2] usb: host: ehci-platform: add support for optional external vbus supply

2018-02-20 Thread Roger Quadros
On 20/02/18 16:46, Amelie DELAUNAY wrote: > Hi, > > On 02/20/2018 03:00 PM, Roger Quadros wrote: >> Hi, >> >> On 20/02/18 14:58, Amelie Delaunay wrote: >>> On some boards, especially when vbus supply requires large current, >>> and the charge pump on the PHY isn't enough, an external vbus power sw

Re: [PATCH 4/7] sched/fair: Avoid unnecessary balancing of asymmetric capacity groups

2018-02-20 Thread Morten Rasmussen
On Mon, Feb 19, 2018 at 04:10:11PM +0100, Peter Zijlstra wrote: > On Thu, Feb 15, 2018 at 04:20:51PM +, Morten Rasmussen wrote: > > +/* > > + * group_similar_cpu_capacity: Returns true if the minimum capacity of the > > + * compared groups differ by less than 12.5%. > > + */ > > +static inline

[PATCH-next] staging: rtl8723bs: Remove unneeded cast

2018-02-20 Thread Christopher Diaz Riveros
Fix Coccinelle alert: drivers/staging//rtl8723bs/os_dep/sdio_intf.c:340:13-27: WARNING: casting value returned by memory allocation function to (struct adapter *) is useless. This issue was detected by using the Coccinelle software. Signed-off-by: Christopher Diaz Riveros --- drivers/staging/

Re: [PATCH v2] kbuild: Don't source kernel config

2018-02-20 Thread Masahiro Yamada
2018-02-21 1:16 GMT+09:00 Richard Weinberger : > Am Dienstag, 20. Februar 2018, 17:00:39 CET schrieb Masahiro Yamada: >> 2018-02-21 0:25 GMT+09:00 Richard Weinberger : >> > Am Dienstag, 20. Februar 2018, 16:18:11 CET schrieb Masahiro Yamada: >> >> 2018-02-19 18:22 GMT+09:00 Richard Weinberger : >>

Re: [PATCH] locking/ww_mutex: add ww_mutex_is_owned_by function v4

2018-02-20 Thread Daniel Vetter
On Tue, Feb 20, 2018 at 03:49:46PM +0100, Christian König wrote: > amdgpu needs to verify if userspace sends us valid addresses and the simplest > way of doing this is to check if the buffer object is locked with the ticket > of the current submission. > > Clean up the access to the ww_mutex inter

[PATCH-next] staging: net: netlogic: Remove unneeded cast

2018-02-20 Thread Christopher Diaz Riveros
Fix Coccinelle alert: drivers/staging//netlogic/xlr_net.c:996:12-30: WARNING: casting value returned by memory allocation function to (struct xlr_adapter *) is useless. This issue was detected by using the Coccinelle software. Signed-off-by: Christopher Diaz Riveros --- drivers/staging/netlog

[PATCH v3 01/15] dt-bindings: arm: tegra: Remove duplicated Tegra30+ MC binding

2018-02-20 Thread Dmitry Osipenko
There are two bindings for the same Memory Controller. One of the bindings became obsolete long time ago and probably was left unnoticed, remove it for consistency. Signed-off-by: Dmitry Osipenko --- .../bindings/arm/tegra/nvidia,tegra30-mc.txt | 18 -- 1 file changed,

[PATCH v3 04/15] dt-bindings: memory: tegra: Add hot resets definitions

2018-02-20 Thread Dmitry Osipenko
Add definitions for the Tegra20+ memory controller hot resets. Signed-off-by: Dmitry Osipenko --- include/dt-bindings/memory/tegra114-mc.h | 19 +++ include/dt-bindings/memory/tegra124-mc.h | 25 + include/dt-bindings/memory/tegra20-mc.h | 21

[PATCH v3 02/15] dt-bindings: memory: tegra: Document #reset-cells property of the Tegra30 MC

2018-02-20 Thread Dmitry Osipenko
Memory Controller has a memory client "hot reset" functionality, which resets the DMA interface of a memory client. So MC is a reset controller in addition to IOMMU. Documentation the new property. Signed-off-by: Dmitry Osipenko --- .../devicetree/bindings/memory-controllers/nvidia,tegra30-mc.tx

[PATCH v3 00/15] Memory controller hot reset

2018-02-20 Thread Dmitry Osipenko
Tegra's memory controller has a "memory hot reset" functionality that blocks all memory transactions for the memory client, which is required for a proper HW resetting. HW could perform DMA while being reset and this could lead to a system hang or memory corruption, so here comes the memory hot res

Re: arm64 physmap (was Re: [kernel-hardening] [PATCH 4/6] Protectable Memory)

2018-02-20 Thread Igor Stoppa
On 14/02/18 21:29, Kees Cook wrote: > On Wed, Feb 14, 2018 at 11:06 AM, Laura Abbott wrote: [...] >> Kernel code should be fine, if it isn't that is a bug that should be >> fixed. Modules yes are not fully protected. The conclusion from past > > I think that's a pretty serious problem: we can

[PATCH v3 07/15] memory: tegra: Apply interrupts mask per SoC

2018-02-20 Thread Dmitry Osipenko
Currently we are enabling handling of interrupts specific to Tegra124+ which happen to overlap with previous generations. Let's specify interrupts mask per SoC generation for consistency and in a preparation of squashing of Tegra20 driver into the common one that will enable handling of GART faults

[PATCH v3 05/15] memory: tegra: Do not handle spurious interrupts

2018-02-20 Thread Dmitry Osipenko
The ISR reads interrupts-enable mask, but doesn't utilize it. Apply the mask to the interrupt status and don't handle interrupts that MC driver haven't asked for. Kernel would disable spurious MC IRQ and report the error. This would happen only in a case of a very severe bug. Signed-off-by: Dmitry

Re: [PATCH] blk: optimization for classic polling

2018-02-20 Thread Keith Busch
On Tue, Feb 20, 2018 at 02:21:37PM +0100, Peter Zijlstra wrote: > Also, set_current_state(TASK_RUNNING) is dodgy (similarly in > __blk_mq_poll), why do you need that memory barrier? You're right. The subsequent revision that was committed removed the barrier. The commit is here: https://git.kerne

Re: [PATCH v4 1/2] ACPI / x86: boot: Not all platforms require acpi_reduced_hw_init()

2018-02-20 Thread Rafael J. Wysocki
On Tue, Feb 20, 2018 at 5:03 PM, Andy Shevchenko wrote: > Some platforms might take care of legacy devices on theirs own. Due to this, > export acpi_reduced_hw_init() and put it into struct x86_init_acpi. IMO this completely doesn't explain what really happens here. You basically want to provide

Re: net: hang in unregister_netdevice: waiting for lo to become free

2018-02-20 Thread Neil Horman
On Tue, Feb 20, 2018 at 09:14:41AM +0100, Dmitry Vyukov wrote: > On Tue, Feb 20, 2018 at 8:56 AM, Tommi Rantala > wrote: > > On 19.02.2018 20:59, Dmitry Vyukov wrote: > >> > >> On Sat, Feb 3, 2018 at 1:15 PM, Xin Long wrote: > > > > On 1/30/18 1:57 PM, David Ahern wrote: > >> > >>

[PATCH v3 08/15] memory: tegra: Remove unused headers inclusions

2018-02-20 Thread Dmitry Osipenko
Tegra210 contains some unused leftover headers, remove them for consistency. Signed-off-by: Dmitry Osipenko --- drivers/memory/tegra/tegra210.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/memory/tegra/tegra210.c b/drivers/memory/tegra/tegra210.c index 3b8d0100088c..b729f49ffc

[PATCH 3/3] ARM: davinci: mark spi_board_info arrays as const

2018-02-20 Thread Arnd Bergmann
Building with LTO revealed that three spi_board_info arrays are marked __initconst, but not const: arch/arm/mach-davinci/board-dm365-evm.c: In function 'dm365_evm_init': arch/arm/mach-davinci/board-dm365-evm.c:729:30: error: 'dm365_evm_spi_info' causes a section type conflict with 'dm646x_edma_de

Re: [PATCH v2] kbuild: Don't source kernel config

2018-02-20 Thread Nicolas Pitre
On Tue, 20 Feb 2018, Richard Weinberger wrote: > An alternate approach would be this: > diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c > index 5c12dc91ef34..ff0a7c62344b 100644 > --- a/scripts/kconfig/confdata.c > +++ b/scripts/kconfig/confdata.c > @@ -161,6 +161,13 @@ static

[PATCH v3 09/15] memory: tegra: Squash tegra20-mc into common tegra-mc driver

2018-02-20 Thread Dmitry Osipenko
Tegra30+ has some minor differences in registers / bits layout compared to Tegra20. Let's squash Tegra20 driver into the common tegra-mc driver in a preparation for the upcoming MC hot reset controls implementation, avoiding code duplication. Signed-off-by: Dmitry Osipenko --- drivers/memory/Kco

[PATCH v3 06/15] memory: tegra: Setup interrupts mask before requesting IRQ

2018-02-20 Thread Dmitry Osipenko
This avoids unwanted interrupt during MC driver probe. Signed-off-by: Dmitry Osipenko --- drivers/memory/tegra/mc.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/memory/tegra/mc.c b/drivers/memory/tegra/mc.c index d2005b995821..e55b9733bd83 100644 -

[PATCH 2/3] ARM: orion: mark orion_ge00_mvmdio_bus_name as const

2018-02-20 Thread Arnd Bergmann
A section type mismatch warning shows up when building with LTO, since orion_ge00_mvmdio_bus_name was put in __initconst but not marked const itself: include/linux/of.h: In function 'spear_setup_of_timer': arch/arm/mach-spear/time.c:207:34: error: 'timer_of_match' causes a section type conflict w

[PATCH v3 03/15] dt-bindings: arm: tegra: Document #reset-cells property of the Tegra20 MC

2018-02-20 Thread Dmitry Osipenko
Memory Controller has a memory client "hot reset" functionality, which resets the DMA interface of a memory client, so MC is a reset controller. Documentation the new property. Signed-off-by: Dmitry Osipenko --- .../devicetree/bindings/arm/tegra/nvidia,tegra20-mc.txt | 12 +++- 1 fi

[PATCH 1/3] ARM: clps711x: mark clps711x_compat as const

2018-02-20 Thread Arnd Bergmann
The array of string pointers is put in __initconst, and the strings themselves are marke 'const' but the the pointers are not, which caused a warning when built with LTO: arch/arm/mach-clps711x/board-dt.c:72:20: error: 'clps711x_compat' causes a section type conflict with 'feroceon_ids' static c

Re: [PATCH 4/7] sched/fair: Avoid unnecessary balancing of asymmetric capacity groups

2018-02-20 Thread Morten Rasmussen
On Mon, Feb 19, 2018 at 03:53:35PM +0100, Peter Zijlstra wrote: > On Mon, Feb 19, 2018 at 03:50:12PM +0100, Peter Zijlstra wrote: > > On Thu, Feb 15, 2018 at 04:20:51PM +, Morten Rasmussen wrote: > > > On systems with asymmetric cpu capacities, a skewed load distribution > > > might yield bette

[PATCH 5/6] powerpc: Implement DISCONTIGMEM and allow selection on PPC32

2018-02-20 Thread Jonathan Neuschäfer
The implementation of pfn_to_nid and pfn_valid in mmzone.h is based on arch/metag's implementation. Signed-off-by: Jonathan Neuschäfer --- NOTE: Checking NODE_DATA(nid) in pfn_to_nid appears to be uncommon. Running up to MAX_NUMNODES instead of checking NODE_DATA(nid) would require the node_data

[PATCH 2/6] powerpc: numa: Fix overshift on PPC32

2018-02-20 Thread Jonathan Neuschäfer
When read_n_cells is compiled for PPC32, "result << 32" causes an overshift, which GCC doesn't like. Fix this by using u64 instead of unsigned long. Signed-off-by: Jonathan Neuschäfer --- arch/powerpc/mm/numa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/

Re: [RFCv4 13/21] media: videobuf2-v4l2: support for requests

2018-02-20 Thread Hans Verkuil
On 02/20/2018 05:44 AM, Alexandre Courbot wrote: > Add a new vb2_qbuf_request() (a request-aware version of vb2_qbuf()) > that request-aware drivers can call to queue a buffer into a request > instead of directly into the vb2 queue if relevent. > > This function expects that drivers invoking it ar

[PATCH 4/6] powerpc: numa: Restrict fake NUMA enulation to CONFIG_NUMA systems

2018-02-20 Thread Jonathan Neuschäfer
Signed-off-by: Jonathan Neuschäfer --- arch/powerpc/mm/numa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index df03a65b658f..dfe279529463 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c @@ -738,7 +738,8 @@

[PATCH 1/6] powerpc/mm/32: Use pfn_valid to check if pointer is in RAM

2018-02-20 Thread Jonathan Neuschäfer
The Nintendo Wii has a memory layout that places two chunks of RAM at non-adjacent addresses, and MMIO between them. Currently, the allocation of these MMIO areas is made possible by declaring the MMIO hole as reserved memory and allowing reserved memory to be allocated (cf. wii_memory_fixups). Th

[PATCH 3/6] powerpc: numa: Use the right #ifdef guards around functions

2018-02-20 Thread Jonathan Neuschäfer
of_node_to_nid and dump_numa_cpu_topology are declared inline in their respective header files, if CONFIG_NUMA is not set. Thus it is only valid to define these functions in numa.c if CONFIG_NUMA is set. (numa.c, despite the name, isn't conditionalized on CONFIG_NUMA, but CONFIG_NEED_MULTIPLE_NODES

[PATCH 6/6] powerpc: wii: Don't rely on reserved memory hack if DISCONTIGMEM is set

2018-02-20 Thread Jonathan Neuschäfer
Signed-off-by: Jonathan Neuschäfer --- arch/powerpc/platforms/embedded6xx/wii.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/embedded6xx/wii.c b/arch/powerpc/platforms/embedded6xx/wii.c index 4682327f76a9..589ac87a3ce0 100644 --- a/arch/po

[PATCH 0/6] DISCONTIGMEM support for PPC32

2018-02-20 Thread Jonathan Neuschäfer
This patchset adds support for DISCONTIGMEM on 32-bit PowerPC. This is required to properly support the Nintendo Wii's memory layout, in which there are two blocks of RAM and MMIO in the middle. Previously, this memory layout was handled by code that joins the two RAM blocks into one, reserves the

Re: [PATCH v19 00/10] Add backlight helper functions

2018-02-20 Thread Sean Paul
On Wed, Jan 24, 2018 at 11:32 AM, Meghana Madhyastha wrote: > Move drm helper functions from tinydrm-helpers to linux/backlight for > ease of use by callers in other drivers. > It was a long time coming, but this has finally been applied to -misc-next. Thanks for sticking with it! Sean > Change

Re: [PATCH v2] kbuild: Don't source kernel config

2018-02-20 Thread Richard Weinberger
Am Dienstag, 20. Februar 2018, 17:00:39 CET schrieb Masahiro Yamada: > 2018-02-21 0:25 GMT+09:00 Richard Weinberger : > > Am Dienstag, 20. Februar 2018, 16:18:11 CET schrieb Masahiro Yamada: > >> 2018-02-19 18:22 GMT+09:00 Richard Weinberger : > >> > Don't source the kernel config file in shell scr

Re: [PATCH] tools/memory-model: remove rb-dep, smp_read_barrier_depends, and lockless_dereference

2018-02-20 Thread Paul E. McKenney
On Tue, Feb 20, 2018 at 04:17:52PM +0100, Andrea Parri wrote: > On Tue, Feb 20, 2018 at 06:48:13AM -0800, Paul E. McKenney wrote: > > On Mon, Feb 19, 2018 at 06:44:13PM +0100, Peter Zijlstra wrote: > > > On Mon, Feb 19, 2018 at 12:14:45PM -0500, Alan Stern wrote: > > > > Note that operations like a

Re: [PATCH] tools/memory-model: remove rb-dep, smp_read_barrier_depends, and lockless_dereference

2018-02-20 Thread Paul E. McKenney
On Tue, Feb 20, 2018 at 10:11:06AM -0500, Alan Stern wrote: > On Tue, 20 Feb 2018, Paul E. McKenney wrote: > > > On Mon, Feb 19, 2018 at 09:28:44PM +0100, Peter Zijlstra wrote: > > > On Mon, Feb 19, 2018 at 11:41:23AM -0800, Paul E. McKenney wrote: > > > > On Mon, Feb 19, 2018 at 12:14:45PM -0500,

RE: [PATCH] ALSA: hda/realtek: Limit mic boost on T480

2018-02-20 Thread Peter FP1 Zhang
Thank you Takashi. I will also double confirm it with our Accessory BU guys about Ben's question when I back to my office. And will let you know if there was any different answer from them. Peter Zhang \ 张福平, PMP ThinkPad & ThinkStation Linux Solutions Tel: (+86) 181-1611-8005 | Lenovo Shangh

[PATCH v4 2/2] x86/platform/intel-mid: Add special handling of ACPI HW reduced platforms

2018-02-20 Thread Andy Shevchenko
When switching to ACPI HW reduced platforms we still want to initialize timers. Override x86_init.acpi.reduced_hw_init to achieve that. Signed-off-by: Andy Shevchenko --- arch/x86/platform/intel-mid/intel-mid.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/platform/intel-mid

[PATCH v4 1/2] ACPI / x86: boot: Not all platforms require acpi_reduced_hw_init()

2018-02-20 Thread Andy Shevchenko
Some platforms might take care of legacy devices on theirs own. Due to this, export acpi_reduced_hw_init() and put it into struct x86_init_acpi. While doing this, rename acpi_reduced_hw_init() to acpi_reduced_hw_early_init() to show the stage at which it's called. Signed-off-by: Andy Shevchenko

Re: [PATCH v2 05/10] drivers: qcom: rpmh-rsc: write sleep/wake requests to TCS

2018-02-20 Thread Lina Iyer
Hi Evan, Thanks for your review. On Fri, Feb 16 2018 at 23:51 +, Evan Green wrote: Hello Lina, On Thu, Feb 15, 2018 at 9:35 AM, Lina Iyer wrote: Sleep and wake requests are sent when the application processor subsystem of the SoC is entering deep sleep states like in suspend. These reque

Re: [PATCH v2] kbuild: Don't source kernel config

2018-02-20 Thread Masahiro Yamada
2018-02-21 0:25 GMT+09:00 Richard Weinberger : > Am Dienstag, 20. Februar 2018, 16:18:11 CET schrieb Masahiro Yamada: >> 2018-02-19 18:22 GMT+09:00 Richard Weinberger : >> > Don't source the kernel config file in shell scripts. >> > The config file is not a shell script and often imported from untr

Re: [RFC PATCH V2 11/22] x86/intel_rdt: Associate pseudo-locked regions with its domain

2018-02-20 Thread Reinette Chatre
Hi Thomas, On 2/20/2018 2:00 AM, Thomas Gleixner wrote: > On Mon, 19 Feb 2018, Reinette Chatre wrote: >> On 2/19/2018 3:19 PM, Thomas Gleixner wrote: >>> On Mon, 19 Feb 2018, Reinette Chatre wrote: On 2/19/2018 1:19 PM, Thomas Gleixner wrote: > On Tue, 13 Feb 2018, Reinette Chatre wrote:

Re: [PATCH 2/7] sched/fair: Add group_misfit_task load-balance type

2018-02-20 Thread Morten Rasmussen
On Mon, Feb 19, 2018 at 02:58:42PM +0100, Peter Zijlstra wrote: > On Mon, Feb 19, 2018 at 02:56:44PM +0100, Peter Zijlstra wrote: > > On Thu, Feb 15, 2018 at 04:20:49PM +, Morten Rasmussen wrote: > > > @@ -6733,9 +6758,12 @@ done: __maybe_unused > > > if (hrtick_enabled(rq)) > > > h

[PATCH] ASoC: codecs: ak5558: Fix style for SPDX identifier

2018-02-20 Thread Daniel Baluta
Use // for .c and /* for .h files according to: Documentation/process/license-rules.rst file. Signed-off-by: Daniel Baluta --- sound/soc/codecs/ak5558.c | 11 +-- sound/soc/codecs/ak5558.h | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/sound/soc/codecs/ak5558.c

Re: [PATCH] ALSA: hda/realtek: Limit mic boost on T480

2018-02-20 Thread Takashi Iwai
On Sat, 17 Feb 2018 14:54:02 +0100, Peter FP1 Zhang wrote: > > Hi Ben, > > My understanding is same as yours. Recently Realtek Audio expert Kailang (on > copy) submitted a patch for Dock as the attached, are you asking the same > thing? > Looks like the issue is related to Dock model, there are

Re: [PATCH v2 12/19] dt-bindings: serial: sh-sci: Add support for r8a77965 (H)SCIF

2018-02-20 Thread Geert Uytterhoeven
On Tue, Feb 20, 2018 at 4:12 PM, Jacopo Mondi wrote: > Add documentation for r8a77965 compatible string to Renesas sci-serial > device tree bindings documentation. > > Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytter

Re: [PATCH v2 09/19] ARM64: dts: Add R-Car Salvator-x M3-N support

2018-02-20 Thread Geert Uytterhoeven
On Tue, Feb 20, 2018 at 4:12 PM, Jacopo Mondi wrote: > Add basic support for R-Car Salvator-X M3-N (R8A77965) board. > > Based on original work from: > Takeshi Kihara > Magnus Damm > > Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Gee

Re: [PATCH v2 08/19] ARM64: dts: Add Renesas R8A77965 SoC support

2018-02-20 Thread Geert Uytterhoeven
On Tue, Feb 20, 2018 at 4:12 PM, Jacopo Mondi wrote: > Basic support for the Gen 3 R-Car M3-N SoC. > > Based on original work from: > Takeshi Kihara > Magnus Damm > > Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytte

Re: [PATCH v2 07/19] ARM64: Add Renesas R-Car M3-N config symbol

2018-02-20 Thread Geert Uytterhoeven
On Tue, Feb 20, 2018 at 4:12 PM, Jacopo Mondi wrote: > Add configuration option for the R-Car M3-N (R8A77965) SoC. > > Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge

Re: [PATCH v2 04/19] soc: renesas: rcar-sysc: Add R-Car M3-N support

2018-02-20 Thread Geert Uytterhoeven
On Tue, Feb 20, 2018 at 4:12 PM, Jacopo Mondi wrote: > Add support for R-Car M3-N (R8A77965) power areas. > > Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven We'll sort out the remaining issues later. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- Ther

Re: [PATCH 4/6] sched/isolation: Offload residual 1Hz scheduler tick

2018-02-20 Thread Frederic Weisbecker
On Sat, Feb 17, 2018 at 11:50:52AM +0100, Thomas Gleixner wrote: > On Thu, 15 Feb 2018, Frederic Weisbecker wrote: > > > When a CPU runs in full dynticks mode, a 1Hz tick remains in order to > > keep the scheduler stats alive. However this residual tick is a burden > > for bare metal tasks that ca

Re: [PATCH v3 2/2] dt-bindings: introduce Command DB for QCOM SoCs

2018-02-20 Thread Lina Iyer
On Mon, Feb 19 2018 at 20:31 +, Rob Herring wrote: On Fri, Feb 16, 2018 at 03:46:14PM -0700, Lina Iyer wrote: From: Mahesh Sivasubramanian +The devicetree representation of the command DB driver should be: Need to state this is a child of /reserved-memory Yes, ofcourse. Will fix. +

Re: [PATCH v14 0/9] LPC: legacy ISA I/O support

2018-02-20 Thread John Garry
On 20/02/2018 14:54, Andy Shevchenko wrote: On Mon, Feb 19, 2018 at 7:48 PM, John Garry wrote: > This patchset supports the IPMI-bt device attached to the Low-Pin-Count > interface implemented on Hisilicon Hip06/Hip07 SoC. > --- > | LPC ho

Re: [PATCH v14 6/9] HISI LPC: Support the LPC host on Hip06/Hip07 with DT bindings

2018-02-20 Thread John Garry
On 20/02/2018 14:50, Andy Shevchenko wrote: On Mon, Feb 19, 2018 at 7:48 PM, John Garry wrote: From: Zhichang Yuan The low-pin-count(LPC) interface of Hip06/Hip07 accesses the peripherals in I/O port addresses. This patch implements the LPC host controller driver which perform the I/O operati

Re: [PATCH v2 03/19] soc: renesas: Identify R-Car M3-N

2018-02-20 Thread Geert Uytterhoeven
Hi Jacopo, On Tue, Feb 20, 2018 at 4:12 PM, Jacopo Mondi wrote: > Add support for indentifying R-Car M3-N (R8A77965) SoC. > > Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven > --- a/drivers/soc/renesas/renesas-soc.c > +++ b/drivers/soc/renesas/renesas-soc.c > @@ -149,6 +149,11 @@

Re: [PATCH] tools/memory-model: remove rb-dep, smp_read_barrier_depends, and lockless_dereference

2018-02-20 Thread Alan Stern
On Tue, 20 Feb 2018, Andrea Parri wrote: > > This leaves us with a question: Do we want to change the kernel by > > adding memory barriers after unsuccessful RMW operations on Alpha, or > > do we want to change the model by excluding such operations from > > address dependencies? > > I'd like to

[PATCH] arm64: dts: stratix10: Add PL330 DMAC to Stratix10 dts

2018-02-20 Thread Graham Moore
The Stratix10 SoCFPGA uses the PL330 DMAC. This patch adds the PL330 DMAC to the Stratix10 device tree. Signed-off-by: Graham Moore --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/altera/socfpga_s

RE: [PATCH] watchdog: hpwdt: change maintainer.

2018-02-20 Thread Vance, Jimmy
Acked-by: JImmy Vance -Original Message- From: Guenter Roeck [mailto:groe...@gmail.com] On Behalf Of Guenter Roeck Sent: Monday, October 9, 2017 7:27 PM To: Hoemann, Jerry ; linux-watch...@vger.kernel.org Cc: linux-kernel@vger.kernel.org; Vance, Jimmy Subject: Re: [PATCH] watchdog: hpwdt

Re: [PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node

2018-02-20 Thread Sergei Shtylyov
On 02/20/2018 06:12 PM, Jacopo Mondi wrote: > Populate the ethernet@e680 device node to enable Ethernet interface > for R-Car M3-N (r8a77965) SoC. > > Signed-off-by: Jacopo Mondi > Reviewed-by: Geert Uytterhoeven > > --- > v1 -> v2: > - Replace ALWAYS_ON power area identifier with numeric

Re: [PATCH v2 02/19] soc: renesas: rcar-rst: Add support for R-Car M3-N

2018-02-20 Thread Geert Uytterhoeven
On Tue, Feb 20, 2018 at 4:12 PM, Jacopo Mondi wrote: > Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical peo

Re: [PATCH 05/17] trace doc: convert trace/ftrace.txt to rst format

2018-02-20 Thread Steven Rostedt
On Tue, 20 Feb 2018 21:27:00 +0800 "Du, Changbin" wrote: > > > @@ -0,0 +1,3332 @@ > > > + > > > +ftrace - Function Tracer > > > + > > > + > > > +Copyright 2008 Red Hat Inc. > > > + > > > +:Author: Steven Rostedt > > > +:License: The GNU Free Doc

Re: [PATCH] locking/ww_mutex: add ww_mutex_is_owned_by function v4

2018-02-20 Thread Eric Engestrom
On Tuesday, 2018-02-20 15:49:46 +0100, Christian König wrote: > amdgpu needs to verify if userspace sends us valid addresses and the simplest > way of doing this is to check if the buffer object is locked with the ticket > of the current submission. > > Clean up the access to the ww_mutex internal

Re: [RFCv4 11/21] media: v4l2_fh: add request entity field

2018-02-20 Thread Hans Verkuil
On 02/20/18 05:44, Alexandre Courbot wrote: > Allow drivers to assign a request entity to v4l2_fh. This will be useful > for request-aware ioctls to find out which request entity to use. > > Signed-off-by: Alexandre Courbot > --- > include/media/v4l2-fh.h | 3 +++ > 1 file changed, 3 insertions(

Re: [RFC PATCH v2 1/6] dt-bindings: add bindings for USB physical connector

2018-02-20 Thread Rob Herring
On Tue, Feb 20, 2018 at 2:10 AM, Andrzej Hajda wrote: > On 19.02.2018 15:28, Rob Herring wrote: >> On Thu, Feb 15, 2018 at 11:39:15AM +0100, Andrzej Hajda wrote: >>> These bindings allow to describe most known standard USB connectors >>> and it should be possible to extend it if necessary. >>> USB

Re: [PATCH v2] kbuild: Don't source kernel config

2018-02-20 Thread Richard Weinberger
Am Dienstag, 20. Februar 2018, 16:18:11 CET schrieb Masahiro Yamada: > 2018-02-19 18:22 GMT+09:00 Richard Weinberger : > > Don't source the kernel config file in shell scripts. > > The config file is not a shell script and often imported from untrusted > > sources. > > What could possible go wrong?

Re: Timekeeping warning during resume from suspend to disk

2018-02-20 Thread Rafael J. Wysocki
On Tuesday, February 20, 2018 2:49:24 PM CET Ivid Suvarna wrote: > Hi Greg, > > > 4.1.15 is a kernel that is very old and obsolete (released almost 3 > > years ago, and tens of thousands of changes old.) Please try something > > newer and more modern like 4.15. If the issue is still there, the >

Re: [PATCH v3 3/6] x86/cpufeatures: Add AMD feature bits for Speculation Control

2018-02-20 Thread Tom Lendacky
On 1/24/2018 4:52 PM, Tom Lendacky wrote: > On 1/24/2018 11:57 AM, David Woodhouse wrote: >> On Wed, 2018-01-24 at 18:20 +0100, Greg KH wrote: >>> On Wed, Jan 24, 2018 at 04:57:02PM +, David Woodhouse wrote: AMD exposes the PRED_CMD/SPEC_CTRL MSRs slightly differently to Intel. S

Re: stable-rc build: 3 warnings 0 failures (stable-rc/v4.14.20-119-g1b1ab1d)

2018-02-20 Thread Arnd Bergmann
On Tue, Feb 20, 2018 at 1:47 PM, Olof's autobuilder wrote: > Warnings: > > arm64.allmodconfig: > drivers/media/tuners/r820t.c:1334:1: warning: the frame size of 2896 bytes is > larger than 2048 bytes [-Wframe-larger-than=] Hi Greg, please add 16c3ada89cff ("media: r820t: fix r820t_wri

Re: [PATCH 1/4] locking/ww_mutex: add ww_mutex_is_owned_by function v3

2018-02-20 Thread Peter Zijlstra
On Tue, Feb 20, 2018 at 04:05:49PM +0100, Christian König wrote: > Am 20.02.2018 um 15:54 schrieb Peter Zijlstra: > > On Tue, Feb 20, 2018 at 03:34:07PM +0100, Christian König wrote: > > > > OK, but neither case would in fact need the !ctx case right? That's just > > > > there for completeness sake

Applied "ASoC: ak5558: Fix style for SPDX identifier" to the asoc tree

2018-02-20 Thread Mark Brown
The patch ASoC: ak5558: Fix style for SPDX identifier has been applied to the asoc tree at https://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 to L

Re: [RFCv4 10/21] videodev2.h: Add request_fd field to v4l2_buffer

2018-02-20 Thread Hans Verkuil
On 02/20/18 05:44, Alexandre Courbot wrote: > From: Hans Verkuil > > When queuing buffers allow for passing the request that should > be associated with this buffer. > > Signed-off-by: Hans Verkuil > [acour...@chromium.org: make request ID 32-bit] > Signed-off-by: Alexandre Courbot > --- > dr

Re: [PATCH] cpuidle: stub out cpuidle_poll_state_init() without CONFIG_CPU_IDLE

2018-02-20 Thread Rafael J. Wysocki
On Tuesday, February 20, 2018 4:05:44 PM CET Arnd Bergmann wrote: > Calling cpuidle_poll_state_init() from apm_init() results in a link > failure since that directory is never entered without CONFIG_CPU_IDLE: > > arch/x86/kernel/apm_32.o: In function `apm_init': > apm_32.c:(.init.text+0x62c): unde

Re: [PATCH 4.10 070/111] audit: fix auditd/kernel connection state tracking

2018-02-20 Thread Peter Zijlstra
On Tue, Feb 20, 2018 at 09:51:08AM -0500, Paul Moore wrote: > On Tue, Feb 20, 2018 at 9:06 AM, Peter Zijlstra wrote: > > It's not at all clear to me what that code does, I just stumbled upon > > __mutex_owner() outside of the mutex code itself and went WTF. > > If you don't want people to use __

Re: [PATCH v2] kbuild: Don't source kernel config

2018-02-20 Thread Masahiro Yamada
2018-02-19 18:22 GMT+09:00 Richard Weinberger : > Don't source the kernel config file in shell scripts. > The config file is not a shell script and often imported from untrusted > sources. > What could possible go wrong? ;-) Please enumerate your real problems. > Instead, read config file line

Re: [PATCH] tools/memory-model: remove rb-dep, smp_read_barrier_depends, and lockless_dereference

2018-02-20 Thread Andrea Parri
On Tue, Feb 20, 2018 at 06:48:13AM -0800, Paul E. McKenney wrote: > On Mon, Feb 19, 2018 at 06:44:13PM +0100, Peter Zijlstra wrote: > > On Mon, Feb 19, 2018 at 12:14:45PM -0500, Alan Stern wrote: > > > Note that operations like atomic_add_unless() already include memory > > > barriers. > > > > It

[PATCH v2 09/19] ARM64: dts: Add R-Car Salvator-x M3-N support

2018-02-20 Thread Jacopo Mondi
Add basic support for R-Car Salvator-X M3-N (R8A77965) board. Based on original work from: Takeshi Kihara Magnus Damm Signed-off-by: Jacopo Mondi --- v1 -> v2: - split from patch v1 [05/15] - Remove "aliases" and "chosen" as they are defined already - Fix license header --- arch/arm64/boot/d

[PATCH v2 06/19] dt-bindings: arm: Document R-Car M3-N SoC DT bindings

2018-02-20 Thread Jacopo Mondi
Add device tree bindings documentation for Renesas R-Car M3-N (r8a77965) SoC. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/shmobile.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetr

[PATCH v2 08/19] ARM64: dts: Add Renesas R8A77965 SoC support

2018-02-20 Thread Jacopo Mondi
Basic support for the Gen 3 R-Car M3-N SoC. Based on original work from: Takeshi Kihara Magnus Damm Signed-off-by: Jacopo Mondi --- v1 -> v2: - Split r8a77965.dtsi from patch v1 [5/15] - Replace all PD_ and CLK_ defines with numeric entries - Move timer and pmu nodes outside of soc node and r

[PATCH v2 10/19] dt-bindings: dmaengine: rcar-dmac: document R8A77965 support

2018-02-20 Thread Jacopo Mondi
Add documentation for r8a77965 compatible string to rcar-dmac device tree bindings documentation. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Reviewed-by: Simon Horman --- Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt | 1 + 1 file changed, 1 insertion(+) diff --

[PATCH v2 13/19] pinctrl: sh-pfc: r8a77965: Add SCIFs groups/functions

2018-02-20 Thread Jacopo Mondi
Add SCIF[0-5] groups and pin function definitions for R-Car M3-N. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- v1 -> v2: - Remove _TANS --- drivers/pinctrl/sh-pfc/pfc-r8a77965.c | 296 ++ 1 file changed, 296 insertions(+) diff --git a/drivers

[PATCH v2 15/19] dt-bindings: gpio: Add support for r8a77965

2018-02-20 Thread Jacopo Mondi
Add compatible string for R-Car M3-N (r8a77965) in gpio-rcar. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- v1 -> v2: - Drop SoC-specific compatible string from drivers/gpio/gpio-rcar.c - Change patch subject to reflect it only changes dt bindings --- Documentation/devicetree

[PATCH] clk: hisilicon: mark wdt_mux_p[] as const

2018-02-20 Thread Arnd Bergmann
The symbol is in the __initconst section but not marked init, which caused a warning when building with LTO. This makes it 'const' as was obviously intended. Signed-off-by: Arnd Bergmann --- drivers/clk/hisilicon/crg-hi3516cv300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

[PATCH v2 18/19] pinctrl: sh-pfc: r8a77965: Add EtherAVB groups/functions

2018-02-20 Thread Jacopo Mondi
Add EtherAVB groups and functions definitions for R-Car M3-N. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- drivers/pinctrl/sh-pfc/pfc-r8a77965.c | 110 ++ 1 file changed, 110 insertions(+) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a77965.c b/

[PATCH v2 17/19] dt-bindings: net: ravb: Add support for r8a77965 SoC

2018-02-20 Thread Jacopo Mondi
Add documentation for r8a77965 compatible string to renesas ravb device tree bindings documentation. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Reviewed-by: Simon Horman Acked-by: Sergei Shtylyov Cc: sergei.shtyl...@cogentembedded.com, net...@vger.kernel.org --- Documentatio

<    1   2   3   4   5   6   7   8   9   >