Re: [PATCH 3/4] perf tools: Fix check-headers.sh output file variables

2018-07-23 Thread Jiri Olsa
On Fri, Jul 20, 2018 at 06:22:49PM +0300, Alexander Kapshuk wrote: > On Fri, Jul 20, 2018 at 6:16 PM Jiri Olsa wrote: > > > > On Fri, Jul 20, 2018 at 11:57:45AM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Fri, Jul 20, 2018 at 01:00:35PM +0200, Jiri Olsa escreveu: > > > > The warning message in

Re: [PATCH] ALSA: core: fix unsigned int pages overflow when comapred

2018-07-23 Thread Takashi Iwai
On Mon, 23 Jul 2018 02:47:18 +0200, He, Bo wrote: > > Hi, Takashi: > we tested for the whole weekend, your patch works, no panic issue seen. > You can safe merge you patch. OK, thanks for testing! Now it's merged. Takashi > > -Original Message- > From: Takashi Iwai > Sent: Th

Re: [PATCH V3 5/7] mmc: sdhci: add Auto CMD Auto Select support

2018-07-23 Thread Chunyan Zhang
On 17 July 2018 at 19:16, Adrian Hunter wrote: > On 09/07/18 06:19, Chunyan Zhang wrote: >> As SD Host Controller Specification v4.10 documents: >> Host Controller Version 4.10 defines this "Auto CMD Auto Select" mode. >> Selection of Auto CMD depends on setting of CMD23 Enable in the Host >> Cont

Re: [PATCH V3 4/7] mmc: sdhci: add 32-bit block count support for v4 mode

2018-07-23 Thread Chunyan Zhang
On 17 July 2018 at 16:29, Adrian Hunter wrote: > On 09/07/18 06:19, Chunyan Zhang wrote: >> When Host Version 4 is enabled, SDMA System Address register is >> re-defined as 32-bit Block Count, and SDMA uses ADMA System >> Address register (05Fh-058h) instead. >> >> Signed-off-by: Chunyan Zhang >>

linux-next: manual merge of the xarray tree with the nvdimm tree

2018-07-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the xarray tree got a conflict in: fs/dax.c between commit: 55f25ced654c ("filesystem-dax: Introduce dax_lock_mapping_entry()") from the nvdimm tree and several commits from the xarray tree. I have no idea how to fix this up, please discuss it and give

Re: [PATCH v6 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C driver

2018-07-23 Thread Andy Shevchenko
On Mon, Jul 23, 2018 at 9:12 AM, Peter Rosin wrote: > On 2018-07-23 05:40, Manivannan Sadhasivam wrote: >> + /* Handle the remaining bytes which were not sent */ >> + while (!(readl(i2c_dev->base + OWL_I2C_REG_FIFOSTAT) & >> +OWL_I2C_FIFOSTAT_TFF) && i2c

Re: [PATCH v6 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C driver

2018-07-23 Thread Manivannan Sadhasivam
Hi Peter, On Mon, Jul 23, 2018 at 08:12:17AM +0200, Peter Rosin wrote: > On 2018-07-23 05:40, Manivannan Sadhasivam wrote: > > + /* Handle the remaining bytes which were not sent */ > > + while (!(readl(i2c_dev->base + OWL_I2C_REG_FIFOSTAT) & > > + OWL_I2C_FIFO

[PATCH] alsa/usb-audio: Topping DX7s quirk for DSD interface

2018-07-23 Thread yuleopen
From: Yue Wang Signed-off-by: Yue Wang --- sound/usb/quirks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 02b6cc02767f..c51e2dee3075 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -1374,6 +1374,7 @@ u64 snd_usb_interface_dsd_for

Re: [PATCH 0/3] PTI for x86-32 Fixes and Updates

2018-07-23 Thread Joerg Roedel
Hey David, On Sun, Jul 22, 2018 at 11:49:00PM -0400, David H. Gutteridge wrote: > Unfortunately, I can trigger a bug in KVM+QEMU with the Bochs VGA > driver. (This is the same VM definition I shared with you in a PM > back on Feb. 20th, except note that 4.18 kernels won't successfully > boot with

Re: [LINUX PATCH v11 3/3] mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2018-07-23 Thread Miquel Raynal
Hi Naga, Naga Sureshkumar Relli wrote on Sun, 22 Jul 2018 07:04:41 +: > Hi Miquel, > > Could you please provide your review comments? > I will address if any. We are almost at the end of a pretty big release, I ran out of time to do another review of your series, sorry for the delay. Rega

Re: [PATCH] alsa/usb-audio: Topping DX7s quirk for DSD interface

2018-07-23 Thread Takashi Iwai
On Mon, 23 Jul 2018 09:25:34 +0200, wrote: > > From: Yue Wang > > Signed-off-by: Yue Wang Please give more explanation. No commit message already indicates that something is very wrong, no matter what the change is. thanks, Takashi

Re: [PATCH V3 0/4] KVM/x86/hyper-V: Introduce PV guest address space mapping flush support

2018-07-23 Thread Wanpeng Li
On Fri, 20 Jul 2018 at 16:32, Paolo Bonzini wrote: > > On 20/07/2018 05:58, KY Srinivasan wrote: > > > > > >> -Original Message- > >> From: Tianyu Lan > >> Sent: Thursday, July 19, 2018 1:40 AM > >> Cc: Tianyu Lan ; de...@linuxdriverproject.org; > >> Haiyang Zhang ; h...@zytor.com; > >> k.

Re: [PATCH v6 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C driver

2018-07-23 Thread Peter Rosin
On 2018-07-23 09:24, Andy Shevchenko wrote: > On Mon, Jul 23, 2018 at 9:12 AM, Peter Rosin wrote: >> On 2018-07-23 05:40, Manivannan Sadhasivam wrote: >>> + /* Handle the remaining bytes which were not sent */ >>> + while (!(readl(i2c_dev->base + OWL_I2C_REG_FIFOSTAT) & >>>

Re: Making KASAN compatible with VMAP_STACK

2018-07-23 Thread Dmitry Vyukov
On Sun, Jul 22, 2018 at 7:52 PM, Andy Lutomirski wrote: > Hi all- > > It would be really nice to make KASAN compatible with VMAP_STACK. > Both are valuable memory debugging features, and the fact that you > can't use both is disappointing. > > As far as I know, there are only two problems: > > 1.

Re: [PATCH] alsa/usb-audio: Topping DX7s quirk for DSD interface

2018-07-23 Thread Yue Wang
Hi Takashi My apologies, it's my first time sending a patch to the kernel, so there're quite a few things I need to improve. This patch adds the support for native DSD for Topping DX7s DAC. The product description is on http://en.tpdz.net/products_detail/productId=32.html and it's available on h

[PATCH v3 2/2] regulator: pfuze100: add support to en-/disable switch regulators

2018-07-23 Thread Marco Felsch
Add enable/disable support for switch regulators on pfuze100. Based on commit 5fe156f1cab4 ("regulator: pfuze100: add enable/disable for switch") which is reverted due to boot regressions by commit 464a5686e6c9 ("regulator: Revert "regulator: pfuze100: add enable/disable for switch""). Disabling t

[PATCH v3 1/2] dt-bindings: pfuze100: add optional disable switch-regulators binding

2018-07-23 Thread Marco Felsch
This binding is used to keep the backward compatibility with the current dtb's [1]. The binding informs the driver that the unused switch regulators can be disabled. If it is not specified, the driver doesn't disable the switch regulators. [1] https://patchwork.kernel.org/patch/10490381/ Signed-o

[PATCH] KVM: Compile hv_remote_flush_tlb() and check_ept_pointer() when CONFIG_HYPERV is enabled.

2018-07-23 Thread Tianyu Lan
This patch is to avoid compilation warning when CONFIG_HYPERV isn't enabled. Signed-off-by: Lan Tianyu --- arch/x86/kvm/vmx.c | 84 +++--- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index

[PATCH v3 0/2] Re-Enable support to disable switch regulators

2018-07-23 Thread Marco Felsch
Hi, Anson had added the support to disable the switched regulators, but there were regressions [1] with old dtb's, so the commit was reverted [2]. At all, the support to disable the switch regulators seems to me to be a good feature. But we have to add a special dt-property to avoid regressions wi

Re: [PATCH] power: supply: bq27xxx: Update comments

2018-07-23 Thread Pali Rohár
On Sunday 22 July 2018 17:58:24 Liu Xiang wrote: > The URL of bq27441-g1 and bq27426 are missing and bq27520-g4 is duplicated. > > Signed-off-by: Liu Xiang Looks good, you can add my: Reviewed-by: Pali Rohár > --- > drivers/power/supply/bq27xxx_battery.c | 3 ++- > 1 file changed, 2 insertio

Re: [PATCH V3 0/4] KVM/x86/hyper-V: Introduce PV guest address space mapping flush support

2018-07-23 Thread Tianyu Lan
On 7/23/2018 3:39 PM, Wanpeng Li wrote: > On Fri, 20 Jul 2018 at 16:32, Paolo Bonzini wrote: >> >> On 20/07/2018 05:58, KY Srinivasan wrote: >>> >>> -Original Message- From: Tianyu Lan Sent: Thursday, July 19, 2018 1:40 AM Cc: Tianyu Lan ; de...@linuxdriverproject.org;

Re: [PATCH] alsa/usb-audio: Topping DX7s quirk for DSD interface

2018-07-23 Thread Takashi Iwai
On Mon, 23 Jul 2018 09:41:15 +0200, Yue Wang wrote: > > Hi Takashi > > My apologies, it's my first time sending a patch to the kernel, so > there're quite a few things I need to improve. > > This patch adds the support for native DSD for Topping DX7s DAC. The > product description is on > http:/

Re: [4.4 STABLE BACKPORT] x86: paravirt: make native_save_fl extern inline

2018-07-23 Thread Greg KH
On Fri, Jul 20, 2018 at 03:36:41PM -0700, Nick Desaulniers wrote: > native_save_fl() is marked static inline, but by using it as > a function pointer in arch/x86/kernel/paravirt.c, it MUST be outlined. > > paravirt's use of native_save_fl() also requires that no GPRs other than > %rax are clobbere

INFO: task hung in fuse_reverse_inval_entry

2018-07-23 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:d72e90f33aa4 Linux 4.18-rc6 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1324f79440 kernel config: https://syzkaller.appspot.com/x/.config?x=68af3495408deac5 dashboard link: https://syzkaller.a

Re: [PATCH v2] hexagon: modify ffs() and fls() to return int

2018-07-23 Thread Geert Uytterhoeven
On Mon, Jul 23, 2018 at 1:04 AM Randy Dunlap wrote: > From: Randy Dunlap > > Building drivers/mtd/nand/raw/nandsim.c on arch/hexagon/ produces a > printk format build warning. This is due to hexagon's ffs() being > coded as returning long instead of int. > > Fix the printk format warning by chan

HOW ARE YOU DOING TODAY !!!

2018-07-23 Thread Mr Billy Wilfred
Dear Sir/Madam, How are you doing today? My name is Billy Wilfred. I am California, United States of America. I am a broker of Project Financing Firm who has cutting edge and group capital fund, they can finance any lucrative project and help you to enhance your business plan. Are you in need of

linux-next: manual merge of the akpm-current tree with Linus' tree

2018-07-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: mm/mmap.c between commit: 490fc053865c ("mm: make vm_area_alloc() initialize core fields") from Linus' tree and commit: 97478b56e246 ("mm: Fix vma_is_anonymous() false-positives") from the akpm-current tree.

[PATCH] alsa/usb-audio: Topping DX7s quirk for DSD interface

2018-07-23 Thread Yue Wang
This patch adds the support for native DSD for Topping DX7s DAC. The product description is on http://en.tpdz.net/products_detail/productId=32.html and it's available on https://www.amazon.com/Balanced-Headphone-Amplifier-Topping-2ES9038Q2M/dp/B07B4VFS21 The DAC uses XMOS chip but uses a special

Re: [PATCH v7 1/4] remoteproc/davinci: use the reset framework

2018-07-23 Thread Bartosz Golaszewski
2018-06-21 9:37 GMT+02:00 Bartosz Golaszewski : > From: Bartosz Golaszewski > > Switch to using the reset framework instead of handcoded reset routines > we used so far. > > Signed-off-by: Bartosz Golaszewski > Reviewed-by: Sekhar Nori > Reviewed-by: Philipp Zabel > --- > drivers/remoteproc/da

Re: [RFC] Make need_resched() return true when rcu_urgent_qs requested

2018-07-23 Thread David Woodhouse
On Thu, 2018-07-19 at 10:09 -0700, Paul E. McKenney wrote: > > Of course, the real reason for the lack of fault on your part will not > because I believe I found the bug elsewhere, but instead because I will > be dropping your patch (and mine as well) on Frederic's advice.  ;-) You're keeping the

Re: [PATCH] PCI/AER: Enable SERR# forwarding in non ACPI flow

2018-07-23 Thread poza
On 2018-07-18 19:04, Bharat Kumar Gogada wrote: On 2018-07-13 19:25, Bharat Kumar Gogada wrote: >> > Currently PCI_BRIDGE_CTL_SERR is being enabled only in ACPI flow. >> > This bit is required for forwarding errors reported by EP devices >> > to upstream device. >> > This patch enables SERR# for

Re: INFO: task hung in fuse_reverse_inval_entry

2018-07-23 Thread Dmitry Vyukov
On Mon, Jul 23, 2018 at 9:59 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:d72e90f33aa4 Linux 4.18-rc6 > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1324f79440 > kernel config: https://syzkaller.appspot.com/x/.

Re: [PATCH 6/8] clk: tegra30: add 2d and 3d idle clocks

2018-07-23 Thread Ben Dooks
On 2018-07-22 12:55, Dmitry Osipenko wrote: On Friday, 20 July 2018 16:45:30 MSK Ben Dooks wrote: The 2D and 3D clocks have an IDLE field in bits 15:8 so add these clocks by making a 2D and 3D mux, and split the divider into the standard 2D/3D ones and 2D/3D idle clocks. Signed-off-by: Ben D

Re: [PATCH 3/5] mfd: dt-bindings: Add RK809 and RK817 device tree bindings document

2018-07-23 Thread Michal Vokáč
On 23.7.2018 05:19, Tony Xie wrote: Add device tree bindings documentation for Rockchip's RK809 & RK817 PMIC. Signed-off-by: Tony Xie --- Documentation/devicetree/bindings/mfd/rk808.txt | 55 + 1 file changed, 55 insertions(+) Hi Tony, Seems something went wrong wi

Re: [PATCH v2 3/5] mm/page_alloc: Optimize free_area_init_core

2018-07-23 Thread Michal Hocko
On Thu 19-07-18 22:52:35, Oscar Salvador wrote: > On Thu, Jul 19, 2018 at 05:15:55PM +0200, Michal Hocko wrote: > > Your changelog doesn't really explain the motivation. Does the change > > help performance? Is this a pure cleanup? > > Hi Michal, > > Sorry to not have explained this better from t

[PATCH v1] tracing: Trivia spelling fix containerof() -> container_of()

2018-07-23 Thread Andy Shevchenko
This is the only location on kernel that has wrong spelling of the container_of() helper. Fix it. Signed-off-by: Andy Shevchenko --- kernel/trace/trace_printk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace_printk.c b/kernel/trace/trace_printk.c index 50f

Re: [PATCH] alsa/usb-audio: Topping DX7s quirk for DSD interface

2018-07-23 Thread Jussi Laako
Hi, + case USB_ID(0x152a, 0x8750): /* Topping DX7s */ 0x152a is Thesycon's VID and if it's based on XMOS I'd recommend to try adding the 0x152a VID to the generic DSD capability auto-detect list instead of this old device specific list. I consider it very likely that it would work that

Re: [RFC PATCH] vfio/pci: map prefetchble bars as writecombine

2018-07-23 Thread Srinath Mannam
On Sat, Jul 21, 2018 at 1:57 AM, Alex Williamson wrote: > On Thu, 19 Jul 2018 21:49:48 +0530 > Srinath Mannam wrote: > >> HI Alex, >> >> On Thu, Jul 19, 2018 at 8:42 PM, Alex Williamson >> wrote: >> > On Thu, 19 Jul 2018 20:17:11 +0530 >> > Srinath Mannam wrote: >> > >> >> HI Alex, >> >> >> >>

Re: [PATCH v2 3/5] mm/page_alloc: Optimize free_area_init_core

2018-07-23 Thread Michal Hocko
On Fri 20-07-18 12:03:27, Oscar Salvador wrote: > On Thu, Jul 19, 2018 at 10:52:35PM +0200, Oscar Salvador wrote: > > On Thu, Jul 19, 2018 at 05:15:55PM +0200, Michal Hocko wrote: > > > Your changelog doesn't really explain the motivation. Does the change > > > help performance? Is this a pure clea

Re: [PATCH 2/3] dt-bindings: iio: adc: add bindings for mcp3911

2018-07-23 Thread Marcus Folkesson
Hi Jonathan, On Sun, Jul 22, 2018 at 09:11:11AM +0100, Jonathan Cameron wrote: > On Sat, 21 Jul 2018 21:59:22 +0200 > Marcus Folkesson wrote: > [snip] > > +Optional properties: > > + - device-addr: Device address when multiple MCP3911 chips are present on > > the > > + same SPI bus. Valid v

Re: [PATCH] sched/topology: check variable group before dereferenced

2018-07-23 Thread Peter Zijlstra
On Mon, Jul 23, 2018 at 12:19:07PM +0800, Yi Wang wrote: > The variable group in sched_domain_debug_one() is not checked > when firstly used in cpumask_test_cpu(cpu, sched_group_span(group)), > but it maybe NULL(checked later in the following while loop) and may > cause NULL pointer dereference wit

[PATCH] watchdog: sp805: Add clock-frequency property

2018-07-23 Thread Srinath Mannam
Use clock-frequency property given in _DSD object of ACPI device to calculate Watchdog rate as binding clock devices are not available as device tree. Note: There is no formal review process for _DSD properties Signed-off-by: Srinath Mannam Signed-off-by: Guenter Roeck Reviewed-by: Guenter Roec

[PATCH 5/5] clk: RK808: add clkout driver for RK809 and RK817.

2018-07-23 Thread Tony Xie
RK809 and RK817 are power management IC chips for multimedia products. most of their functions and registers are same, including the clkout funciton. Signed-off-by: Tony Xie --- drivers/clk/Kconfig | 6 ++--- drivers/clk/clk-rk808.c | 62 - 2

Re: [PATCH v5 0/8] xen: dma-buf support for grant device

2018-07-23 Thread Oleksandr Andrushchenko
On 07/20/2018 05:08 PM, Boris Ostrovsky wrote: On 07/20/2018 05:01 AM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko This work is in response to my previous attempt to introduce Xen/DRM zero-copy driver [1] to enable Linux dma-buf API [2] for Xen based frontends/backends. There

Re: [PATCH] sched/numa: do not balance tasks onto isolated cpus

2018-07-23 Thread Peter Zijlstra
On Mon, Jul 23, 2018 at 01:39:30PM +0800, Chen Lin wrote: > From: Chen Lin > > NUMA balancing has not taken *isolcpus(isolated cpus)* into > consideration. It may migrate tasks onto isolated cpus and the > migrated tasks will never escape from the isolated cpus, which will > break the isolation

[RFC] SERR# handling by Linux

2018-07-23 Thread poza
Hi Bjorn and Keith, This discussion is to extend the idea of follwing patch. [PATCH] PCI/AER: Enable SERR# forwarding in non ACPI flow PCIe Spec 7.6.2.1.3 Command Register (Offset 04h) SERR# Enable – See Section 7.6.2.1.14. When Set, this bit enables reporting upstream of Non-fatal and Fatal e

Re: [PATCH 2/8] clk: tegra: host1x has fractional divider

2018-07-23 Thread Peter De Schrijver
On Fri, Jul 20, 2018 at 02:45:26PM +0100, Ben Dooks wrote: > The host1x clock according to both tegra2 and tegra3 manuals is > an 8bit divider with lsb being fractional. This is running into > an issue where the host1x is being set on a tegra20a system to > 266.4MHz but ends up at 222MHz instead. >

Re: [PATCH 3/8] clk: tegra: fix fractional clocks for VDI, VI, EPP, MPE, 2D and 3D

2018-07-23 Thread Peter De Schrijver
On Fri, Jul 20, 2018 at 02:45:27PM +0100, Ben Dooks wrote: > The clocks vde, vi, epp, mpe, 2d and 3d are all fractional > divisors, and not integer divisors as setup in the current > kernel. This seems to be the same for tegra2 and tegra3. > Same comment as the host1x clock patch. > Signed-off-b

Re: [PATCH 4/5] RTC: RK808: add RTC driver for RK809 and RK817.

2018-07-23 Thread Alexandre Belloni
Hi, The subject should be rtc: rk808: add RK809 and RK817 support With that fixed: On 23/07/2018 11:19:04+0800, Tony Xie wrote: > RK809 and RK817 are power management IC chips for multimedia products. > Most of their functions and registers are same, including the rtc. > > Signed-off-by: Tony X

Re: [PATCH 0/6] vt: no blinking on console, 256/24-bit color improvements

2018-07-23 Thread Geert Uytterhoeven
Hi Adam, On Sat, Jul 21, 2018 at 11:39 PM Adam Borowski wrote: > Technically, every console can be made to blink by drawing/clearing affected > characters a few times per second, but that'd be quite a waste of coding > time and kernel size. There's a reason browsers dropped support for > and te

Re: [PATCH] alsa/usb-audio: Topping DX7s quirk for DSD interface

2018-07-23 Thread Yue Wang
Thanks for the comment Jussi. Let's drop this patch, and I will send a new patch with this generic approach shortly. The new patch will have a different commit title and message. On Mon, Jul 23, 2018 at 1:26 AM Jussi Laako wrote: > > Hi, > > > + case USB_ID(0x152a, 0x8750): /* Topping DX7s */

[PATCH] alsa/usb-audio: Generic DSD detection for Thesycon-based implementations

2018-07-23 Thread Yue Wang
Thesycon provides solutions to XMOS chips, and has its own device vendor id. In this patch, we use generic method to detect DSD capability of Thesycon-based UAC2 implementations in order to support a wide range of current and future devices. The patch will enable the SNDRV_PCM_FMTBIT_DSD_U32_BE

Re: [PATCH] alsa/usb-audio: Generic DSD detection for Thesycon-based implementations

2018-07-23 Thread Yue Wang
Please ignore this commit. there's something wrong. My apologies again. On Mon, Jul 23, 2018 at 1:53 AM Yue Wang wrote: > > Thesycon provides solutions to XMOS chips, and has its own device vendor id. > > In this patch, we use generic method to detect DSD capability of > Thesycon-based UAC2 > imp

Re: [PATCH] alsa/usb-audio: Generic DSD detection for Thesycon-based implementations

2018-07-23 Thread Takashi Iwai
On Mon, 23 Jul 2018 10:54:49 +0200, Yue Wang wrote: > > Please ignore this commit. there's something wrong. My apologies again. Heh, don't worry. BTW, at the next submission, please fix the subject prefix as well. The usual subject line for ALSA code is like: ALSA: usb-audio: Blah blah...

[PATCH] alsa/usb-audio: Generic DSD detection for Thesycon-based implementations

2018-07-23 Thread Yue Wang
Thesycon provides solutions to XMOS chips, and has its own device vendor id. In this patch, we use generic method to detect DSD capability of Thesycon-based UAC2 implementations in order to support a wide range of current and future devices. The patch will enable the SNDRV_PCM_FMTBIT_DSD_U32_BE

[PATCH] mm/mempool: add missing parameter description

2018-07-23 Thread Mike Rapoport
The kernel-doc for mempool_init function is missing the description of the pool parameter. Add it. Signed-off-by: Mike Rapoport --- mm/mempool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/mempool.c b/mm/mempool.c index b54f2c2..9e16b63 100644 --- a/mm/mempool.c +++ b/mm/mempool.c @@

[PATCH] firewire: sbp2: Replace GFP_ATOMIC with GFP_KERNEL in sbp2_scsi_queuecommand()

2018-07-23 Thread Jia-Ju Bai
sbp2_scsi_queuecommand() is only set to .queuecommand of "struct scsi_host_template", and this function pointer is never called in atomic context. sbp2_scsi_queuecommand() calls kzalloc() with GFP_ATOMIC, which is not necessary. GFP_ATOMIC can be replaced with GFP_KERNEL. This is found by a stat

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

2018-07-23 Thread Andy Shevchenko
On Mon, 2018-07-23 at 15:39 +1000, Stephen Rothwell wrote: > Hi Greg, > > After merging the tty tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > drivers/tty/serial/8250/8250_exar.c: In function 'pci_xr17v35x_setup': > drivers/tty/serial/8250/8250_exar.c:380:31:

RE: [LINUX PATCH v11 3/3] mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2018-07-23 Thread Naga Sureshkumar Relli
Hi Miquel, > -Original Message- > From: Miquel Raynal [mailto:miquel.ray...@bootlin.com] > Sent: Monday, July 23, 2018 1:01 PM > To: Naga Sureshkumar Relli > Cc: boris.brezil...@bootlin.com; rich...@nod.at; dw...@infradead.org; > computersforpe...@gmail.com; marek.va...@gmail.com; f.faine

[PATCH] firmware: memmap: Replace GFP_ATOMIC with GFP_KERNEL in firmware_map_add_hotplug()

2018-07-23 Thread Jia-Ju Bai
firmware_map_add_hotplug() is only called by add_memory_resource(), which is never called in atomic context. firmware_map_add_hotplug() calls kzalloc() with GFP_ATOMIC, which is not necessary. GFP_ATOMIC can be replaced with GFP_KERNEL. This is found by a static analysis tool named DCNS written b

Re: Issue related cpuhotplug failure path on 4.9.x version

2018-07-23 Thread Mukesh Ojha
Adding stable and lkml. Sorry for spam others. -Mukesh On 7/23/2018 1:57 PM, Mukesh Ojha wrote: Hi All, I wanted to discuss about one of the corner case exists in 4.9 kernel (4.9.x) where If hotplug of one of the CPU fails due to failure in one of the callback, which is to be called after

[PATCH] iio: ad_sigma_delta: use unsigned long for timeout

2018-07-23 Thread Nicholas Mc Guire
wait_for_completion_timeout returns unsigned long not int so an appropriate variable is declared and the assignment and check fixed up. Signed-off-by: Nicholas Mc Guire --- found by experimental coccinelle script As the timeout returned is always << INT_MAX there is no side-effect with the type

Re: [tip:sched/core] sched/cputime: Ensure accurate utime and stime ratio in cputime_adjust()

2018-07-23 Thread Peter Zijlstra
On Tue, Jul 17, 2018 at 12:08:36PM +0800, Xunlei Pang wrote: > The trace data corresponds to the last sample period: > trace entry 1: > cat-20755 [022] d... 1370.106496: cputime_adjust: task > tick-based utime 36256000 stime 255100, scheduler rtime 333060702626 >

RE: [PATCH 4/4] iio: adc: xilinx: Use devm_ functions while requesting irq

2018-07-23 Thread Manish Narani
Hi Lars, > -Original Message- > From: Lars-Peter Clausen [mailto:l...@metafoo.de] > Sent: Thursday, July 19, 2018 10:08 PM > To: Manish Narani ; ji...@kernel.org; > knaac...@gmx.de; pme...@pmeerw.net; Michal Simek > ; linux-...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; linu

[PATCH v2 0/6] arm64: dts: rockchip: add basic dts file for PX30 SoCs

2018-07-23 Thread cl
From: Liang Chen Changes in V2: 1. change the subject to format "dt-bindings: module: ..." for the documents. 2. use new property for backlight. 3. remove pinctrl of rk809, because the driver is not ready. Liang Chen (6): dt-bindings: usb: dwc2: add description for px30 dt-bindings: mmc: r

[PATCH v2 3/6] dt-bindings: sound: rockchip-i2s: add description for px30

2018-07-23 Thread cl
From: Liang Chen Add "rockchip,px30-i2s", "rockchip,rk3066-i2s" for i2s on px30 platform. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/ro

Re: [PATCH] netlink: fix memory leak of dump

2018-07-23 Thread Florian Westphal
Pablo Neira Ayuso wrote: > > diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c > > --- a/net/netfilter/nf_tables_api.c > > +++ b/net/netfilter/nf_tables_api.c > > @@ -5010,6 +5013,22 @@ nft_obj_filter_alloc(const struct nlattr * const > > nla[]) > > return filter; > >

[PATCH v2 2/6] dt-bindings: mmc: rockchip-dw-mshc: add description for px30

2018-07-23 Thread cl
From: Liang Chen Add "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc" for dwmmc on px30 platform. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindi

[PATCH v2 1/6] dt-bindings: usb: dwc2: add description for px30

2018-07-23 Thread cl
From: Liang Chen This patch adds the compatible of dwc2 for PX30 SoCs. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicet

[PATCH v2 4/6] dt-bindings: rockchip: grf: add grf and pmugrf description for px30

2018-07-23 Thread cl
From: Liang Chen This patch adds the compatible of GRF and PMUGRF for PX30 SoCs. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.

Re: [PATCH v14 20/25] x86/tsc: calibrate tsc only once

2018-07-23 Thread Alan Cox
> >> If we determined tsc early in boot using one of the quick methods: > >> from cpuid/msr/quick_pit, can we assume that frequencies of all other > >> CPUs will be determined the same way? Or do we still have to fallback Not on 32bit at least. You can have a mixed slot 1 SMP system such as an ASU

[PATCH v4 1/4] x86/boot: Add acpitb.h to help parse acpi tables

2018-07-23 Thread Chao Fan
In order to parse ACPI tables, reuse the head file linux/acpi.h, so that the files in 'compressed' directory can read ACPI table by including this head file. Signed-off-by: Chao Fan --- arch/x86/boot/compressed/acpitb.h | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 arch/x86/bo

[PATCH v4 0/4] x86/boot/KASLR: Parse ACPI table and limit kaslr in immovable memory.

2018-07-23 Thread Chao Fan
***Background: People reported that kaslr may randomly chooses some positions which are located in movable memory regions. This will break memory hotplug feature and make the memory can't be removed. ***Solutions: There should be a method to limit kaslr to choosing immovable memory regions, so the

[PATCH v4 3/4] x86/boot/KASLR: Walk srat tables to filter immovable memory

2018-07-23 Thread Chao Fan
If 'CONFIG_MEMORY_HOTREMOVE' specified, walk the acpi srat memory tables, store the immovable memory regions, so that kaslr can get the information abouth where can be selected or not. If 'CONFIG_MEMORY_HOTREMOVE' not specified, go on the old code. Signed-off-by: Chao Fan --- arch/x86/boot/compr

Re: [PATCH v2] tg: show the sum wait time of an task group

2018-07-23 Thread Peter Zijlstra
On Wed, Jul 04, 2018 at 11:27:27AM +0800, 王贇 wrote: > @@ -6788,6 +6790,12 @@ static int cpu_cfs_stat_show(struct seq_file *sf, void > *v) > seq_printf(sf, "nr_throttled %d\n", cfs_b->nr_throttled); > seq_printf(sf, "throttled_time %llu\n", cfs_b->throttled_time); > > + if (scheds

[PATCH v4 4/4] x86/boot/KASLR: Limit kaslr to choosing the immovable memory

2018-07-23 Thread Chao Fan
If 'CONFIG_MEMORY_HOTREMOVE' specified and the account of immovable memory regions is not zero. Calculate the intersection between memory regions from e820/efi memory table and immovable memory regions. Or go on the old code. Rename process_mem_region to slots_count to match slots_fetch_random, an

[PATCH v4 2/4] x86/boot: Add acpitb.c to parse acpi tables

2018-07-23 Thread Chao Fan
Imitate the ACPI code to parse ACPI tables. Functions are simplified cause some operations are not needed here. And also, this method won't influence the initialization of ACPI. Signed-off-by: Chao Fan --- arch/x86/boot/compressed/Makefile | 4 + arch/x86/boot/compressed/acpitb.c | 251 +++

Re: [PATCH] alsa/usb-audio: Generic DSD detection for Thesycon-based implementations

2018-07-23 Thread Takashi Iwai
On Mon, 23 Jul 2018 10:56:46 +0200, Yue Wang wrote: > > Thesycon provides solutions to XMOS chips, and has its own device vendor id. > > In this patch, we use generic method to detect DSD capability of > Thesycon-based UAC2 > implementations in order to support a wide range of current and future

[PATCH v2 5/6] arm64: dts: rockchip: add core dtsi file for PX30 SoCs

2018-07-23 Thread cl
From: Liang Chen This patch adds core dtsi file for Rockchip PX30 SoCs. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/px30.dtsi | 2043 1 file changed, 2043 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/px30.dtsi diff --git a/arch

Re: [PATCH 2/8] clk: tegra: host1x has fractional divider

2018-07-23 Thread Ben Dooks
On 2018-07-23 09:50, Peter De Schrijver wrote: On Fri, Jul 20, 2018 at 02:45:26PM +0100, Ben Dooks wrote: The host1x clock according to both tegra2 and tegra3 manuals is an 8bit divider with lsb being fractional. This is running into an issue where the host1x is being set on a tegra20a system

[PATCH v2 6/6] arm64: dts: rockchip: add PX30 eavluation board devicetree

2018-07-23 Thread cl
From: Liang Chen This patch add px30-evb.dts for PX30 evaluation board. Tested on PX30 evb. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 + arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/

Re: [PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-23 Thread Arnd Bergmann
On Sun, Jul 22, 2018 at 8:29 AM, Boris Brezillon wrote: > +Arnd, Rob and the DT ML. > > On Sat, 21 Jul 2018 14:53:47 -0700 > Randy Dunlap wrote: > >> On 07/21/2018 01:00 PM, Anders Roxell wrote: >> > JZ4780_NEMC doesn't depend on OF, and if OF isn't enabled we get this >> > error: >> > drivers/me

RE: [PATCH 3/4] iio: adc: xilinx: Check for return values in clk related functions

2018-07-23 Thread Manish Narani
Hi Jonathan, Thanks for your comments. > -Original Message- > From: Jonathan Cameron [mailto:ji...@kernel.org] > Sent: Saturday, July 21, 2018 9:54 PM > To: Lars-Peter Clausen > Cc: Manish Narani ; knaac...@gmx.de; > pme...@pmeerw.net; Michal Simek ; linux- > i...@vger.kernel.org; linux-

Re: [PATCH v2 3/3] PCI: imx: Initial imx7d pm support

2018-07-23 Thread Lucas Stach
Hi Leonard, Am Freitag, den 20.07.2018, 15:47 +0300 schrieb Leonard Crestez: > On imx7d the pcie-phy power domain is turned off in suspend and this can > make the system hang after resume when attempting any read from PCI. > > Fix this by adding minimal suspend/resume code from the nxp internal >

Re: Issue related cpuhotplug failure path on 4.9.x version

2018-07-23 Thread Greg Kroah-Hartman
On Mon, Jul 23, 2018 at 02:49:27PM +0530, Mukesh Ojha wrote: > On 7/23/2018 1:57 PM, Mukesh Ojha wrote: > > > > Hi All, > > > > I wanted to discuss about one of the corner case exists in 4.9 kernel > > (4.9.x) where 4.9 is over 1 1/2 years old now. Please test this on 4.17 or better yet, 4.18-r

Re: [PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-23 Thread Boris Brezillon
On Mon, 23 Jul 2018 11:34:43 +0200 Arnd Bergmann wrote: > On Sun, Jul 22, 2018 at 8:29 AM, Boris Brezillon > wrote: > > +Arnd, Rob and the DT ML. > > > > On Sat, 21 Jul 2018 14:53:47 -0700 > > Randy Dunlap wrote: > > > >> On 07/21/2018 01:00 PM, Anders Roxell wrote: > >> > JZ4780_NEMC doesn

Re: [PATCH v2 2/3] reset: imx7: Fix always writing bits as 0

2018-07-23 Thread Lucas Stach
As this doesn't depend on any other patch in this series, I think it would be fine if Philipp takes this patch through the reset tree. Regards, Lucas Am Freitag, den 20.07.2018, 15:47 +0300 schrieb Leonard Crestez: > Right now the only user of reset-imx7 is pci-imx6 and the > reset_control_assert

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

2018-07-23 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (sparc (32 bit) defconfig) failed like this: In file included from kernel/crash_core.c:9:0: kernel/crash_core.c: In function 'crash_save_vmcoreinfo_init': include/linux/crash_core.h:44:66: error: lvalue required as unary '&' operand

[PATCH v3 1/3] dmaengine: imx-sdma: add SDMA_BD_MAX_CNT to replace '0xffff'

2018-07-23 Thread Robin Gong
Add macro SDMA_BD_MAX_CNT to replace '0x'. Signed-off-by: Robin Gong --- drivers/dma/imx-sdma.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 3b622d6..e3d5e73 100644 --- a/drivers/dma/imx-sdma.c +++ b/dri

[PATCH v3 0/3] add memcpy support for sdma

2018-07-23 Thread Robin Gong
This patchset is to add memcpy interface for imx-sdma, besides,to support dmatest and enable config by default, so that could test dma easily without any other device support such as uart/audio/spi... Change from v2: 1. remove 'copy_align' since sdma script for memory_2_memory will handle s

[PATCH v3 2/3] dmaengine: imx-sdma: add memcpy interface

2018-07-23 Thread Robin Gong
Add MEMCPY capability for imx-sdma driver. Signed-off-by: Robin Gong --- drivers/dma/imx-sdma.c | 93 -- 1 file changed, 90 insertions(+), 3 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index e3d5e73..b4ec2d2 100644 --

Re: [PATCHv5 10/19] x86/mm: Implement page_keyid() using page_ext

2018-07-23 Thread Kirill A. Shutemov
On Wed, Jul 18, 2018 at 04:38:02PM -0700, Dave Hansen wrote: > On 07/17/2018 04:20 AM, Kirill A. Shutemov wrote: > > Store KeyID in bits 31:16 of extended page flags. These bits are unused. > > I'd love a two sentence remind of what page_ext is and why you chose to > use it. Yes, you need this.

[PATCH v3 3/3] dmaengine: imx-sdma: allocate max 20 bds for one transfer

2018-07-23 Thread Robin Gong
If multi-bds used in one transfer, all bds should be consisten memory.To easily follow it, enlarge the dma pool size into 20 bds, and it will report error if the number of bds is over than 20. For dmatest, the max count for single transfer is NUM_BD * SDMA_BD_MAX_CNT = 20 * 65535 = ~1.28MB. Signed

Re: [PATCHv5 11/19] x86/mm: Implement vma_keyid()

2018-07-23 Thread Kirill A. Shutemov
On Wed, Jul 18, 2018 at 04:40:14PM -0700, Dave Hansen wrote: > > --- a/arch/x86/mm/mktme.c > > +++ b/arch/x86/mm/mktme.c > > @@ -1,3 +1,4 @@ > > +#include > > #include > > > > phys_addr_t mktme_keyid_mask; > > @@ -37,3 +38,14 @@ struct page_ext_operations page_mktme_ops = { > > .need = ne

Re: [PATCH] netlink: fix memory leak of dump

2018-07-23 Thread Pablo Neira Ayuso
On Mon, Jul 23, 2018 at 11:42:28AM +0200, Florian Westphal wrote: > Pablo Neira Ayuso wrote: > > > As David pointed out, once ->start() returns 0 we set cb_running, i.e. > > > only after successful ->start() netlink core will call ->dump() again. > > > > > > So I see no problem setting ->data to

Re: [PATCH] can: peak_usb: mark expected switch fall-throughs

2018-07-23 Thread Marc Kleine-Budde
On 06/28/2018 07:41 PM, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Signed-off-by: Gustavo A. R. Silva applied to linux-can-next. Tnx, Marc -- Pengutronix e.K. | Marc Kleine-Bu

Re: [PATCH] apalis_t30: fix can2

2018-07-23 Thread Marc Kleine-Budde
On 06/25/2018 09:59 AM, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > CAN2 currently fails on probe as follows: > > mcp251x spi1.1: Probe failed, err=19 > > Fix this by enabling input on pin mux of resp. SPI4 pins. > > Signed-off-by: Marcel Ziswiler I can take this via the linux-can tre

Re: [RFC PATCH] sched/deadline: sched_getattr() returns absolute dl-task information

2018-07-23 Thread Peter Zijlstra
On Fri, Jun 29, 2018 at 02:09:47PM +0200, Alessio Balsini wrote: Joel nailed it wrt the Changelog, that needs improvement. > diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c > index fbfc3f1d368a..f75a4169cd47 100644 > --- a/kernel/sched/deadline.c > +++ b/kernel/sched/deadline.c >

Re: [PATCHv5 12/19] x86/mm: Implement prep_encrypted_page() and arch_free_page()

2018-07-23 Thread Kirill A. Shutemov
On Wed, Jul 18, 2018 at 04:53:27PM -0700, Dave Hansen wrote: > The description doesn't mention the potential performance implications > of this patch. That's criminal at this point. > > > --- a/arch/x86/mm/mktme.c > > +++ b/arch/x86/mm/mktme.c > > @@ -1,4 +1,5 @@ > > #include > > +#include > >

hallo Schönheit

2018-07-23 Thread Wesley
Viele Grüße von mir. Wie geht es Ihnen heute? Verzeih mir, dass ich deinen Frieden gestört habe, ich verstehe meine Herangehensweise vielleicht sehr ungeschickt und unhöflich, bitte ich bitte, dass du mir verzeihst, ein Eindringling zu sein. Ich bin Wesley mit Namen, ich bin aus dem Vereinigten

  1   2   3   4   5   6   7   8   9   10   >