Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10]

2018-07-31 Thread Pavel Machek
On Tue 2018-07-31 05:07:52, Matthew Wilcox wrote: > On Tue, Jul 31, 2018 at 01:34:22PM +0200, Pavel Machek wrote: > > On Tue 2018-07-31 11:11:53, David Howells wrote: > > > Pavel Machek wrote: > > > > Proposal is "message %s foo %s\0param 1\0param2\0", only strings > > > > allowed. > > > > > > I

[PATCH v3 1/4] ALSA: usb-audio: Initial Power Domain support

2018-07-31 Thread Jorge Sanjuan
Thee USB Audio Class 3 (UAC3) introduces Power Domains as a new feature to let a host turn individual parts of an audio function to different power states via USB requests. This lets the device get to know a bit amore about what the host is up to in order to optimize power consumption efficiently.

[PATCH v3 2/4] ALSA: usb-audio: AudioStreaming Power Domain parsing

2018-07-31 Thread Jorge Sanjuan
Power Domains in the UAC3 spec are mainly intended to be associated to an Input or Output Terminal so the host changes the power state of the entire capture or playback path within the topology. This patch adds support for finding Power Domains associated to an Audio Streaming Interface (bTerminal

[PATCH v3 3/4] ALSA: usb-audio: Add UAC3 Power Domains to suspend/resume

2018-07-31 Thread Jorge Sanjuan
Set the UAC3 Power Domain state for an Audio Streaming interface to D2 state before suspending the device (usb_driver callback). This lets the device know there is no intention to use any of the Units in the Audio Function and that the host is not going to even listen for wake-up events (interrupts

[PATCH v3 4/4] ALSA: usb-audio: Operate UAC3 Power Domains in PCM callbacks

2018-07-31 Thread Jorge Sanjuan
Make use of UAC3 Power Domains associated to an Audio Streaming path within the PCM's logic. This means, when there is no audio being transferred (pcm is closed), the host will set the Power Domain associated to that substream to state D1. When audio is being transferred (from hw_params onwards), t

[PATCH v3 0/4] usb-audio: Add UAC3 Power Domains

2018-07-31 Thread Jorge Sanjuan
This is what's new in this v3: - Add proper SPDX identifier for new source file. - Add delay unit in comment for BADD inferred recovery times and specify the actual delay time for them. - Suspend the usb stream *after* alsa has supended its stuff. - Make sure Power State changes to D0 happen

Re: [BUG BISECT] Ethernet fail on VF50 (OF: Don't set default coherent DMA mask)

2018-07-31 Thread Robin Murphy
On 31/07/18 09:19, Stefan Agner wrote: On 30.07.2018 16:38, Robin Murphy wrote: On 28/07/18 17:58, Guenter Roeck wrote: On Fri, Jul 27, 2018 at 04:04:48PM +0200, Christoph Hellwig wrote: On Fri, Jul 27, 2018 at 03:18:14PM +0200, Krzysztof Kozlowski wrote: On 27 July 2018 at 15:11, Krzysztof K

Re: [PATCHv4 12/12] sched/core: Disable SD_PREFER_SIBLING on asymmetric cpu capacity domains

2018-07-31 Thread Valentin Schneider
Hi, On 31/07/18 13:17, Vincent Guittot wrote: > On Fri, 6 Jul 2018 at 16:31, Morten Rasmussen > wrote: >> >> On Fri, Jul 06, 2018 at 12:18:17PM +0200, Vincent Guittot wrote: >>> [...] >> >> Scheduling one task per cpu when n_task == n_cpus on asymmetric >> topologies is generally broken already

Re: [PATCH v2 1/1] sched/debug: fix potential deadlock when write to sched_features

2018-07-31 Thread Peter Zijlstra
On Tue, Jul 31, 2018 at 09:12:22PM +0900, jiada_w...@mentor.com wrote: > diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c > index 60caf1fb94e0..7b2997d4a349 100644 > --- a/kernel/sched/debug.c > +++ b/kernel/sched/debug.c > @@ -87,21 +87,21 @@ struct static_key sched_feat_keys[__SCHED_FEAT_

Re: [PATCH] timers: fix offset calculation when the expires align with LVL_GRAN

2018-07-31 Thread Xu YiPing
On 2018/7/30 19:03, Thomas Gleixner wrote: > On Fri, 27 Jul 2018, Xu YiPing wrote: > >> when the expires of timer is align with LVL_GRAN(n), it will be trigged >> in 'expires + LVL_GRAN(n)'. >> >> Some drivers like power runtime use the timer to start a power down >> of device, it could saves p

Re: [PATCH 34/38] vfs: syscall: Add fsinfo() to query filesystem information [ver #10]

2018-07-31 Thread David Howells
Al Viro wrote: > Umm... What's so special about cell/volume/domain/realm? Nothing particularly. But they're something various network filesystems might find useful. cell for AFS, domain for CIFS, realm for things that use kerberos. volume_id/uuid/name would be usable by ext4 too, for example

Re: [PATCH 5/6] arm: enable RapidIO menu in Kconfig

2018-07-31 Thread Alex Bounine
On 2018-07-31 08:04 AM, Christoph Hellwig wrote: On Mon, Jul 30, 2018 at 06:50:33PM -0400, Alexei Colin wrote: diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index afe350e5e3d9..602a61324890 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1278,6 +1278,8 @@ config PCI_HOST_ITE8152

[PATCH] mm: make __paginginit based on CONFIG_MEMORY_HOTPLUG

2018-07-31 Thread osalvador
From: Oscar Salvador __pagininit macro is being used to mark functions for: a) Functions that we do not need to keep once the system is fully initialized with regard to memory. b) Functions that will be needed for the memory-hotplug code, and because of that we need to keep them after init

Re: [PATCH 5/6] arm: enable RapidIO menu in Kconfig

2018-07-31 Thread Russell King - ARM Linux
On Tue, Jul 31, 2018 at 08:43:02AM -0400, Alex Bounine wrote: > On 2018-07-31 08:04 AM, Christoph Hellwig wrote: > >On Mon, Jul 30, 2018 at 06:50:33PM -0400, Alexei Colin wrote: > >>diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > >>index afe350e5e3d9..602a61324890 100644 > >>--- a/arch/arm/Kconf

Re: [PATCH] mm: make __paginginit based on CONFIG_MEMORY_HOTPLUG

2018-07-31 Thread Pavel Tatashin
Hi Oscar, Have you looked into replacing __paginginit via __meminit ? What is the reason to keep both? Thank you, Pavel On Tue, Jul 31, 2018 at 8:45 AM wrote: > > From: Oscar Salvador > > __pagininit macro is being used to mark functions for: > > a) Functions that we do not need to keep once th

Re: [PATCHv4 00/12] sched/fair: Migrate 'misfit' tasks on asymmetric capacity systems

2018-07-31 Thread Morten Rasmussen
On Tue, Jul 31, 2018 at 01:10:49PM +0100, Valentin Schneider wrote: > Hi Peter, > > On 31/07/18 13:00, Peter Zijlstra wrote: > > > > > > Aside from the first patch, which I posted the change on, I've picked up > > until 10. I think that other SD_ASYM patch-set replaces 11 and 12, > > right? > >

Re: [PATCH 6/6] arm64: enable RapidIO menu in Kconfig

2018-07-31 Thread Alex Bounine
On 2018-07-31 04:41 AM, Will Deacon wrote: On Mon, Jul 30, 2018 at 06:50:34PM -0400, Alexei Colin wrote: Platforms with a PCI bus will be offered the RapidIO menu since they may be want support for a RapidIO PCI device. Platforms without a PCI bus that might include a RapidIO IP block will need

Re: [PATCH 1/4] dt-bindings: reset: Add PDC reset binding for SDM845 SoCs

2018-07-31 Thread Sibi S
Hi Philipp, Thanks for the review! On 07/31/2018 02:12 PM, Philipp Zabel wrote: Hi Sibi, On Fri, 2018-07-27 at 20:58 +0530, Sibi Sankar wrote: Add SDM845 PDC (Power Domain Controller) reset controller binding Signed-off-by: Sibi Sankar --- .../bindings/reset/qcom,pdc-reset.txt | 52

Re: [PATCH] x86: kvm: Restrict X86_FEATURE_VMMCALL to x86_64 platform

2018-07-31 Thread tedheadster
> > This shouldn't be necessary; for systems that don't have virtualization > extensions, the comment explains why setting X86_FEATURE_VMMCALL is safe. > > But it is also wrong, because you can run a 32-bit kernel as a guest on > a 64-bit processor, and then it should set X86_FEATURE_VMMCALL becaus

Re: [PATCH] x86: kvm: Restrict X86_FEATURE_VMMCALL to x86_64 platform

2018-07-31 Thread Paolo Bonzini
On 31/07/2018 14:57, tedheadster wrote: >> >> This shouldn't be necessary; for systems that don't have virtualization >> extensions, the comment explains why setting X86_FEATURE_VMMCALL is safe. >> >> But it is also wrong, because you can run a 32-bit kernel as a guest on >> a 64-bit processor, and

Re: [PATCH v2] arch/x86: Fix boot_cpu_data.microcode version output

2018-07-31 Thread Borislav Petkov
On Tue, Jul 31, 2018 at 11:46:09AM +, Sironi, Filippo wrote: > There may be a chance of skipping this code, I think. > > If the microcode is loaded on the hyperthread sibling of the boot cpu > before being loaded on the boot cpu, the boot cpu will exit earlier > from apply_microcode_intel() -

Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10]

2018-07-31 Thread David Howells
Pavel Machek wrote: > Regexes do not work in presence of arbitrary strings in the > message. If we had a way to tell start / end of string inserted in the > message, yes, the problem would be solved. You could use quotes around arbitrary insertions, ie. you always do '%s' inside the kernel if %s

Re: [PATCH 2/4] reset: qcom: PDC (Power Domain Controller) reset controller

2018-07-31 Thread Sibi S
Hi Philipp, Thanks for the review! On 07/31/2018 02:21 PM, Philipp Zabel wrote: On Fri, 2018-07-27 at 20:58 +0530, Sibi Sankar wrote: Add reset controller for SDM845 SoC to control reset signals provided by PDC for Modem, Compute, Display, GPU, Debug, AOP, Sensors, Audio, SP and APPS Signed-of

Re: [PATCH v9 04/12] RISC-V: Init and Halt Code

2018-07-31 Thread Mark Rutland
On Mon, Jul 30, 2018 at 04:42:49PM -0700, Palmer Dabbelt wrote: > Sorry it took me an absurd amount of time to get back around to this... I'm > adding our mailing list, as we didn't even have one a year ago. No worries; we all get swamped with things. > I've included a few patches in line here,

Re: [PATCH] mm: make __paginginit based on CONFIG_MEMORY_HOTPLUG

2018-07-31 Thread Michal Hocko
On Tue 31-07-18 08:49:11, Pavel Tatashin wrote: > Hi Oscar, > > Have you looked into replacing __paginginit via __meminit ? What is > the reason to keep both? All these init variants make my head spin so reducing their number is certainly a desirable thing to do. b5a0e01132943 has added this vari

RE: [RFC PATCH 1/2] ARM: dt: fpga: Added binding docs for Xilinx zynqmp FPGA manager

2018-07-31 Thread Nava kishore Manne
+Alan Tull > -Original Message- > From: Nava kishore Manne [mailto:nava.ma...@xilinx.com] > Sent: Wednesday, August 1, 2018 3:35 PM > To: robh...@kernel.org; mark.rutl...@arm.com; Michal Simek > ; Soren Brinkmann ; > at...@opensource.altera.com; moritz.fisc...@ettus.com; Nava kishore Manne

RE: [RFC PATCH 2/2] fpga manager: Adding FPGA Manager support for Xilinx zynqmp

2018-07-31 Thread Nava kishore Manne
+Alan Tull, > -Original Message- > From: Nava kishore Manne [mailto:nava.ma...@xilinx.com] > Sent: Wednesday, August 1, 2018 3:35 PM > To: robh...@kernel.org; mark.rutl...@arm.com; Michal Simek > ; Soren Brinkmann ; > at...@opensource.altera.com; moritz.fisc...@ettus.com; Nava kishore Ma

Re: [PATCH 3/4] remoteproc: qcom: q6v5-pil: Explicitly get mss_restart line

2018-07-31 Thread Sibi S
Hi Philipp, Thanks for the review! On 07/31/2018 02:27 PM, Philipp Zabel wrote: On Fri, 2018-07-27 at 20:58 +0530, Sibi Sankar wrote: Explicitly get mss_restart to facilitate adding PDC restart line for modem on SDM845 SoCs Signed-off-by: Sibi Sankar --- drivers/remoteproc/qcom_q6v5_pil.c |

Re: [PATCH v3 0/4] usb-audio: Add UAC3 Power Domains

2018-07-31 Thread Takashi Iwai
On Tue, 31 Jul 2018 14:28:41 +0200, Jorge Sanjuan wrote: > > This is what's new in this v3: > - Add proper SPDX identifier for new source file. > - Add delay unit in comment for BADD inferred recovery >times and specify the actual delay time for them. > - Suspend the usb stream *after* alsa

Re: [alsa-devel] [PATCH] ASoC: soc-pcm: Use delay set in pointer function

2018-07-31 Thread Mark Brown
On Tue, Jul 31, 2018 at 12:32:59PM +0200, Takashi Iwai wrote: > Mark Brown wrote: > > However since it's not supposed to be providing any DMA a CPU DAI really > > shouldn't be doing this... > Well, if so, the CPU dai also cannot get the exact base delay > corresponding to the reported position, e

RE: [RFC PATCH 1/2] ARM: dt: fpga: Added binding docs for Xilinx zynqmp FPGA manager

2018-07-31 Thread Nava kishore Manne
Thanks for the quick response.. Please see my comments inline > -Original Message- > From: Michal Simek [mailto:michal.si...@xilinx.com] > Sent: Tuesday, July 31, 2018 5:48 PM > To: Nava kishore Manne ; robh...@kernel.org; > mark.rutl...@arm.com; Michal Simek ; Soren Brinkmann > ; at.

[PATCH] fs: ubifs: introduce Kconfig symbol for xattr support

2018-07-31 Thread Stefan Agner
Allow to disable extended attribute support. This aids in reliability testing, especially since some xattr related bugs have surfaced. Also an embedded system might not need it, so this allows for a slightly smaller kernel (about 4KiB). Signed-off-by: Stefan Agner --- fs/ubifs/Kconfig | 15 ++

Re: [PATCH 4/4] remoteproc: qcom: q6v5-pil: Add PDC restart for modem on SDM845 SoCs

2018-07-31 Thread Sibi S
Hi Philipp, Thanks for the review! On 07/31/2018 02:24 PM, Philipp Zabel wrote: On Fri, 2018-07-27 at 20:58 +0530, Sibi Sankar wrote: In the presence of a PDC block working with subsystem RSC, assert/deassert PDC restart in modem start/stop path. Signed-off-by: Sibi Sankar --- .../bindings/

Re: [PATCH 5/6] arm: enable RapidIO menu in Kconfig

2018-07-31 Thread Alex Bounine
On 2018-07-31 08:48 AM, Russell King - ARM Linux wrote: On Tue, Jul 31, 2018 at 08:43:02AM -0400, Alex Bounine wrote: On 2018-07-31 08:04 AM, Christoph Hellwig wrote: On Mon, Jul 30, 2018 at 06:50:33PM -0400, Alexei Colin wrote: diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index afe350e5e3

Re: [PATCH] mm: make __paginginit based on CONFIG_MEMORY_HOTPLUG

2018-07-31 Thread Oscar Salvador
On Tue, Jul 31, 2018 at 03:04:34PM +0200, Michal Hocko wrote: > On Tue 31-07-18 08:49:11, Pavel Tatashin wrote: > > Hi Oscar, > > > > Have you looked into replacing __paginginit via __meminit ? What is > > the reason to keep both? > > All these init variants make my head spin so reducing their nu

Re: [PATCH] sched/clock: disable irq for generic_sched_clock_init

2018-07-31 Thread Guenter Roeck
On Mon, Jul 30, 2018 at 09:52:52AM -0400, Pavel Tatashin wrote: > sched_clock_init() used be called early in boot when IRQs are still > disabled. Now, it is called when IRQs are already enabled, and this > triggers some warning: > > WARNING: CPU: 0 PID: 0 at kernel/time/sched_clock.c:180 > sched_

Re: [PATCH v2] perf build: Fix installation directory for bpf

2018-07-31 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 31, 2018 at 09:32:54AM +0200, Thomas Richter escreveu: > Output after using command ./perf test -Fv 40: > echo '...[bpf-program-source]...' | /usr/bin/clang ... \ >-I/root/lib/perf/include/bpf ... > > ... > [root@p23lp27 perf]# .

Re: [PATCH 34/38] vfs: syscall: Add fsinfo() to query filesystem information [ver #10]

2018-07-31 Thread David Howells
Jann Horn wrote: > > + strcpy(p->f_fs_name, dentry->d_sb->s_type->name); > > Can you use strlcpy() instead? From a quick look, I don't see anything > that actually limits the size of filesystem names, even though > everything in-kernel probably fits into the 16 bytes you've allocated > for

Re: [BUG BISECT] Ethernet fail on VF50 (OF: Don't set default coherent DMA mask)

2018-07-31 Thread Guenter Roeck
only to ensure DMA is actually possible - there can be systems where even the default 32-bit mask is no good - but clearly we're a little way off trying to enforce that just yet. Robin. Please note that sparc images still generate the warning (next-20180731). sunlance ffd35110: DMA mask

Re: [alsa-devel] [PATCH] ASoC: soc-pcm: Use delay set in pointer function

2018-07-31 Thread Takashi Iwai
On Tue, 31 Jul 2018 15:12:46 +0200, Mark Brown wrote: > > On Tue, Jul 31, 2018 at 12:32:59PM +0200, Takashi Iwai wrote: > > Mark Brown wrote: > > > > However since it's not supposed to be providing any DMA a CPU DAI really > > > shouldn't be doing this... > > > Well, if so, the CPU dai also cann

Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10]

2018-07-31 Thread Al Viro
On Tue, Jul 31, 2018 at 02:28:01PM +0200, Pavel Machek wrote: > > Your proposal means that userspace needs to detect "%s file", determine > > if the corresponding string consists of ^[0-9]*$, then parse the string > > to figure out which of the plik* words is the correct one to use. > > Have you a

[PATCH][media-next] media: i2c: mt9v111: fix off-by-one array bounds check

2018-07-31 Thread Colin King
From: Colin Ian King The check of fse->index is off-by-one and should be using >= rather than > to check the maximum allowed array index. Fix this. Detected by CoverityScan, CID#172122 ("Out-of-bounds read") Fixes: aab7ed1c3927 ("media: i2c: Add driver for Aptina MT9V111") Signed-off-by: Colin

Re: [PATCH 0/2] um: switch to NO_BOOTMEM

2018-07-31 Thread Mike Rapoport
Any comments on this? On Tue, Jul 24, 2018 at 04:23:12PM +0300, Mike Rapoport wrote: > Hi, > > These patches convert UML to use NO_BOOTMEM. > Tested on x86-64. > > Mike Rapoport (2): > um: setup_physmem: stop using global variables > um: switch to NO_BOOTMEM > > arch/um/Kconfig.common |

Re: [PATCH] timers: fix offset calculation when the expires align with LVL_GRAN

2018-07-31 Thread Xu YiPing
On 2018/7/30 19:03, Thomas Gleixner wrote: > On Fri, 27 Jul 2018, Xu YiPing wrote: > >> when the expires of timer is align with LVL_GRAN(n), it will be trigged >> in 'expires + LVL_GRAN(n)'. >> >> Some drivers like power runtime use the timer to start a power down >> of device, it could saves p

Re: [QUESTION] llist: Comment releasing 'must delete' restriction before traversing

2018-07-31 Thread Steven Rostedt
On Tue, 31 Jul 2018 18:38:09 +0900 Byungchul Park wrote: > On Tue, Jul 31, 2018 at 10:52:57AM +0200, Peter Zijlstra wrote: > > On Tue, Jul 31, 2018 at 09:58:36AM +0900, Byungchul Park wrote: > > > In restrictive cases like only addtions happen but never deletion, can't > > > we safely traverse

Re: linux-next: build warning after merge of the nfs-anna tree

2018-07-31 Thread Anna Schumaker
Hi David, On 07/31/2018 05:04 AM, David Wysochanski wrote: > On Mon, 2018-07-30 at 18:52 +1000, Stephen Rothwell wrote: >> Hi all, >> >> After merging the nfs-anna tree, today's linux-next build (powerpc >> ppc44x_defconfig, sparc defconfig) produced this warning: >> >> net/sunrpc/stats.c: In func

[PATCH v2 2/6] i2c: designware: move #ifdef CONFIG_OF to the top

2018-07-31 Thread Alexandre Belloni
Move the #ifdef CONFIG_OF section to the top of the file, after the ACPI section so functions defined there can be used in dw_i2c_plat_probe. Signed-off-by: Alexandre Belloni --- drivers/i2c/busses/i2c-designware-platdrv.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) d

[PATCH v2 0/6] Add support for MSCC Ocelot i2c

2018-07-31 Thread Alexandre Belloni
Hi, Because the designware IP was not able to handle the SDA hold time before version 1.11a, MSCC has its own implementation. Add support for it and then add i2c on ocelot boards. I would expect patches 1 to 4 to go through the i2c tree and 5-6 through the mips tree once patch 4 has been reviewed

[PATCH v2 4/6] i2c: designware: add MSCC Ocelot support

2018-07-31 Thread Alexandre Belloni
The Microsemi Ocelot I2C controller is a designware IP. It also has a second set of registers to allow tweaking SDA hold time and spike filtering. Cc: Rob Herring Signed-off-by: Alexandre Belloni --- Changes in v2: - improved binding doc - changed the model handling as suggested by Andy .../

[PATCH v2 6/6] mips: dts: mscc: enable i2c on ocelot_pcb123

2018-07-31 Thread Alexandre Belloni
Enable the i2c controller on ocelot PCB123. While there are no i2c devices on the board itself, it can be used to control the SFP transceivers. Signed-off-by: Alexandre Belloni --- arch/mips/boot/dts/mscc/ocelot_pcb123.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/boot/

[PATCH v2 5/6] mips: dts: mscc: Add i2c on ocelot

2018-07-31 Thread Alexandre Belloni
Ocelot has an i2c controller, add it. There is only one possible pinmux configuration so add it as well. Signed-off-by: Alexandre Belloni --- arch/mips/boot/dts/mscc/ocelot.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/mips/boot/dts/mscc/ocelot.dtsi b/arch/mi

[PATCH 2/3] scsi: fcoe: drop frames in ELS LOGO error path

2018-07-31 Thread Johannes Thumshirn
Drop the frames in the ELS LOGO error path instead of just returning an error. This fixes the following kmemleak report: unreferenced object 0x880064cb1000 (size 424): comm "kworker/0:2", pid 24, jiffies 4294904293 (age 68.504s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00

[PATCH v2 1/6] i2c: designware: use generic table matching

2018-07-31 Thread Alexandre Belloni
Switch to device_get_match_data in probe to match the device specific data instead of using the acpi specific function. Suggested-by: Andy Shevchenko Signed-off-by: Alexandre Belloni --- drivers/i2c/busses/i2c-designware-platdrv.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) dif

[PATCH 1/3] fcoe: fix use-after-free in fcoe_ctlr_els_send

2018-07-31 Thread Johannes Thumshirn
KASAN reports a use-after-free in fcoe_ctlr_els_send() when we're sending a LOGO and have FIP debugging enabled. This is because we're first freeing the skb and then printing the frame's DID. But the DID is a member of the FC frame header which in turn is the skb's payload. Exchange the debug prin

[PATCH v2 3/6] i2c: designware: allow IP specific sda_hold_time

2018-07-31 Thread Alexandre Belloni
Because some old designware IPs were not supporting setting an SDA hold time, vendors developed their own solution. Add a way for the final driver to provide its own SDA hold time handling. Signed-off-by: Alexandre Belloni Reviewed-by: Andy Shevchenko --- Changes in v2: - rebased on i2c-next

Re: [alsa-devel] [PATCH] ASoC: soc-pcm: Use delay set in pointer function

2018-07-31 Thread Mark Brown
On Tue, Jul 31, 2018 at 03:29:35PM +0200, Takashi Iwai wrote: > Mark Brown wrote: > > > > However since it's not supposed to be providing any DMA a CPU DAI really > > > > shouldn't be doing this... > > > Well, if so, the CPU dai also cannot get the exact base delay > > > corresponding to the repo

Re: [PATCH v2 2/2] kernel.h: Disable -Wreturn-stack-address for _THIS_IP_

2018-07-31 Thread kbuild test robot
/commits/Nick-Desaulniers/compiler-clang-h-Add-CLANG_VERSION-and-__diag-macros/20180731-161932 config: x86_64-randconfig-s1-07312048 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All

Re: [alsa-devel] [PATCH] ASoC: soc-pcm: Use delay set in pointer function

2018-07-31 Thread Takashi Iwai
On Tue, 31 Jul 2018 15:51:15 +0200, Mark Brown wrote: > > On Tue, Jul 31, 2018 at 03:29:35PM +0200, Takashi Iwai wrote: > > Mark Brown wrote: > > > > > > However since it's not supposed to be providing any DMA a CPU DAI > > > > > really > > > > > shouldn't be doing this... > > > > > Well, if so

Re: [PATCH v2] watchdog: add driver for the MEN 16z069 IP-Core

2018-07-31 Thread Johannes Thumshirn
On Mon, Jul 16, 2018 at 09:25:10AM +0200, Johannes Thumshirn wrote: > Add a driver for the MEN 16z069 Watchdog and Reset Controller IP-Core. > > Signed-off-by: Johannes Thumshirn Wim, Any comments about this driver? The merge window is about to open and I haven't heard any statement from you if

Re: [PATCH v2 1/6] i2c: designware: use generic table matching

2018-07-31 Thread Andy Shevchenko
On Tue, 2018-07-31 at 15:47 +0200, Alexandre Belloni wrote: > Switch to device_get_match_data in probe to match the device specific > data > instead of using the acpi specific function. > Reviewed-by: Andy Shevchenko > Suggested-by: Andy Shevchenko > Signed-off-by: Alexandre Belloni > --- >

[PATCH][next] xen/gntdev: don't dereference a null gntdev_dmabuf on allocation failure

2018-07-31 Thread Colin King
From: Colin Ian King Currently when the allocation of gntdev_dmabuf fails, the error exit path will call dmabuf_imp_free_storage and causes a null pointer dereference on gntdev_dmabuf. Fix this by adding an error exit path that won't free gntdev_dmabuf. Detected by CoverityScan, CID#1472124 ("D

Re: [PATCH v2 2/6] i2c: designware: move #ifdef CONFIG_OF to the top

2018-07-31 Thread Andy Shevchenko
On Tue, 2018-07-31 at 15:47 +0200, Alexandre Belloni wrote: > Move the #ifdef CONFIG_OF section to the top of the file, after the > ACPI > section so functions defined there can be used in dw_i2c_plat_probe. > Reviewed-by: Andy Shevchenko > Signed-off-by: Alexandre Belloni > --- > drivers/i2c

Re: [PATCH v2] watchdog: add driver for the MEN 16z069 IP-Core

2018-07-31 Thread Guenter Roeck
On 07/31/2018 06:57 AM, Johannes Thumshirn wrote: On Mon, Jul 16, 2018 at 09:25:10AM +0200, Johannes Thumshirn wrote: Add a driver for the MEN 16z069 Watchdog and Reset Controller IP-Core. Signed-off-by: Johannes Thumshirn Wim, Any comments about this driver? The merge window is about to ope

Re: [BUG BISECT] Ethernet fail on VF50 (OF: Don't set default coherent DMA mask)

2018-07-31 Thread Robin Murphy
sks as the documentation in DMA-API-HOWTO.txt recommends, if only to ensure DMA is actually possible - there can be systems where even the default 32-bit mask is no good - but clearly we're a little way off trying to enforce that just yet. Robin. Please note that sparc images still genera

Re: [PATCH v2 4/6] i2c: designware: add MSCC Ocelot support

2018-07-31 Thread Andy Shevchenko
On Tue, 2018-07-31 at 15:47 +0200, Alexandre Belloni wrote: > The Microsemi Ocelot I2C controller is a designware IP. It also has a > second set of registers to allow tweaking SDA hold time and spike > filtering. > Reviewed-by: Andy Shevchenko (except the bindings, not my area) > Cc: Rob Herri

ASCE International Conference on Transportation & Development 2018 Attendees List

2018-07-31 Thread Robin Lillian
Hi, This is an outstanding offer for the *ASCE International Conference on Transportation & Development **2018 Exhibitors * I am writing to check if you would be interested in acquiring the list of attendees for your marketing and sales initiatives. This is an opportunity to acquire list o

Re: [PATCH v2 0/6] Add support for MSCC Ocelot i2c

2018-07-31 Thread Andy Shevchenko
On Tue, 2018-07-31 at 15:47 +0200, Alexandre Belloni wrote: > Hi, > > Because the designware IP was not able to handle the SDA hold time > before > version 1.11a, MSCC has its own implementation. Add support for it and > then add > i2c on ocelot boards. > > I would expect patches 1 to 4 to go thr

Re: [PATCH] timers: fix offset calculation when the expires align with LVL_GRAN

2018-07-31 Thread Thomas Gleixner
On Tue, 31 Jul 2018, Xu YiPing wrote: > On 2018/7/30 19:03, Thomas Gleixner wrote: > > > > __internal_add_timer(base, timer) > > { > >idx = calc_wheel_index(1, 1) > >{ > >delta = 1 - 1; <- 0 > > > >if (0 < LVL_START(1)) > >idx = calc_index(

[PATCH] net/mlx5e: Fix uninitialized variable

2018-07-31 Thread Gustavo A. R. Silva
There is a potential execution path in which variable *err* is returned without being properly initialized previously. Fix this by initializing variable *err* to 0. Addresses-Coverity-ID: 1472116 ("Uninitialized scalar variable") Fixes: 0ec13877ce95 ("net/mlx5e: Gather all XDP pre-requisite check

Re: [PATCH v2 1/6] i2c: designware: use generic table matching

2018-07-31 Thread Andy Shevchenko
On Tue, 2018-07-31 at 17:02 +0300, Andy Shevchenko wrote: > On Tue, 2018-07-31 at 15:47 +0200, Alexandre Belloni wrote: > > Switch to device_get_match_data in probe to match the device > > specific > > data > > instead of using the acpi specific function. > > > > Reviewed-by: Andy Shevchenko Oo

web and mobile app development

2018-07-31 Thread Vivek Shah
Hello, Are you in search of a suitable app development agency to nurture and transform your creative app idea into reality? Well, your search ends here. We are based in India. We are in the mobile app development domain for last seven years and with a team of 120+ web and mobile app development

Re: [PATCH v2 0/6] perf cs-etm: Fix tracing packet handling and minor refactoring

2018-07-31 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 23, 2018 at 09:35:07AM +0800, leo@linaro.org escreveu: > Hi Arnaldo, > > On Wed, Jul 11, 2018 at 03:45:39PM +0800, Leo Yan wrote: > > Just want to confirm, I saw the first two patches in this serise have > been merged into perf/core branch [1], but the last 4 patches are > missed.

[PATCH] pinctrl: berlin: fix 'pctrl->functions' allocation in berlin_pinctrl_build_state

2018-07-31 Thread YueHaibing
fixes following Smatch static check warning: drivers/pinctrl/berlin/berlin.c:237 berlin_pinctrl_build_state() warn: passing devm_ allocated variable to kfree. 'pctrl->functions' As we will be calling krealloc() on pointer 'pctrl->functions', which means kfree() will be called in there, devm_kza

[PATCH] perf/core: Fix possible Spectre-v1 for perf_swevent_enabled

2018-07-31 Thread Jinbum Park
User controls @event_id which to be used as index of perf_swevent_enabled. So, It can be exploited via Spectre-like attack. (speculative execution) So sanitize @event_id before using it to prevent attack. I leveraged strategy [1] to find this gadget. [1] https://github.com/jinb-park/linux-exploi

Re: [RFC PATCH 0/4] file: export functions for binder module

2018-07-31 Thread Ben Hutchings
On Mon, 2018-07-30 at 09:34 -0700, Christoph Hellwig wrote: > On Mon, Jul 30, 2018 at 04:37:06PM +0200, Christian Brauner wrote: > > Hey, > > > > We currently plan on turning the Android binder and ashmem driver into a > > module. We have seen more and more requests by users to be able to use > >

Re: [PATCH] perf vendor events arm64: Update ThunderX2 implementation defined pmu core events

2018-07-31 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 31, 2018 at 03:32:51PM +0530, Ganapatrao Kulkarni escreveu: > Signed-off-by: Ganapatrao Kulkarni Can you please consider to provide an example of such counters being used, i.e. with a simple C synthetic test that causes these events to take place, then run it via 'perf stat' to show t

Re: [PATCH v2 11/11] mm,sched: conditionally skip lazy TLB mm refcounting

2018-07-31 Thread Andy Lutomirski
> On Jul 31, 2018, at 2:12 AM, Peter Zijlstra wrote: > >> On Mon, Jul 30, 2018 at 09:05:55PM -0400, Rik van Riel wrote: >>> On Mon, 2018-07-30 at 18:26 +0200, Peter Zijlstra wrote: >>> >>> So for ARCH_NO_ACTIVE_MM we never touch ->active_mm and therefore >>> ->active_mm == ->mm. >> >> Close,

Re: [PATCH v2 0/6] Add support for MSCC Ocelot i2c

2018-07-31 Thread Alexandre Belloni
On 31/07/2018 17:17:47+0300, Andy Shevchenko wrote: > On Tue, 2018-07-31 at 15:47 +0200, Alexandre Belloni wrote: > > Hi, > > > > Because the designware IP was not able to handle the SDA hold time > > before > > version 1.11a, MSCC has its own implementation. Add support for it and > > then add >

Re: [PATCH 2/6] x86: factor out RapidIO Kconfig menu;

2018-07-31 Thread Alex Bounine
On 2018-07-30 06:55 PM, Thomas Gleixner wrote: On Mon, 30 Jul 2018, Alexei Colin wrote: The menu entry is now defined in the rapidio subtree. This could be folded into the patch which actually adds the rapidio specific Kconfig to avoid kconfig complaining about double entries. Please share

[RESEND PATCH 1/6] rapidio: define top Kconfig menu in driver subtree

2018-07-31 Thread Alexei Colin
The top-level Kconfig entry for RapidIO subsystem is currently duplicated in several architecture-specific Kconfigs. This commit re-defines it in the driver subtree, and subsequent commits, one per architecture, will remove the duplicated definitions from respective per-architecture Kconfigs. Cc:

Re: [QUESTION] llist: Comment releasing 'must delete' restriction before traversing

2018-07-31 Thread Paul E. McKenney
On Tue, Jul 31, 2018 at 06:29:50PM +0900, Byungchul Park wrote: > On Mon, Jul 30, 2018 at 09:30:42PM -0700, Paul E. McKenney wrote: > > On Tue, Jul 31, 2018 at 09:58:36AM +0900, Byungchul Park wrote: > > > Hello folks, > > > > > > I'm careful in saying.. and curious about.. > > > > > > In restric

Re: [PATCH v2 1/6] i2c: designware: use generic table matching

2018-07-31 Thread Alexandre Belloni
On 31/07/2018 17:23:04+0300, Andy Shevchenko wrote: > On Tue, 2018-07-31 at 17:02 +0300, Andy Shevchenko wrote: > > On Tue, 2018-07-31 at 15:47 +0200, Alexandre Belloni wrote: > > > Switch to device_get_match_data in probe to match the device > > > specific > > > data > > > instead of using the acp

Re: [PATCH] timers: fix offset calculation when the expires align with LVL_GRAN

2018-07-31 Thread Thomas Gleixner
On Tue, 31 Jul 2018, Thomas Gleixner wrote: > On Tue, 31 Jul 2018, Xu YiPing wrote: > > On 2018/7/30 19:03, Thomas Gleixner wrote: > > > > > > __internal_add_timer(base, timer) > > > { > > >idx = calc_wheel_index(1, 1) > > >{ > > >delta = 1 - 1; <- 0 > > > > > >

Re: [PATCH] pwm: pwm-omap-dmtimer: fix probing problems by returning EPROBE_DEFER

2018-07-31 Thread David Rivshin
On Tue, 31 Jul 2018 08:35:26 +0200 "H. Nikolaus Schaller" wrote: > > Am 31.07.2018 um 00:56 schrieb David Rivshin : > > > > On Sun, 29 Jul 2018 20:19:08 +0200 > > "H. Nikolaus Schaller" wrote: > > > >> Hi, > >> > >>> Am 29.07.2018 um 20:08 schrieb Ladislav Michl : > >>> > >>> On Sun, Jul

Re: [PATCH v10 7/7] Bluetooth: hci_qca: Add support for Qualcomm Bluetooth chip wcn3990

2018-07-31 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-07-31 01:37, Matthias Kaehlcke wrote: On Fri, Jul 27, 2018 at 05:09:02PM +0530, Balakrishna Godavarthi wrote: Hi Matthias, On 2018-07-27 01:21, Matthias Kaehlcke wrote: > On Thu, Jul 26, 2018 at 07:51:13PM +0530, Balakrishna Godavarthi wrote: > > Hi Matthias, > > > > On 20

[PATCH v4 2/3] mips: dts: mscc: Add spi on Ocelot

2018-07-31 Thread Alexandre Belloni
Add support for the SPI controller Signed-off-by: Alexandre Belloni --- arch/mips/boot/dts/mscc/ocelot.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/mips/boot/dts/mscc/ocelot.dtsi b/arch/mips/boot/dts/mscc/ocelot.dtsi index 4f33dbc67348..f7616a476247 100644 --- a/ar

[PATCH v4 3/3] mips: dts: mscc: enable spi and NOR flash support on ocelot PCB123

2018-07-31 Thread Alexandre Belloni
Ocelot PCB123 has a SPI NOR connected on its SPI bus. Signed-off-by: Alexandre Belloni --- arch/mips/boot/dts/mscc/ocelot_pcb123.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/mips/boot/dts/mscc/ocelot_pcb123.dts b/arch/mips/boot/dts/mscc/ocelot_pcb123.dts index 4ccd65

[PATCH v4 0/3] Add support for MSCC Ocelot SPI

2018-07-31 Thread Alexandre Belloni
Hello, This series only contains the DT documentation and the corresponding DT addition since it has been rebased on spi-next. Alexandre Belloni (3): spi: dw: document Microsemi integration mips: dts: mscc: Add spi on Ocelot mips: dts: mscc: enable spi and NOR flash support on ocelot PCB123

[PATCH v4 1/3] spi: dw: document Microsemi integration

2018-07-31 Thread Alexandre Belloni
The integration of the Designware SPI controller on Microsemi SoCs requires an extra register set to be able to give the IP control of the SPI interface. Cc: Rob Herring Signed-off-by: Alexandre Belloni --- Changes in v4: - changed subject to be prefixed by spi: dw: - documented possible valu

Re: [PATCH v2] prctl: add PR_[GS]ET_KILLABLE

2018-07-31 Thread Oleg Nesterov
On 07/31, Jürg Billeter wrote: > > PR_SET_KILLABLE clears the SIGNAL_UNKILLABLE flag. This allows > CLONE_NEWPID tasks to restore normal signal behavior, opting out of the > special signal protection for init processes. This prctl does not allow > setting the SIGNAL_UNKILLABLE flag, only clearing.

Re: [alsa-devel] [PATCH] ASoC: soc-pcm: Use delay set in pointer function

2018-07-31 Thread Mark Brown
On Tue, Jul 31, 2018 at 03:56:52PM +0200, Takashi Iwai wrote: > Mark Brown wrote: > > Yes. I'm saying that if the CPU DAI thinks it can figure out the base > > delay something is confused. > Then basically Akshu's patch does the correct thing, I suppose. I think so. Could perhaps do with a lit

Applied "spi: dw: document Microsemi integration" to the spi tree

2018-07-31 Thread Mark Brown
The patch spi: dw: document Microsemi integration has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.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 Linus du

Re: [PATCH] mm: make __paginginit based on CONFIG_MEMORY_HOTPLUG

2018-07-31 Thread Oscar Salvador
On Tue, Jul 31, 2018 at 08:49:11AM -0400, Pavel Tatashin wrote: > Hi Oscar, > > Have you looked into replacing __paginginit via __meminit ? What is > the reason to keep both? Hi Pavel, Actually, thinking a bit more about this, it might make sense to remove __paginginit altogether and keep only __

Re: [PATCH v11 7/7] Bluetooth: hci_qca: Add support for Qualcomm Bluetooth chip wcn3990

2018-07-31 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-07-31 02:25, Matthias Kaehlcke wrote: On Fri, Jul 27, 2018 at 07:43:20PM +0530, Balakrishna Godavarthi wrote: From: Balakrishna Godavarthi Add support to set voltage/current of various regulators to power up/down Bluetooth chip wcn3990. Signed-off-by: Balakrishna Godavar

Re: [PATCH] mm: make __paginginit based on CONFIG_MEMORY_HOTPLUG

2018-07-31 Thread Pavel Tatashin
Hi Oscar, There is a simpler way. I will send it out in a bit. No need for your first function, only setup_usemap() needs to be changed to __ref. Pavel On Tue, Jul 31, 2018 at 10:42 AM Oscar Salvador wrote: > > On Tue, Jul 31, 2018 at 08:49:11AM -0400, Pavel Tatashin wrote: > > Hi Oscar, > > >

Re: linux-next: Tree for Jul 31

2018-07-31 Thread Guenter Roeck
On Tue, Jul 31, 2018 at 06:22:52PM +1000, Stephen Rothwell wrote: > Hi all, > > Changes since 20180730: > > The block tree gained a build failure so I used the version from > next-20180730. > > The kvms390 tree gained a conflict against the kvm-arm tree. > > The staging tree still had its build

Re: [PATCH] mm: make __paginginit based on CONFIG_MEMORY_HOTPLUG

2018-07-31 Thread Pavel Tatashin
On Tue, Jul 31, 2018 at 10:43 AM Pavel Tatashin wrote: > > Hi Oscar, > > There is a simpler way. I will send it out in a bit. No need for your first > function, only setup_usemap() needs to be changed to __ref. I meant first patch not function :) > > Pavel > On Tue, Jul 31, 2018 at 10:42 AM O

Re: [PATCH] mm: make __paginginit based on CONFIG_MEMORY_HOTPLUG

2018-07-31 Thread Pavel Tatashin
On 18-07-31 16:41:57, Oscar Salvador wrote: > On Tue, Jul 31, 2018 at 08:49:11AM -0400, Pavel Tatashin wrote: > > Hi Oscar, > > > > Have you looked into replacing __paginginit via __meminit ? What is > > the reason to keep both? > Hi Pavel, > > Actually, thinking a bit more about this, it might m

Re: [PATCH v2 0/6] perf cs-etm: Fix tracing packet handling and minor refactoring

2018-07-31 Thread leo . yan
On Tue, Jul 31, 2018 at 11:24:45AM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Jul 23, 2018 at 09:35:07AM +0800, leo@linaro.org escreveu: > > Hi Arnaldo, > > > > On Wed, Jul 11, 2018 at 03:45:39PM +0800, Leo Yan wrote: > > > > Just want to confirm, I saw the first two patches in this ser

Re: [PATCH] timers: Clear must_forward_clk inside base lock

2018-07-31 Thread Thomas Gleixner
Gaurav, On Tue, 31 Jul 2018, Kohli, Gaurav wrote: > Can you please review below patch and update your comments: It's on the todo list already. We're not machines and a week time before sending a reminder is really appropriate. Thanks, tglx

<    1   2   3   4   5   6   7   >