[PATCH] clk: x86: Set default parent to 48Mhz

2018-08-21 Thread Akshu Agrawal
System clk provided in ST soc can be set to: 48Mhz, non-spread 25Mhz, spread To get accurate rate, we need it to set it at non-spread option which is 48Mhz. Signed-off-by: Akshu Agrawal --- drivers/clk/x86/clk-st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2 01/32] tracing: Allow gcov profiling on only ftrace subsystem

2018-08-21 Thread Masami Hiramatsu
Hi Steve, On Mon, 20 Aug 2018 11:33:49 -0400 Steven Rostedt wrote: > On Mon, 20 Aug 2018 11:32:13 -0400 > Steven Rostedt wrote: > > > Other than that, it looks fine to me. > > This patch also seems out of place for the series. Yes, this one is the patch for ftrace, not ftracetest. > Want

Re: [PATCH 0/3] Fix get_user and put_user pointer issue

2018-08-21 Thread Greentime Hu
Zong Li 於 2018年8月13日 週一 下午5:27寫道: > > These patches fix the issue of expand macro with pointer argument, > clean up the coding style and refactor the macro by extracting the > checking and getting pointer to another macro definition. > > > Zong Li (3): > nds32: Fix get_user/put_user macro

Re: [PATCH 0/6] Support ftrace on NDS32 architecture

2018-08-21 Thread Greentime Hu
Zong Li 於 2018年8月15日 週三 下午5:35寫道: > > This patch set implements the ftrace function and function graph tracer > on NDS32 architecture. We try to use C code to do everything, so we don't > need to separate the implementation to assembly code and C code, we just > need one ftrace.c file. > > In

Re: [PATCH] scripts/dtc: consolidate include path options in Makefile

2018-08-21 Thread Masahiro Yamada
Hi Frank, 2018-08-21 14:37 GMT+09:00 Frank Rowand : > On 08/20/18 19:08, Masahiro Yamada wrote: >> Hi Frank, >> >> 2018-08-21 10:31 GMT+09:00 Frank Rowand : >>> On 08/20/18 14:32, Rob Herring wrote: On Mon, Aug 20, 2018 at 1:55 PM Frank Rowand wrote: > > On 07/03/18 18:59,

Re: [LINUX PATCH v10 2/2] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-08-21 Thread Miquel Raynal
Hi Naga, > > And why is it an s32 and not a u32? > To monitor NAND_CMD_STATUS. > Sometimes core will just send status command without reading back the status > data and later > It will try to read one byte using ->exec_op(). > So Arasan has FLASH_STS register and whenever we initiate a status

Re: [RFC PATCH 3/5] RISC-V: Add cpu_operatios structure

2018-08-21 Thread Christoph Hellwig
On Thu, Aug 16, 2018 at 11:51:03AM +0530, Anup Patel wrote: > Having thought about this more, I think cpu_ops should be an pointer array > of NR_CPUS size. This means its not necessary to have have same ops for > all CPUs. The ARM64 implementation of CPU operations also allows separate > CPU

[PATCH v1 2/2]: perf record: enable asynchronous trace writing

2018-08-21 Thread Alexey Budankov
Trace file offsets are different for every enqueued write operation and calculated dynamically in trace streaming loop and don't overlap so write requests can be written in parallel. record__mmap_read_sync implements sort of a barrier between spilling ready profiling data to disk.

Re: linux-next: manual merge of the mfd tree with the drm-intel tree

2018-08-21 Thread Geert Uytterhoeven
On Thu, Aug 16, 2018 at 8:05 PM Stephen Rothwell wrote: > On Thu, 26 Jul 2018 15:10:06 +1000 Stephen Rothwell > wrote: > > Today's linux-next merge of the mfd tree got a conflict in: > > > > drivers/gpu/drm/i915/intel_display.h > > > > between commit: > > > > 6075546f57f8 ("drm/i915/icl:

[PATCH] cpuidle: menu: Retain tick when shallow state is selected

2018-08-21 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The case addressed by commit 5ef499cd571c (cpuidle: menu: Handle stopped tick more aggressively) in the stopped tick case is present when the tick has not been stopped yet too. Namely, if only two CPU idle states, shallow state A with target residency significantly below

RE: [LINUX PATCH v10 1/2] dt-bindings: mtd: arasan: Add device tree binding documentation

2018-08-21 Thread Naga Sureshkumar Relli
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Tuesday, August 21, 2018 11:30 AM > To: Naga Sureshkumar Relli > Cc: miquel.ray...@bootlin.com; rich...@nod.at; dw...@infradead.org; > computersforpe...@gmail.com; marek.va...@gmail.com;

[PATCH -tip 2/5] kprobes: Remove meaningless BUG_ON from add_new_kprobe

2018-08-21 Thread Masami Hiramatsu
Before calling add_new_kprobe(), aggr_probe's GONE flag and kprobe GONE flag are cleared. We don't need to worry about that flag at this point. Signed-off-by: Masami Hiramatsu --- kernel/kprobes.c |2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/kprobes.c b/kernel/kprobes.c index

[PATCH -tip 3/5] kprobes: Remove meaningless BUG_ON from reuse_unused_kprobe

2018-08-21 Thread Masami Hiramatsu
Since reuse_unused_kprobe is called when the given kprobe is unused, checking it inside again with BUG_ON is meaningless. Remove it. Signed-off-by: Masami Hiramatsu --- kernel/kprobes.c |1 - 1 file changed, 1 deletion(-) diff --git a/kernel/kprobes.c b/kernel/kprobes.c index

Re: [PATCH 2/2] dmaengine: uniphier-mdmac: add UniPhier MIO DMAC driver

2018-08-21 Thread Masahiro Yamada
(+CC LKML just in case) 2018-08-21 18:30 GMT+09:00 Masahiro Yamada : > The MIO DMAC (Media IO DMA Controller) is used in UniPhier LD4, > Pro4, and sLD8 SoCs. > > Signed-off-by: Masahiro Yamada > --- > > MAINTAINERS | 1 + > drivers/dma/Kconfig | 11 + >

Re: [LINUX PATCH v10 1/2] dt-bindings: mtd: arasan: Add device tree binding documentation

2018-08-21 Thread Miquel Raynal
Hi Naga, Naga Sureshkumar Relli wrote on Tue, 21 Aug 2018 09:22:07 +: > Hi Boris, > > > -Original Message- > > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > > Sent: Tuesday, August 21, 2018 11:30 AM > > To: Naga Sureshkumar Relli > > Cc: miquel.ray...@bootlin.com;

Re: [PATCH 0/2] Remove the deprecated ABI implementation

2018-08-21 Thread Greentime Hu
Zong Li 於 2018年8月20日 週一 上午10:15寫道: > > This patches remove the implementation of NDS32_ABI_2 and > replace the magic number of offset of lp on stack. > > In stacktrace.c, we dump the stack without considering the old > ABI, it should be consistent in traps.c. > > Zong Li (2): > nds32: Remove

[PATCH v4] mtd: spi-mem: Add the default transfer length adjustments

2018-08-21 Thread Chuanhua Han
We need that to adjust the len of the 2nd transfer (called data in spi-mem) if it's too long to fit in a SPI message or SPI transfer. Fixes: c36ff266dc82 ("spi: Extend the core to ease integration of SPI memory controllers") Cc: Signed-off-by: Boris Brezillon Signed-off-by: Chuanhua Han

Re: Enumeration issue with QCA9005 AR9462

2018-08-21 Thread Lukas Wunner
On Tue, Aug 21, 2018 at 07:47:04AM +0200, Lukas Wunner wrote: > On Mon, Aug 20, 2018 at 06:06:24PM -0500, Bjorn Helgaas wrote: > > mmyan...@gmail.com reported a problem [1]: on v4.17, a QCA9005 AR9462 > > wifi device was present at boot, but disappeared after suspend/resume. > > > > He also

Re: mfd: cros_ec: Check for mkbp events on resume only if supported.

2018-08-21 Thread Marek Szyprowski
Hi Ravi, On 2018-08-20 17:34, RaviChandra Sadineni wrote: > Currently on every resume we check for mkbp events and notify the > clients. This helps in identifying the wakeup sources. But on devices > that do not support mkbp protocol, we might end up querying key state of > the keyboard in a loop

[PATCH v2.1] tracing: Allow gcov profiling on only ftrace subsystem

2018-08-21 Thread Masami Hiramatsu
Add GCOV_PROFILE_FTRACE to allow gcov profiling on only files in ftrace subsystem. This config option will be used for checking kselftest/ftrace coverage. Signed-off-by: Masami Hiramatsu --- Changes in v2.1: - Fix description according to Steve's comment. --- kernel/trace/Kconfig | 12

Re: [RFC][PATCH] lib/string: introduce sysfs_strncpy() and sysfs_strlcpy()

2018-08-21 Thread Rasmus Villemoes
On 2018-08-21 08:24, Sergey Senozhatsky wrote: > +/** > + * sysfs_strncpy - Trim a length-limited C-string (wgutesoaces and a trailing > + * newline symbol) and copy into a buffer > + * @dest: Where to copy the string to > + * @src: Where to copy the string from > + * @count: The

Re: linux-next: manual merge of the mfd tree with the sound tree

2018-08-21 Thread Geert Uytterhoeven
On Fri, Jul 20, 2018 at 5:42 AM Stephen Rothwell wrote: > Today's linux-next merge of the mfd tree got a conflict in: > > drivers/gpu/drm/i915/Kconfig > > between commit: > > a57942bfdd61 ("ALSA: hda: Make audio component support more generic") > > from the sound tree and commit: > >

Re: [RFC PATCH] compiler.h: give up __compiletime_assert_fallback()

2018-08-21 Thread Daniel Santos
On 08/19/2018 03:25 PM, Nick Desaulniers wrote: > + gbiv who wrote this cool paste (showing alternatives to > _Static_assert, which is supported by both compilers in -std=gnu89, > but not until gcc 4.6): https://godbolt.org/g/DuLsxu > > I can't help but think that BUILD_BUG_ON_MSG should use >

[PATCH] mtd: rawnand: denali: do not pass zero maxchips to nand_scan()

2018-08-21 Thread Masahiro Yamada
Commit 49aa76b16676 ("mtd: rawnand: do not execute nand_scan_ident() if maxchips is zero") gave a new meaning for calling nand_scan_ident() with maxchips=0. It is a special usage for some drivers such as docg4, but in fact the Denali driver may pass maxchips=0 to nand_scan() when the driver is

Re: [PATCH RESEND v1 1/5] dt-bindings: pinctrl: add wakeup capable GPIOs for SDM845

2018-08-21 Thread Marc Zyngier
On 21/08/18 00:19, Bjorn Andersson wrote: > On Fri 17 Aug 12:10 PDT 2018, Lina Iyer wrote: >> diff --git >> a/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.txt >> b/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.txt > [..] >> @@ -155,11 +166,52 @@ Example: >>

Re: [PATCH v4 2/2] media: usb: pwc: Don't use coherent DMA buffers for ISO transfer

2018-08-21 Thread Matwey V. Kornilov
2018-08-17 20:44 GMT+03:00 Matwey V. Kornilov : > пт, 10 авг. 2018 г. в 17:27, Alan Stern : >> >> On Fri, 10 Aug 2018, Laurent Pinchart wrote: >> >> > > > Aren't you're missing a dma_sync_single_for_device() call before >> > > > submitting the URB ? IIRC that's required for correct operation of

Re: [PATCH v1 2/5] cpuidle: menu: Record tick delta value in struct menu_device

2018-08-21 Thread Rafael J. Wysocki
On Sunday, August 12, 2018 6:09:28 PM CEST Leo Yan wrote: > Since the tick delta is used in multiple places in menu_select(), it's > better to use single one variable to record this value; furthermore, for > more readable we can refactor the code to split a separate function to > making decision

Re: [PATCH v1 4/5] cpuidle: menu: Don't stay in shallow state for a long time

2018-08-21 Thread Rafael J. Wysocki
On Sunday, August 12, 2018 6:09:30 PM CEST Leo Yan wrote: > To avoid staying in a shallow state for a long time, the menu governor > relies on not stopping tick when detects the prediction is shorter than > the tick event. This is just luckily to cover most cases but cannot say > it is completely

Re: [PATCH v2] staging: rtl8188eu: Removed a function and coded inline

2018-08-21 Thread Dan Carpenter
Looks good. Thanks. regards, dan carpenter

Re: [PATCH 1/2] dt-bindings: dmaengine: add DT binding for UniPhier MIO DMAC

2018-08-21 Thread Masahiro Yamada
(+CC Rob, DT, LKML) I forgot to CC this to DT community... 2018-08-21 18:30 GMT+09:00 Masahiro Yamada : > The MIO DMAC (Media IO DMA Controller) is used in UniPhier LD4, > Pro4, and sLD8 SoCs. > > Signed-off-by: Masahiro Yamada > --- > > .../devicetree/bindings/dma/uniphier-mio-dmac.txt | 28

[PATCH 3/6] afs: Move the source fs parameter to the first position

2018-08-21 Thread David Howells
Move the source fs parameter to the first position in the parameter list, numerically speaking. Note that it isn't moved in the key string table as that's a sorted list. Signed-off-by: David Howells --- fs/afs/super.c | 20 ++-- 1 file changed, 10 insertions(+), 10

vfs: Fixes/adjustments for mount API stuff

2018-08-21 Thread David Howells
Hi Al, Can you add these patches to the mount API stuff? There are some fixes and some adjustments to the code. The patches can also be found here: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=mount-api-2 Thanks, David --- Andrei Vagin (1): proc:

[PATCH 1/6] vfs: Fix vfs_dup_fs_context()

2018-08-21 Thread David Howells
vfs_dup_fs_context() allocates the wrong type of structure and as a result ends up with one that's too small. This isn't a problem at this time as nothing uses vfs_dup_fs_context() yet (until nfs and btrfs conversions come along). Fixes: ad3e21240b41 ("vfs: Implement a filesystem superblock

Re: [RFC][PATCH] lib/string: introduce sysfs_strncpy() and sysfs_strlcpy()

2018-08-21 Thread Sergey Senozhatsky
On (08/21/18 18:50), Sergey Senozhatsky wrote: > > Going point, that's why the patch is in RFC stage: to figure out > what do we actually want. s/Going/Good/ don't know how did that happen. -ss

[PATCH 2/6] vfs: Fix fs_context logging when there's no log

2018-08-21 Thread David Howells
If an fs_context-based mount is called from mount(2) or some other place that doesn't set up the logging-through-fd, then under some circumstances an oops will occur due to the log being unconditionally accessed in logfc(). Fix this by checking whether there is a log structure before attempting

[PATCH] ASoC: AMD: Set constraints for DMIC and MAX98357a codec

2018-08-21 Thread Akshu Agrawal
We support dual channel, 48Khz. This constraint was set only for da7219. It is being extended to DMIC and MAX98357a. Signed-off-by: Akshu Agrawal --- sound/soc/amd/acp-da7219-max98357a.c | 33 + 1 file changed, 33 insertions(+) diff --git

Re: [PATCH] ubifs: remove unnecessary check in ubifs_log_start_commit

2018-08-21 Thread Richard Weinberger
Am Dienstag, 21. August 2018, 08:57:44 CEST schrieb liu.son...@zte.com.cn: > Hi Richard, > > In ubifs_log_start_commit, the value of c->lhead_offs is zero or set to zero > by code bellow > 409 /* Switch to the next log LEB */ > 410 if (c->lhead_offs) { > 411

Re: [RFC PATCH 5/5] RISC-V: Support cpu hotplug.

2018-08-21 Thread Christoph Hellwig
> if (!err) { > + > +#ifdef CONFIG_HOTPLUG_CPU > + arch_send_call_function_single_ipi(cpu); > +#endif Please just provide a stub version of arch_send_call_function_single_ipi for the !CONFIG_HOTPLUG_CPU case instead of the ifdef here. > +#ifdef CONFIG_HOTPLUG_CPU > +int

Build regressions/improvements in v4.18

2018-08-21 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.18[1] compared to v4.17[2]. Summarized: - build errors: +3/-1 - build warnings: +258/-46409 JFYI, when comparing v4.18[1] to v4.18-rc8[3], the summaries are: - build errors: +2/-0 - build warnings: +105/-71 Note

Re: [PATCH] compiler-gcc: get back Clang build

2018-08-21 Thread Nick Desaulniers
Thanks for noticing, and sending this patch. I'm happy to see others testing with Clang. I noticed this too near the end of the day https://github.com/ClangBuiltLinux/linux/issues/27. On Mon, Aug 20, 2018 at 11:48 PM Masahiro Yamada wrote: > > Commit cafa0010cd51 ("Raise the minimum required

Re: linux-next: manual merge of the mfd tree with Linus' tree

2018-08-21 Thread Geert Uytterhoeven
On Fri, Aug 17, 2018 at 2:40 AM Stephen Rothwell wrote: > Today's linux-next merge of the mfd tree got a conflict in: > > MAINTAINERS > > between commit: > > 16b7db4c8150 ("MAINTAINERS: Add .clang-format entry") > > from Linus' tree and commit: > > 97c2b5cba204 ("mfd: madera: Add register

[PATCH v1 0/2]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-08-21 Thread Alexey Budankov
Currently in record mode the tool implements trace writing serially. The algorithm loops over mapped per-cpu data buffers and stores ready data chunks into a trace file using write() system call. At some circumstances the kernel may lack free space in a buffer because the other buffer's half

Re: [PATCH] ARM: dts: imx6sll: add gpio-ranges property

2018-08-21 Thread Shawn Guo
On Fri, Jul 20, 2018 at 06:06:57PM +0800, Anson Huang wrote: > Add "gpio-ranges" property to establish connections between GPIOs > and PINs on i.MX6SLL pinctrl driver, for details, please refer to > Documentation/devicetree/bindings/gpio/gpio.txt of "gpio-ranges" > property. > > Signed-off-by:

Re: [PATCH v9 20/22] KVM: s390: Handling of Cypto control block in VSIE

2018-08-21 Thread David Hildenbrand
On 13.08.2018 23:48, Tony Krowiak wrote: > From: Pierre Morel > > Shadowing the crypto control block now supports APCB shadowing. > > AP instruction interpretation for guest 3 through ECA.28 is shadowed when > guest 2 ECA.28 is set. > > CRYCB is shadowed for APCB and wrapping keys. > > CRYCB

Re: linux-next: manual merge of the mfd tree with Linus' tree

2018-08-21 Thread Stephen Rothwell
Hi Geert, On Tue, 21 Aug 2018 10:08:54 +0200 Geert Uytterhoeven wrote: > > To obey sorting rules, the CIRRUS LOGIC entry should be before the CLANG > entry. > Upon closer look, it should be inserted before the CISCO entries, too (in > the mfd tree). Thanks for noticing. Unfortunately it is

Re: [PATCH] mtd: rawnand: denali: do not pass zero maxchips to nand_scan()

2018-08-21 Thread Miquel Raynal
Hi Masahiro, Masahiro Yamada wrote on Tue, 21 Aug 2018 17:23:19 +0900: > Commit 49aa76b16676 ("mtd: rawnand: do not execute nand_scan_ident() > if maxchips is zero") gave a new meaning for calling nand_scan_ident() > with maxchips=0. > > It is a special usage for some drivers such as docg4,

[PATCH] HID: i2c-hid: Fix flooded incomplete report after S3 on Rayd touchscreen

2018-08-21 Thread AceLan Kao
The incomplete report flooded after S3 and touchscreen becomes malfunctioned. [ 1367.646244] i2c_hid i2c-CUST:00: i2c_hid_get_input: incomplete report (58/18785) [ 1367.649471] i2c_hid i2c-CUST:00: i2c_hid_get_input: incomplete report (58/28743) [ 1367.651092] i2c_hid i2c-CUST:00:

[GIT PULL] arch/h8300 update

2018-08-21 Thread Yoshinori Sato
Hello. Please pull h8300 update. The following changes since commit 94710cac0ef4ee177a63b5227664b38c95bbf703: Linux 4.18 (2018-08-12 13:41:04 -0700) are available in the git repository at: git://git.sourceforge.jp/gitroot/uclinux-h8/linux.git for you to fetch changes up to

Re: [RESEND v5 4/5] clk: imx: add imx composite clock

2018-08-21 Thread Sascha Hauer
On Mon, Aug 20, 2018 at 10:16:06AM +0300, Abel Vesa wrote: > Since a lot of clocks on imx8 are formed by a mux, gate, predivider and > divider, the idea here is to combine all of those into one more complex > clock type, therefore moving the complexity inside the composite clock and > outside of

Re: [PATCH RESEND v1 2/5] drivers: pinctrl: msm: enable PDC interrupt only during suspend

2018-08-21 Thread Marc Zyngier
On Mon, 20 Aug 2018 09:49:59 -0600 Lina Iyer wrote: > On Mon, Aug 20 2018 at 09:34 -0600, Marc Zyngier wrote: > >On 20/08/18 16:26, Lina Iyer wrote: > >> On Sat, Aug 18 2018 at 07:13 -0600, Marc Zyngier wrote: > >>> Hi Lina, > >>> > >>> On Fri, 17 Aug 2018 20:10:23 +0100, > >>> Lina Iyer

Re: [PATCH 4.9 00/25] 4.9.123-stable review

2018-08-21 Thread Nathan Chancellor
On Tue, Aug 21, 2018 at 08:21:14AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.123 release. > There are 25 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

Re: [PATCH v9 0/4] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-21 Thread Naveen N. Rao
Song Liu wrote: I am testing the patch set with the following code: #include #include volatile short semaphore = 0; int for_uprobe(int c) { printf("%d\n", c + 10); return c + 1; } int main(int argc, char *argv[]) { for_uprobe(argc); while (1) {

Re: [PATCH v9 21/22] KVM: s390: CPU model support for AP virtualization

2018-08-21 Thread David Hildenbrand
On 13.08.2018 23:48, Tony Krowiak wrote: > From: Tony Krowiak > > Introduces a new CPU model feature and two CPU model > facilities to support AP virtualization for KVM guests. > > CPU model feature: > > The KVM_S390_VM_CPU_FEAT_AP feature indicates that > AP instructions are available on the

Re: Build regressions/improvements in v4.18

2018-08-21 Thread Geert Uytterhoeven
On Tue, Aug 21, 2018 at 10:02 AM Geert Uytterhoeven wrote: > JFYI, when comparing v4.18[1] to v4.18-rc8[3], the summaries are: > - build errors: +2/-0 Holiday season? + error: "__sanitizer_cov_trace_cmpd" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!: => N/A + error:

Re: [PATCH v4 15/16] driver/edac: enable Hygon support to AMD64 EDAC driver

2018-08-21 Thread Borislav Petkov
On Mon, Aug 20, 2018 at 12:14:58AM +0800, Pu Wen wrote: > To make AMD64 EDAC and MCE drivers working on Hygon platforms, add > vendor checking for Hygon by using the code path of AMD 0x17. Add a > vendor field to struct amd64_pvt and initialize it in per_family_init > for vendor checking. > >

Re: [PATCH v1 1/5] cpuidle: menu: Clean up variables usage in menu_select()

2018-08-21 Thread Rafael J. Wysocki
On Sunday, August 12, 2018 6:09:27 PM CEST Leo Yan wrote: > The usage for two variables 'data->predicted_us' and 'expected_interval' > in menu_select() are confused, especially these two variables are > assigned with each other: firstly 'data->predicted_us' is assigned to > the minimum value

Re: [RFC V1] perf: qcom: add DDR bandwidth PMU support

2018-08-21 Thread Suzuki K Poulose
Hi Rahul, On 04/07/18 17:57, Rahul Ramasubramanian wrote: Measuring DDR bandwidth allows for an accurate measurement of memory throughput achieved for a given workload. It also breaks down the traffic measurement on a per DDR channel basis. The commit description doesn't help much for someone

[PATCH -tip 4/5] kprobes: Return error if fail to reuse kprobe instead of BUG_ON

2018-08-21 Thread Masami Hiramatsu
Make reuse_unused_kprobe() to return error code if it fails to reuse unused kprobe for optprobe instead of calling BUG_ON(). Signed-off-by: Masami Hiramatsu --- kernel/kprobes.c | 27 --- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/kernel/kprobes.c

[PATCH -tip 5/5] kprobes: Don't call BUG_ON if there is a kprobe in use on free list

2018-08-21 Thread Masami Hiramatsu
Instead of calling BUG_ON, if we find a kprobe in use on free kprobe list, just remove it from the list and keep it on kprobe hash list as same as other in-use kprobes. Signed-off-by: Masami Hiramatsu --- kernel/kprobes.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff

[PATCH 6/6] proc: Set correct userns for new proc super created by a new pid_namespace

2018-08-21 Thread David Howells
From: Andrei Vagin Fix the setting up a new proc superblock for a new pid_namespace such that the user_ns for that proc superblock needs to be taken from the new pid_namespace and not the active process. Signed-off-by: Andrei Vagin Signed-off-by: David Howells --- fs/proc/root.c |5

[PATCH 5/6] vfs: Adjust fsinfo sample output

2018-08-21 Thread David Howells
Adjust the output of the test-fsinfo sample program to: (1) Print server addresses if of AF_INET or AF_INET6 family. (2) Not print parameter descriptions (the test-fs-query sample program can be used for that). (3) Only print non-blank parameter values so that parameters that just

[PATCH 4/6] vfs: Pass path info fsinfo and rename get_fsinfo sb op to fsinfo

2018-08-21 Thread David Howells
Pass the path, not just the dentry, into the superblock get_fsinfo operation because s->s_root isn't useful on NFS for retrocalculating the source name, but rather mnt->mnt_root must be used. Further, rename the ->get_fsinfo() superblock op to ->fsinfo() for consistency. Signed-off-by: David

Re: Redoing eXclusive Page Frame Ownership (XPFO) with isolated CPUs in mind (for KVM to isolate its guests per CPU)

2018-08-21 Thread David Woodhouse
On Mon, 2018-08-20 at 15:27 -0700, Linus Torvalds wrote: > On Mon, Aug 20, 2018 at 3:02 PM Woodhouse, David wrote: > > > > It's the *kernel* we don't want being able to access those pages, > > because of the multitude of unfixable cache load gadgets. > > Ahh. > > I guess the proof is in the

Re: Regression: 18996f2db918 ("ACPICA: Events: Stop unconditionally clearing ACPI IRQs during suspend/resume" breaks resume from suspend

2018-08-21 Thread Rafael J. Wysocki
On Mon, Aug 20, 2018 at 6:29 PM Michal Suchánek wrote: > > Hello, > > after commit 18996f2db918 ("ACPICA: Events: Stop unconditionally > clearing ACPI IRQs during suspend/resume") I am no longer able to > resume from suspend. > > Reported in bugzilla

[PATCH] ASoC: AMD: Change MCLK to 48Mhz

2018-08-21 Thread Akshu Agrawal
25Mhz MCLK which was earlier used was of spread type. Thus, we were not getting accurate rate. The 48Mhz system clk is of non-spread type and we are changing to it to get accurate rate. Signed-off-by: Akshu Agrawal --- sound/soc/amd/acp-da7219-max98357a.c | 2 +- 1 file changed, 1 insertion(+),

RE: [PATCH 1/3] dmaengine: xilinx_dma: Refactor axidma channel allocation

2018-08-21 Thread Appana Durga Kedareswara Rao
Hi, Thanks for the patch... > > In axidma alloc_chan_resources merge BD and cyclic BD allocation. > > Signed-off-by: Radhey Shyam Pandey > Signed-off-by: Michal Simek Acked-for-series: Appana Durga Kedareswara rao Regards, Kedar. > --- > drivers/dma/xilinx/xilinx_dma.c | 36

Re: [RFC PATCH 4/5] RISC-V: Move interrupt cause declarations to irq.h

2018-08-21 Thread Christoph Hellwig
On Wed, Aug 15, 2018 at 04:56:16PM -0700, Atish Patra wrote: > CPU hotplug code in smpboot requires interrupt cause > to identify the cause of cpu wakeup. > > Move the IRQ cause declarations to appropriate header > file. asm/irq.h is a header indirectly included by just about every driver. This

[PATCH v1 1/2]: perf util: map data buffer for preserving collected data

2018-08-21 Thread Alexey Budankov
The data buffer and accompanying AIO control block are allocated at perf_mmap object and the mapped data buffer size is equal to the kernel one. The buffer is then used to preserve profiling data ready for dumping and queue it for asynchronous writing into perf trace thru implemented

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-21 Thread Suzuki K Poulose
On 08/20/2018 04:25 PM, Kim Phillips wrote: On Mon, 20 Aug 2018 15:36:47 +0100 Suzuki K Poulose wrote: On 08/20/2018 03:22 PM, Kim Phillips wrote: On Mon, 20 Aug 2018 11:03:03 +0100 Suzuki K Poulose wrote: On 08/16/2018 08:28 PM, Mathieu Poirier wrote: On Wed, 15 Aug 2018 at 09:28, Kim

Re: SEV guest regression in 4.18

2018-08-21 Thread Borislav Petkov
On Mon, Aug 20, 2018 at 05:11:53PM -0500, Brijesh Singh wrote: > Hi All, > > The following commit > > " > x86/kvmclock: Remove memblock dependency > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=368a540e0232ad446931f5a4e8a5e06f69f21343 > > " > broke the SEV

Re: [PATCH v1 0/5] Improvement stopping tick decision making in 'menu' idle governor

2018-08-21 Thread Rafael J. Wysocki
On Sunday, August 12, 2018 6:09:26 PM CEST Leo Yan wrote: > We found the CPU cannot stay in deepest idle state as expected with > running synthetic workloads with mainline kernel on Arm platform > (96boards Hikey620 with octa CA53 CPUs). > > The main issue is the criteria for decision stopping

Re: [PATCH v9 22/22] s390: doc: detailed specifications for AP virtualization

2018-08-21 Thread Harald Freudenberger
On 20.08.2018 18:03, Cornelia Huck wrote: > On Mon, 13 Aug 2018 17:48:19 -0400 > Tony Krowiak wrote: > >> From: Tony Krowiak >> >> This patch provides documentation describing the AP architecture and >> design concepts behind the virtualization of AP devices. It also >> includes an example of

[PATCH -tip 1/5] kprobes: Remove meaningless BUG_ON from disarming process

2018-08-21 Thread Masami Hiramatsu
All aggr_probe at this line are already disarmed by disable_kprobe() or checked by kprobe_disarmed(). So this BUG_ON() does meaningless check. Remove it. Signed-off-by: Masami Hiramatsu --- kernel/kprobes.c |1 - 1 file changed, 1 deletion(-) diff --git a/kernel/kprobes.c

[PATCH -tip 0/5] kprobes: Remove BUG_ON from kprobes

2018-08-21 Thread Masami Hiramatsu
Hi, Here are patches to remove BUG_ON from kprobes. Since BUG_ON() kills the machine, it must not be used for debugging or assertion. These patches remove meaningless BUG_ON or replace it with return errors. Thank you, --- Masami Hiramatsu (5): kprobes: Remove meaningless BUG_ON from

Re: [PATCH v2] staging: rtl8188eu: Removed code valid for 5GHz

2018-08-21 Thread Dan Carpenter
Great. Thanks! regards, dan carpenter

Re: [RFC][PATCH] lib/string: introduce sysfs_strncpy() and sysfs_strlcpy()

2018-08-21 Thread Sergey Senozhatsky
Hi Rasmus, On (08/21/18 09:59), Rasmus Villemoes wrote: > > +char *sysfs_strncpy(char *dest, const char *src, size_t count) > > +{ > > + char *c; > > + > > + strncpy(dest, skip_spaces(src), count); > > I'd like to see where and how you'd use this, but I'm very skeptical of > count being used

Re: [LINUX PATCH v10 1/2] dt-bindings: mtd: arasan: Add device tree binding documentation

2018-08-21 Thread Boris Brezillon
On Tue, 21 Aug 2018 05:47:18 + Naga Sureshkumar Relli wrote: > > > +Required properties: > > > +- compatible:Should be "xlnx,zynqmp-nand" or > > > "arasan,nfc-v3p10" > > > > In your example it's not an "or" since both are defined. > In our previous discussion

[PATCH 4.14 13/29] ALSA: virmidi: Fix too long output trigger loop

2018-08-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 50e9ffb1996a5d11ff5040a266585bad4ceeca0a upstream. The virmidi output trigger tries to parse the all available bytes and process sequencer events as much as possible. In

[PATCH 4.14 10/29] ALSA: hda - Sleep for 10ms after entering D3 on Conexant codecs

2018-08-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Park Ju Hyung commit f59cf9a0551dd954ad8b752461cf19d9789f4b1d upstream. On rare occasions, we are still noticing that the internal speaker spitting out spurious noises even after adding the

[PATCH 4.14 12/29] ALSA: vx222: Fix invalid endian conversions

2018-08-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit fff71a4c050ba46e305d910c837b99ba1728135e upstream. The endian conversions used in vx2_dma_read() and vx2_dma_write() are superfluous and even wrong on big-endian machines,

[PATCH 4.14 11/29] ALSA: hda - Turn CX8200 into D3 as well upon reboot

2018-08-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Park Ju Hyung commit d77a4b4a5b0b2ebcbc9840995d91311ef28302ab upstream. As an equivalent codec with CX20724, CX8200 is also subject to the reboot bug. Late 2017 and 2018 LG Gram and some HP

[PATCH 4.17 42/42] net: mvneta: fix mvneta_config_rss on armada 3700

2018-08-21 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jisheng Zhang [ Upstream commit 0f5c6c30a0f8c629b92ecdaef61b315c43fde10a ] The mvneta Ethernet driver is used on a few different Marvell SoCs. Some SoCs have per cpu interrupts for Ethernet

[PATCH 4.17 23/42] ALSA: memalloc: Dont exceed over the requested size

2018-08-21 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit dfef01e150824b0e6da750cacda8958188d29aea upstream. snd_dma_alloc_pages_fallback() tries to allocate pages again when the allocation fails with reduced size. But the first

[PATCH 4.17 28/42] USB: option: add support for DW5821e

2018-08-21 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Aleksander Morgado commit 7bab01ecc6c43da882333c6db39741cb43677004 upstream. The device exposes AT, NMEA and DIAG ports in both USB configurations. The patch explicitly ignores interfaces 0

[PATCH 4.17 29/42] ACPI / PM: save NVS memory for ASUS 1025C laptop

2018-08-21 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Willy Tarreau commit 231f9415001138a000cd0f881c46654b7ea3f8c5 upstream. Every time I tried to upgrade my laptop from 3.10.x to 4.x I faced an issue by which the fan would run at full speed

[PATCH 4.17 32/42] serial: 8250_dw: always set baud rate in dw8250_set_termios

2018-08-21 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Chen Hu commit dfcab6ba573445c703235ab6c83758eec12d7f28 upstream. dw8250_set_termios() doesn't set baud rate if the arg "old ktermios" is NULL. This happens during resume. Call Trace: ... [

[PATCH 4.17 25/42] ALSA: seq: Fix poll() error return

2018-08-21 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit a49a71f6e25da2acc637fcd31e73debd96ca18f8 upstream. The sanity checks in ALSA sequencer and OSS sequencer emulation codes return falsely -ENXIO from poll callback. They

[PATCH 4.14 02/29] l2tp: use sk_dst_check() to avoid race on sk->sk_dst_cache

2018-08-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Wei Wang [ Upstream commit 6d37fa49da1e8db8fb1995be22ac837ca41ac8a8 ] In l2tp code, if it is a L2TP_UDP_ENCAP tunnel, tunnel->sk points to a UDP socket. User could call sendmsg() on both this

[PATCH 4.14 20/29] USB: option: add support for DW5821e

2018-08-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Aleksander Morgado commit 7bab01ecc6c43da882333c6db39741cb43677004 upstream. The device exposes AT, NMEA and DIAG ports in both USB configurations. The patch explicitly ignores interfaces 0

[PATCH 4.14 01/29] dccp: fix undefined behavior with cwnd shift in ccid2_cwnd_restart()

2018-08-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 61ef4b07fcdc30535889990cf4229766502561cf ] The shift of 'cwnd' with '(now - hc->tx_lsndtime) / hc->tx_rto' value can lead to undefined behavior [1]. In order

[PATCH 4.14 14/29] ALSA: cs5535audio: Fix invalid endian conversion

2018-08-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 69756930f2de0457d51db7d505a1e4f40e9fd116 upstream. One place in cs5535audio_build_dma_packets() does an extra conversion via cpu_to_le32(); namely jmpprd_addr is passed to

[PATCH 4.14 15/29] ALSA: hda: Correct Asrock B85M-ITX power_save blacklist entry

2018-08-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 8e82a728792bf66b9f0a29c9d4c4b0630f7b9c79 upstream. I added the subsys product-id for the HDMI HDA device rather then for the PCH one, this commit fixes this. BugLink:

[PATCH 4.14 16/29] ALSA: memalloc: Dont exceed over the requested size

2018-08-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit dfef01e150824b0e6da750cacda8958188d29aea upstream. snd_dma_alloc_pages_fallback() tries to allocate pages again when the allocation fails with reduced size. But the first

[PATCH 4.14 19/29] USB: serial: pl2303: add a new device id for ATEN

2018-08-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Movie Song commit 29c692c96b3a39cd1911fb79cd2505af8d070f07 upstream. Signed-off-by: Movie Song Cc: Johan Hovold Cc: stable Signed-off-by: Greg Kroah-Hartman ---

[PATCH 4.14 18/29] USB: serial: sierra: fix potential deadlock at close

2018-08-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: John Ogness commit e60870012e5a35b1506d7b376fddfb30e9da0b27 upstream. The portdata spinlock can be taken in interrupt context (via sierra_outdat_callback()). Disable interrupts when taking

[PATCH 4.14 21/29] ACPI / PM: save NVS memory for ASUS 1025C laptop

2018-08-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Willy Tarreau commit 231f9415001138a000cd0f881c46654b7ea3f8c5 upstream. Every time I tried to upgrade my laptop from 3.10.x to 4.x I faced an issue by which the fan would run at full speed

[PATCH 4.17 30/42] tty: serial: 8250: Revert NXP SC16C2552 workaround

2018-08-21 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Mark commit 47ac76662ca9c5852fd353093f19de3ae85f2e66 upstream. Revert commit ecb988a3b7985913d1f0112f7cdd15e40711: tty: serial: 8250: 8250_core: NXP SC16C2552 workaround The above commit

[PATCH 4.17 31/42] serial: 8250_exar: Read INT0 from slave device, too

2018-08-21 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Aaron Sierra commit 60ab0fafc4b652fcaf7cbc3bb8555a0cf1149c28 upstream. The sleep wake-up refactoring that I introduced in commit c7e1b4059075 ("tty: serial: exar: Relocate sleep wake-up

[PATCH 4.14 07/29] vhost: reset metadata cache when initializing new IOTLB

2018-08-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit b13f9c6364373a1b9f71e9846dc4fb199296f926 ] We need to reset metadata cache during new IOTLB initialization, otherwise the stale pointers to previous IOTLB may be

[PATCH 4.14 09/29] net: aquantia: Fix IFF_ALLMULTI flag functionality

2018-08-21 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Bogdanov [ Upstream commit 11ba961c916127651e12af6cad3891f8aeb25aa9 ] It was noticed that NIC always pass all multicast traffic to the host regardless of IFF_ALLMULTI flag on the

  1   2   3   4   5   6   7   8   9   10   >