Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2018-12-03 Thread Mike Rapoport
Hi John, Thanks for having documentation as a part of the patch. Some kernel-doc nits below. On Mon, Dec 03, 2018 at 04:17:19PM -0800, john.hubb...@gmail.com wrote: > From: John Hubbard > > Introduces put_user_page(), which simply calls put_page(). > This provides a way to update all get_user_p

RE: rcu_preempt caused oom

2018-12-03 Thread He, Bo
Hi, Paul: the enclosed is the log trigger the 120s hung_task_panic without other debug patches, the hung task is blocked at __wait_rcu_gp, it means the rcu_cpu_stall can't detect the scenario: echo 1 > /proc/sys/kernel/panic_on_rcu_stall echo 7 > /sys/module/rcupdate/parameters/rcu_cpu_stall_time

Re: [PATCH 3/9] tools/lib/traceevent: Install trace-seq.h API header file

2018-12-03 Thread Namhyung Kim
On Fri, Nov 30, 2018 at 10:44:06AM -0500, Steven Rostedt wrote: > From: Tzvetomir Stoyanov > > This patch installs trace-seq.h header file on "make install". > > Signed-off-by: Tzvetomir Stoyanov > Signed-off-by: Steven Rostedt (VMware) > --- > tools/lib/traceevent/Makefile | 3 ++- > 1 file

Re: [RFC PATCH 00/14] Heterogeneous Memory System (HMS) and hbind()

2018-12-03 Thread Aneesh Kumar K.V
On 12/4/18 5:04 AM, jgli...@redhat.com wrote: From: Jérôme Glisse Heterogeneous memory system are becoming more and more the norm, in those system there is not only the main system memory for each node, but also device memory and|or memory hierarchy to consider. Device memory can comes from a d

Re: linux-next: manual merge of the char-misc tree with the char-misc.current tree

2018-12-03 Thread Greg KH
On Tue, Dec 04, 2018 at 03:35:13PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the char-misc tree got a conflict in: > > drivers/hv/channel_mgmt.c > > between commit: > > 37c2578c0c40 ("Drivers: hv: vmbus: Offload the handling of channels to two > workqueues")

Re: [PATCH] ubi: fastmap: Check each mapping only once

2018-12-03 Thread Greg Kroah-Hartman
On Tue, Dec 04, 2018 at 08:39:16AM +0100, Martin Kepplinger wrote: > On 02.12.18 16:02, Richard Weinberger wrote: > > Sasha, > > > > Am Sonntag, 2. Dezember 2018, 15:35:43 CET schrieb Sasha Levin: > > > On Sun, Dec 02, 2018 at 11:50:33AM +, Sudip Mukherjee wrote: > > > > > > Now queued up for

Re: Strange hang with gcc 8 of kprobe multiple_kprobes test

2018-12-03 Thread Masami Hiramatsu
Hi Steve, On Mon, 3 Dec 2018 21:18:07 -0500 Steven Rostedt wrote: > Hi Masami, > > I started testing some of my new code and the system got into a > strange state. Debugging further, I found the cause came from the > kprobe tests. It became stranger to me that I could reproduce it with > older

Re: [PATCH] ubi: fastmap: Check each mapping only once

2018-12-03 Thread Martin Kepplinger
On 02.12.18 16:02, Richard Weinberger wrote: Sasha, Am Sonntag, 2. Dezember 2018, 15:35:43 CET schrieb Sasha Levin: On Sun, Dec 02, 2018 at 11:50:33AM +, Sudip Mukherjee wrote: Now queued up for 4.14.y, thanks. can you *please* slow a little down? True. It will really help if you can h

Re: [patch 0/2 for-4.20] mm, thp: fix remote access and allocation regressions

2018-12-03 Thread Michal Hocko
On Mon 03-12-18 15:50:18, David Rientjes wrote: > This fixes a 13.9% of remote memory access regression and 40% remote > memory allocation regression on Haswell when the local node is fragmented > for hugepage sized pages and memory is being faulted with either the thp > defrag setting of "always"

Re: [patch 1/2 for-4.20] mm, thp: restore node-local hugepage allocations

2018-12-03 Thread Michal Hocko
On Mon 03-12-18 15:50:24, David Rientjes wrote: > This is a full revert of ac5b2c18911f ("mm: thp: relax __GFP_THISNODE for > MADV_HUGEPAGE mappings") and a partial revert of 89c83fb539f9 ("mm, thp: > consolidate THP gfp handling into alloc_hugepage_direct_gfpmask"). > > By not setting __GFP_THISN

Re: ext4 file system corruption with v4.19.3 / v4.19.4

2018-12-03 Thread Gunter Königsmann
After upgrading my kernel to 4.19 I got a corruption on nearly every reboot or resume from suspend on my Acer s7-391 [UEFI boot]. Going to my UEFI setup and changing IDE mode from IDE to ATA seems to have resolved the issue for me. Don't know, though, if that is a valid data point or if it was a

Re: [PATCH 2/9] tools/lib/traceevent: Added support for pkg-config

2018-12-03 Thread Namhyung Kim
Hi Steve, On Fri, Nov 30, 2018 at 10:44:05AM -0500, Steven Rostedt wrote: > From: Tzvetomir Stoyanov > > This patch implements integration with pkg-config framework. > pkg-config can be used by the library users to determine > required CFLAGS and LDFLAGS in order to use the library > > Signed-o

Re: [PATCH AUTOSEL 4.14 25/35] iomap: sub-block dio needs to zeroout beyond EOF

2018-12-03 Thread Greg KH
On Mon, Dec 03, 2018 at 11:22:46PM +0159, Thomas Backlund wrote: > Den 2018-12-03 kl. 11:22, skrev Sasha Levin: > > > > > This is a case where theory collides with the real world. Yes, our QA is > > lacking, but we don't have the option of not doing the current process. > > If we stop backporting

Re: [PATCH v7 05/16] tracing: Generalize hist trigger onmax and save action

2018-12-03 Thread Namhyung Kim
On Mon, Dec 03, 2018 at 04:22:02PM -0600, Tom Zanussi wrote: > Hi Namhyung, > > On Fri, 2018-11-23 at 11:50 +0900, Namhyung Kim wrote: > > Hi Tom, > > > > On Wed, Nov 14, 2018 at 02:18:02PM -0600, Tom Zanussi wrote: > > > From: Tom Zanussi > > > > > [snip] > > > > > enum handler_id { > > >

Re: [PATCH 2/3] mm/vmscan: Enable kswapd to reclaim low-protected memory

2018-12-03 Thread Michal Hocko
On Tue 04-12-18 10:40:29, Xunlei Pang wrote: > On 2018/12/4 AM 1:22, Michal Hocko wrote: > > On Mon 03-12-18 23:20:31, Xunlei Pang wrote: > >> On 2018/12/3 下午7:56, Michal Hocko wrote: > >>> On Mon 03-12-18 16:01:18, Xunlei Pang wrote: > There may be cgroup memory overcommitment, it will become

[PATCH V3 1/3] mmc: sdhci: add support for using external DMA devices

2018-12-03 Thread Chunyan Zhang
Some standard SD host controllers can support both external dma controllers as well as ADMA/SDMA in which the SD host controller acts as DMA master. TI's omap controller is the case as an example. Currently the generic SDHCI code supports ADMA/SDMA integrated in the host controller but does not ha

Re: [RFC PATCH] hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined

2018-12-03 Thread Naoya Horiguchi
On Mon, Dec 03, 2018 at 11:03:09AM +0100, Michal Hocko wrote: > From: Michal Hocko > > We have received a bug report that an injected MCE about faulty memory > prevents memory offline to succeed. The underlying reason is that the > HWPoison page has an elevated reference count and the migration k

[PATCH V3 3/3] dt-bindings: sdhci-omap: Add example for using external dma

2018-12-03 Thread Chunyan Zhang
sdhci-omap can support both external dma controller via dmaengine framework as well as ADMA which standard SD host controller provides. Signed-off-by: Chunyan Zhang --- Documentation/devicetree/bindings/mmc/sdhci-omap.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/d

[PATCH V3 2/3] mmc: sdhci-omap: Add using external dma

2018-12-03 Thread Chunyan Zhang
sdhci-omap can support both external dma controller via dmaengine framework as well as ADMA which standard SD host controller provides. Signed-off-by: Chunyan Zhang --- drivers/mmc/host/Kconfig | 1 + drivers/mmc/host/sdhci-omap.c | 10 ++ 2 files changed, 11 insertions(+) diff --

Re: [PATCH] drm/sched: Fix a use-after-free when tracing the scheduler.

2018-12-03 Thread Koenig, Christian
Am 03.12.18 um 21:14 schrieb Eric Anholt: > With DEBUG_SLAB (poisoning on free) enabled, I could quickly produce > an oops when tracing V3D. Good catch, but the solution is a clear NAK. drm_sched_entity_add_dependency_cb() can result in setting entity->dependency to NULL. That in turn can lead t

[PATCH V3 0/3] Add support for using external dma in SDHCI

2018-12-03 Thread Chunyan Zhang
Currently the generic SDHCI code in the Linux kernel supports the SD standard DMA integrated into the host controller but does not have any support for external DMA controllers implemented using dmaengine meaning that custom code is needed for any systems that use a generic DMA controller with SDHC

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-03 Thread Michal Hocko
On Tue 04-12-18 11:05:57, Pingfan Liu wrote: > During my test on some AMD machine, with kexec -l nr_cpus=x option, the > kernel failed to bootup, because some node's data struct can not be allocated, > e.g, on x86, initialized by init_cpu_to_node()->init_memory_less_node(). But > device->numa_node

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-03 Thread Pingfan Liu
On Tue, Dec 4, 2018 at 2:54 PM Wei Yang wrote: > > On Tue, Dec 04, 2018 at 11:05:57AM +0800, Pingfan Liu wrote: > >During my test on some AMD machine, with kexec -l nr_cpus=x option, the > >kernel failed to bootup, because some node's data struct can not be > >allocated, > >e.g, on x86, initializ

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-03 Thread Pingfan Liu
On Tue, Dec 4, 2018 at 11:53 AM David Rientjes wrote: > > On Tue, 4 Dec 2018, Pingfan Liu wrote: > > > diff --git a/include/linux/gfp.h b/include/linux/gfp.h > > index 76f8db0..8324953 100644 > > --- a/include/linux/gfp.h > > +++ b/include/linux/gfp.h > > @@ -453,6 +453,8 @@ static inline int gfp_

general protection fault in kvm_arch_vcpu_ioctl_run

2018-12-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:4b78317679c4 Merge branch 'x86-pti-for-linus' of git://git.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15e979f540 kernel config: https://syzkaller.appspot.com/x/.config?x=4602730af4f872ef da

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-03 Thread Wei Yang
On Tue, Dec 04, 2018 at 11:05:57AM +0800, Pingfan Liu wrote: >During my test on some AMD machine, with kexec -l nr_cpus=x option, the >kernel failed to bootup, because some node's data struct can not be allocated, >e.g, on x86, initialized by init_cpu_to_node()->init_memory_less_node(). But >device

linux-next: Tree for Dec 4

2018-12-03 Thread Stephen Rothwell
Hi all, Changes since 20181203: The rdma tree gained a build failure so I used the version from next-20181203. The bpf-next tree gained conflicts against the bpf tree. The char-misc tree gained a conflict against the char-misc.current tree. The akpm tree lost its build failure but gained a

[tip:locking/core] tools/memory-model: Make scripts take "-j" abbreviation for "--jobs"

2018-12-03 Thread tip-bot for Paul E. McKenney
Commit-ID: a6f1de04276d036b61c4d1dbd0367e6b430d8783 Gitweb: https://git.kernel.org/tip/a6f1de04276d036b61c4d1dbd0367e6b430d8783 Author: Paul E. McKenney AuthorDate: Mon, 3 Dec 2018 15:04:51 -0800 Committer: Ingo Molnar CommitDate: Tue, 4 Dec 2018 07:29:52 +0100 tools/memory-model: Make

Re: [RFC PATCH V2 00/11] Intel EPT-Based Sub-page Protection Support

2018-12-03 Thread Yi Zhang
On 2018-12-03 at 05:56:13 +0200, Mihai Donțu wrote: > Hi Paolo, > > On Fri, 2018-11-30 at 11:07 +0100, Paolo Bonzini wrote: > > On 30/11/18 08:52, Zhang Yi wrote: > > > Here is a patch-series which adding EPT-Based Sub-page Write Protection > > > Support. > > > > > > Introduction: > > > > > > E

[tip:locking/core] tools/memory-model: Model smp_mb__after_unlock_lock()

2018-12-03 Thread tip-bot for Andrea Parri
Commit-ID: 4607abbcf464ea2be14da444215d05c73025cf6e Gitweb: https://git.kernel.org/tip/4607abbcf464ea2be14da444215d05c73025cf6e Author: Andrea Parri AuthorDate: Mon, 3 Dec 2018 15:04:49 -0800 Committer: Ingo Molnar CommitDate: Tue, 4 Dec 2018 07:29:51 +0100 tools/memory-model: Model sm

[tip:locking/core] tools/memory-model: Add scripts to check github litmus tests

2018-12-03 Thread tip-bot for Paul E. McKenney
Commit-ID: e188d24a382d609ec7ca6c1a00396202565b7831 Gitweb: https://git.kernel.org/tip/e188d24a382d609ec7ca6c1a00396202565b7831 Author: Paul E. McKenney AuthorDate: Mon, 3 Dec 2018 15:04:50 -0800 Committer: Ingo Molnar CommitDate: Tue, 4 Dec 2018 07:29:52 +0100 tools/memory-model: Add

[PATCH] spi: lpspi: Add cs-gpio support

2018-12-03 Thread Clark Wang
Add cs-gpio feature for LPSPI. Use fsl_lpspi_prepare_message() and fsl_lpspi_unprepare_message() to enable and control cs line. These two functions will be only called at the beginning and the ending of a message transfer. Still support using the mode without cs-gpio. It depends on if attribute cs

[PATCH v19 5/5] iommu/arm-smmu: Add support for qcom,smmu-v2 variant

2018-12-03 Thread Vivek Gautam
qcom,smmu-v2 is an arm,smmu-v2 implementation with specific clock and power requirements. On msm8996, multiple cores, viz. mdss, video, etc. use this smmu. On sdm845, this smmu is used with gpu. Add bindings for the same. Signed-off-by: Vivek Gautam Reviewed-by: Rob Herring Reviewed-by: Tomasz F

[PATCH v19 3/5] iommu/arm-smmu: Add the device_link between masters and smmu

2018-12-03 Thread Vivek Gautam
From: Sricharan R Finally add the device link between the master device and smmu, so that the smmu gets runtime enabled/disabled only when the master needs it. This is done from add_device callback which gets called once when the master is added to the smmu. Signed-off-by: Sricharan R Signed-of

[PATCH] spi: lpspi: Fix CLK pin becomes low before one transfer

2018-12-03 Thread Clark Wang
Remove Reset operation in fsl_lpspi_config(). This RST may cause both CLK and CS pins go from high to low level under cs-gpio mode. Add fsl_lpspi_reset() function after one message transfer to clear all flags in use. Signed-off-by: Clark Wang Reviewed-by: Fugang Duan --- drivers/spi/spi-fsl-lps

[PATCH] spi: lpspi: Improve the stability of lpspi data transmission

2018-12-03 Thread Clark Wang
Use SR_TDF to judge if need to send data, and SR_FCF is to judge if transmission end and to replace the waiting after transmission end. This waiting has no actual meaning, for module will set the FCF flag at the real end. The changes of interrupt flag and ISR function reduce the times of calling I

[PATCH] spi: lpspi: enable runtime pm for lpspi

2018-12-03 Thread Clark Wang
From: Han Xu Enable the runtime power management for lpspi module. Signed-off-by: Han Xu Reviewed-by: Frank Li --- drivers/spi/spi-fsl-lpspi.c | 117 1 file changed, 92 insertions(+), 25 deletions(-) diff --git a/drivers/spi/spi-fsl-lpspi.

Re: [PATCH v2 3/5] devfreq: add devfreq_suspend/resume() functions

2018-12-03 Thread Chanwoo Choi
Hi Lukasz, On 2018년 12월 03일 23:31, Lukasz Luba wrote: > This patch adds implementation for global suspend/resume for > devfreq framework. System suspend will next use these functions. > > The patch is based on earlier work by Tobias Jakobi. Please remove it from each patch description. > > Sug

Re: [PATCH v2 2/3] clk: ti: check clock type before doing autoidle ops

2018-12-03 Thread Andreas Kemnade
On Mon, 3 Dec 2018 07:39:10 -0800 Tony Lindgren wrote: > * Stephen Boyd [181130 23:52]: > > Quoting Tony Lindgren (2018-11-30 07:37:29) > > > Hi, > > > > > > * Tero Kristo [181130 09:21]: > > > > On 30/11/2018 09:57, Stephen Boyd wrote: > > > > > No that is not preferred. Can the omap2_c

Re: [PATCH v2 2/5] devfreq: add support for suspend/resume of a devfreq device

2018-12-03 Thread Chanwoo Choi
Hi Lukasz, I add the comment about 'suspend_count'. On 2018년 12월 04일 14:43, Chanwoo Choi wrote: > Hi, > > On 2018년 12월 04일 14:36, Chanwoo Choi wrote: >> Hi Lukasz, >> >> Looks good to me. But, I add the some comments. >> If you will fix it, feel free to add my tag: >> Reviewed-by: Chanwoo choi

Re: [PATCH] x86/boot: clear rsdp address in boot_params for broken loaders

2018-12-03 Thread Juergen Gross
On 04/12/2018 06:49, H. Peter Anvin wrote: > On 12/3/18 9:32 PM, Juergen Gross wrote: >> >> I'd like to send a followup patch doing that. And I'd like to not only >> test sentinel for being non-zero, but all padding fields as well. This >> should be 4.21 material, though. >> > > No, you can't do t

Re: [PATCH v2] signal: add procfd_signal() syscall

2018-12-03 Thread Aleksa Sarai
On 2018-12-03, Christian Brauner wrote: > > > As I pointed out in another mail my I is to make this work by using > > > file descriptors for /proc//task/. I don't want this in the > > > initial patchset though. I prefer to slowly add those features once > > > we have gotten the basic functionali

Re: [PATCH v5 2/2] phy: qualcomm: Add Synopsys High-Speed USB PHY driver

2018-12-03 Thread Shawn Guo
Hi Kishon, On Tue, Dec 04, 2018 at 10:38:19AM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On 27/11/18 3:37 PM, Shawn Guo wrote: > > It adds Synopsys 28nm Femto High-Speed USB PHY driver support, which > > is usually paired with Synopsys DWC3 USB controllers on Qualcomm SoCs. > > Is this Synop

Re: [PATCH] Uprobes: Fix kernel oops with delayed_uprobe_remove()

2018-12-03 Thread Steven Rostedt
On Mon, 3 Dec 2018 11:52:41 +0530 Ravi Bangoria wrote: > Hi Steve, > > Please pull this patch. > Please send a v2 version of the patch with the updated change log. And should it have a Fixes and be tagged for stable? -- Steve > Thanks. > > On 11/15/18 6:13 PM, Oleg Nesterov wrote: > > On 11

linux-next: manual merge of the akpm tree with the pm tree

2018-12-03 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in: fs/exec.c between commit: 67fe1224adc5 ("Revert "exec: make de_thread() freezable"") from the pm tree and patch: "fs/: remove caller signal_pending branch predictions" from the akpm tree. I fixed it up (see below)

Re: [PATCH] x86/boot: clear rsdp address in boot_params for broken loaders

2018-12-03 Thread H. Peter Anvin
On 12/3/18 9:32 PM, Juergen Gross wrote: > > I'd like to send a followup patch doing that. And I'd like to not only > test sentinel for being non-zero, but all padding fields as well. This > should be 4.21 material, though. > No, you can't do that. That breaks backwards compatibility.

Re: [PATCH 5/5] i2c: mediatek: Add i2c compatible for MediaTek MT8183

2018-12-03 Thread Sean Wang
於 2018年12月3日 週一 上午5:34寫道: > > From: qii wang > > Add i2c compatible for MT8183. Compare to 2712 i2c controller, MT8183 has > different registers, offsets, clock, and multi-user function. > > Signed-off-by: qii wang > --- > drivers/i2c/busses/i2c-mt65xx.c | 136 > ++

Re: [PATCH 3/3] arm64: ftrace: add cond_resched() to func ftrace_make_(call|nop)

2018-12-03 Thread Steven Rostedt
On Mon, 3 Dec 2018 22:51:52 +0100 Arnd Bergmann wrote: > On Mon, Dec 3, 2018 at 8:22 PM Will Deacon wrote: > > > > Hi Anders, > > > > On Fri, Nov 30, 2018 at 04:09:56PM +0100, Anders Roxell wrote: > > > Both of those functions end up calling ftrace_modify_code(), which is > > > expensive becau

Re: [PATCH v2 2/5] devfreq: add support for suspend/resume of a devfreq device

2018-12-03 Thread Chanwoo Choi
Hi, On 2018년 12월 04일 14:36, Chanwoo Choi wrote: > Hi Lukasz, > > Looks good to me. But, I add the some comments. > If you will fix it, feel free to add my tag: > Reviewed-by: Chanwoo choi Sorry. Fix typo 'choi' to 'Choi' as following. Reviewed-by: Chanwoo Choi > > On 2018년 12월 03일 23:31, Luk

Re: [PATCH v2 1/5] devfreq: refactor set_target frequency function

2018-12-03 Thread Chanwoo Choi
Hi, On 2018년 12월 04일 13:39, Chanwoo Choi wrote: > Hi Lukasz, > > On 2018년 12월 03일 23:31, Lukasz Luba wrote: >> The refactoring is needed for the new client in devfreq: suspend. >> To avoid code duplication, move it to the new local function >> devfreq_set_target. >> >> The patch is based on earli

[PATCH v3] panic: Avoid the extra noise dmesg

2018-12-03 Thread Feng Tang
When kernel panic happens, it will first print the panic call stack, then the ending msg like: [ 35.743249] ---[ end Kernel panic - not syncing: Fatal exception [ 35.749975] [ cut here ] The above message are very useful for debugging. But if system is configured to n

Re: [PATCH v2 2/3] phy: sr-usb: Add stingray usb phy driver

2018-12-03 Thread Kishon Vijay Abraham I
Hi, On 03/12/18 2:06 PM, Srinath Mannam wrote: > This driver supports all versions of stingray SS and HS > USB phys. > In version 1 is combo phy contain both SS and HS phys > in a common IO space. > In version 2 a single HS phy. > These phys support both xHCI host driver and > BDC Broadcom device

Re: [PATCH v2 2/5] devfreq: add support for suspend/resume of a devfreq device

2018-12-03 Thread Chanwoo Choi
Hi Lukasz, Looks good to me. But, I add the some comments. If you will fix it, feel free to add my tag: Reviewed-by: Chanwoo choi On 2018년 12월 03일 23:31, Lukasz Luba wrote: > The patch prepares devfreq device for handling suspend/resume > functionality. The new fields will store needed informat

[PATCH] spi: lpspi: Add i.MX8 boards support for lpspi

2018-12-03 Thread Clark Wang
Add both ipg and per clock for lpspi to support i.MX8QM/QXP boards. Signed-off-by: Clark Wang --- drivers/spi/spi-fsl-lpspi.c | 52 + 1 file changed, 41 insertions(+), 11 deletions(-) diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c inde

Re: [PATCH] x86/boot: clear rsdp address in boot_params for broken loaders

2018-12-03 Thread Juergen Gross
On 04/12/2018 00:07, h...@zytor.com wrote: > On December 3, 2018 2:38:11 AM PST, Juergen Gross wrote: >> In case a broken boot loader doesn't clear its struct boot_params clear >> rsdp_addr in sanitize_boot_params(). >> >> This fixes commit e6e094e053af75 ("x86/acpi, x86/boot: Take RSDP >> address

Re: [PATCH v5 8/8] soc: qcom: rpmhpd: Mark mx as a parent for cx

2018-12-03 Thread Viresh Kumar
On 04-12-18, 10:51, Rajendra Nayak wrote: > Specify the active + sleep and active-only MX power domains as > the parents of the corresponding CX power domains. This will ensure that > performance state requests on CX automatically generate equivalent requests > on MX power domains. > > This is use

Re: [PATCH v5 7/8] arm64: dts: sdm845: Add rpmh powercontroller node

2018-12-03 Thread Viresh Kumar
On 04-12-18, 10:51, Rajendra Nayak wrote: > Add the DT node for the rpmhpd powercontroller. > > Signed-off-by: Rajendra Nayak > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 51 > 1 file changed, 51 insertions(+) Acked-by: Viresh Kumar -- viresh

[PATCH v5 1/8] dt-bindings: opp: Introduce qcom-opp bindings

2018-12-03 Thread Rajendra Nayak
On Qualcomm Technologies, Inc. platforms, an OPP node needs to describe an additional level/corner value that is then communicated to a remote microprocessor by the CPU, which then takes some actions (like adjusting voltage values across various rails) based on the value passed. Describe these bin

Re: [PATCH] jbd2: clean up indentation issue, replace spaces with tab

2018-12-03 Thread Theodore Y. Ts'o
On Mon, Nov 26, 2018 at 02:56:32PM +0100, Jan Kara wrote: > On Fri 23-11-18 16:40:53, Colin King wrote: > > From: Colin Ian King > > > > There is a statement that is indented with spaces, replace it with > > a tab. > > > > Signed-off-by: Colin Ian King > > Looks good. You can add: > > Reviewe

[PATCH v5 2/8] dt-bindings: power: Add qcom rpm power domain driver bindings

2018-12-03 Thread Rajendra Nayak
Add DT bindings to describe the rpm/rpmh power domains found on Qualcomm Technologies, Inc. SoCs. These power domains communicate a performance state to RPM/RPMh, which then translates it into corresponding voltage on a PMIC rail. Signed-off-by: Rajendra Nayak Signed-off-by: Viresh Kumar Reviewe

[PATCH v5 8/8] soc: qcom: rpmhpd: Mark mx as a parent for cx

2018-12-03 Thread Rajendra Nayak
Specify the active + sleep and active-only MX power domains as the parents of the corresponding CX power domains. This will ensure that performance state requests on CX automatically generate equivalent requests on MX power domains. This is used to enforce a requirement that exists for various har

[PATCH v5 6/8] soc: qcom: rpmhpd: Add RPMh Power domain driver

2018-12-03 Thread Rajendra Nayak
The RPMh Power domain driver aggregates the corner votes from various consumers for the ARC resources and communicates it to RPMh. With RPMh we use 2 different numbering space for corners, one used by the clients to express their performance needs, and another used to communicate to RPMh hardware.

[PATCH v5 3/8] soc: qcom: rpmpd: Add a Power domain driver to model corners

2018-12-03 Thread Rajendra Nayak
The Power domains for corners just pass the performance state set by the consumers to the RPM (Remote Power manager) which then takes care of setting the appropriate voltage on the corresponding rails to meet the performance needs. We add all Power domain data needed on msm8996 here. This driver c

[PATCH v5 4/8] soc: qcom: rpmpd: Add support for get/set performance state

2018-12-03 Thread Rajendra Nayak
Add support for the .set_performace_state() and .opp_to_performance_state() callbacks in the rpmpd driver. Signed-off-by: Rajendra Nayak Signed-off-by: Viresh Kumar Reviewed-by: Ulf Hansson --- drivers/soc/qcom/rpmpd.c | 46 1 file changed, 46 insertion

[PATCH v5 7/8] arm64: dts: sdm845: Add rpmh powercontroller node

2018-12-03 Thread Rajendra Nayak
Add the DT node for the rpmhpd powercontroller. Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 51 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index b72bdb0a31a5

[PATCH v5 5/8] arm64: dts: msm8996: Add rpmpd device node

2018-12-03 Thread Rajendra Nayak
Add rpmpd device node and its OPP table Signed-off-by: Rajendra Nayak Signed-off-by: Viresh Kumar Reviewed-by: Ulf Hansson --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 34 +++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/ar

[PATCH v5 0/8] Add power domain driver for corners on msm8996/sdm845

2018-12-03 Thread Rajendra Nayak
Hi Rob, This series is mainly pending your review/ack for the DT parts. Rest of the genpd parts are reviewed and acked by both Viresh and Ulf. Changes in v5: * First 6 patches are unchanged * Patch 7/8 adds the DT node for rpmh power-controller on sdm845 and the corresponding OPP tables for it to

Re: [PATCH] ext4: clean up indentation issues, remove extraneous tabs

2018-12-03 Thread Theodore Y. Ts'o
On Tue, Nov 27, 2018 at 10:28:36AM +0100, Jan Kara wrote: > On Fri 23-11-18 16:30:43, Colin King wrote: > > From: Colin Ian King > > > > There are several lines that are indented too far, clean these > > up by removing the tabs. > > > > Signed-off-by: Colin Ian King > > The patch looks good. Y

Re: [PATCH v11 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver

2018-12-03 Thread Viresh Kumar
Hi Taniya, Sorry that I haven't been reviewing it much from last few iterations as I was letting others get this into a better shape. Thanks for your efforts.. On 02-12-18, 09:25, Taniya Das wrote: > +++ b/drivers/cpufreq/qcom-cpufreq-hw.c > +struct cpufreq_qcom { > + struct cpufreq_frequenc

Re: [PATCH v5 2/2] phy: qualcomm: Add Synopsys High-Speed USB PHY driver

2018-12-03 Thread Kishon Vijay Abraham I
Hi, On 27/11/18 3:37 PM, Shawn Guo wrote: > It adds Synopsys 28nm Femto High-Speed USB PHY driver support, which > is usually paired with Synopsys DWC3 USB controllers on Qualcomm SoCs. Is this Synopsys PHY specific to Qualcomm or could it be used by other vendors (with just changing tuning param

RE,

2018-12-03 Thread Ms Sharifah Ahmad Mustahfa
-- Hello, First of all i will like to apologies for my manner of communication because you do not know me personally, its due to the fact that i have a very important proposal for you.

Re: [PATCH v2 1/5] devfreq: refactor set_target frequency function

2018-12-03 Thread Chanwoo Choi
Hi Lukasz, On 2018년 12월 03일 23:31, Lukasz Luba wrote: > The refactoring is needed for the new client in devfreq: suspend. > To avoid code duplication, move it to the new local function > devfreq_set_target. > > The patch is based on earlier work by Tobias Jakobi. As I already commented, Please r

linux-next: manual merge of the char-misc tree with the char-misc.current tree

2018-12-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the char-misc tree got a conflict in: drivers/hv/channel_mgmt.c between commit: 37c2578c0c40 ("Drivers: hv: vmbus: Offload the handling of channels to two workqueues") from the char-misc.current tree and commit: 4d3c5c69191f ("Drivers: hv: vmbus: Rem

Re: [PATCH] ext4: fix possible use after free in ext4_quota_enable

2018-12-03 Thread Theodore Y. Ts'o
On Tue, Nov 27, 2018 at 10:14:53AM +0100, Jan Kara wrote: > On Mon 26-11-18 11:21:06, Pan Bian wrote: > > The function frees qf_inode via iput but then pass qf_inode to > > lockdep_set_quota_inode on the failure path. This may result in a > > use-after-free bug. The patch frees df_inode only when i

RE,

2018-12-03 Thread Ms Sharifah Ahmad Mustahfa
-- Hello, First of all i will like to apologies for my manner of communication because you do not know me personally, its due to the fact that i have a very important proposal for you.

Query regarding Spectre fixes for qemu-kvm...4.4 LTS Kernel.

2018-12-03 Thread Arackal, Paulose Kuriakose (STSD)
Hi, I have few queries regarding qemu-kvm support of Spectre related fixes at 4.4.* LTS Kernel. I see that in upstream kernels, svm_vcpu_run() calls x86_spec_ctrl_set_guest() and x86_spec_ctrl_restore_host(). And calling into x86_virt_spec_ctrl(), that sets IBRS/IBPB/SSBD bits accordingly fo

Re: [PATCH 2/2] Input: omap-keypad: Fix idle configration to not block SoC idle states

2018-12-03 Thread Dmitry Torokhov
Hi Tony, On Mon, Dec 03, 2018 at 03:12:51PM -0800, Tony Lindgren wrote: > > With PM enabled, I noticed that pressing a key on the droid4 keyboard will > block deeper idle states for the SoC. Looks like we can fix this by > managing the idle register to gether with the interrupt similar to what >

Re: [PATCH] platform/x86: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-03 Thread Frank Lee
On Tue, Dec 4, 2018 at 3:09 AM Andy Shevchenko wrote: > > On Sat, Dec 1, 2018 at 5:52 PM Yangtao Li wrote: > > > > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > By some reason it's not applicable. > Please, rebase on top of our for-next branch, thanks! For what reason? I thought that

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-03 Thread David Rientjes
On Tue, 4 Dec 2018, Pingfan Liu wrote: > diff --git a/include/linux/gfp.h b/include/linux/gfp.h > index 76f8db0..8324953 100644 > --- a/include/linux/gfp.h > +++ b/include/linux/gfp.h > @@ -453,6 +453,8 @@ static inline int gfp_zonelist(gfp_t flags) > */ > static inline struct zonelist *node_zo

[RFC PATCH] Add IPA clock support for clk-rpmh

2018-12-03 Thread David Dai
This patch extends the existing clk-rpmh driver to support a different type of RPMh resource known as Bus Clock Manager(BCM) in order to scale performance for the Qualcomm IP Accelerator(IPA) core clock. David Dai (1): clk: qcom: clk-rpmh: Add IPA clock support drivers/clk/qcom/clk-rpmh.c

[RFC PATCH] clk: qcom: clk-rpmh: Add IPA clock support

2018-12-03 Thread David Dai
Add IPA clock support by extending the current clk rpmh driver to support clocks that are managed by a different type of RPMh resource known as Bus Clock Manager(BCM). Signed-off-by: David Dai --- drivers/clk/qcom/clk-rpmh.c | 142 ++ include/dt-bindings

[git pull] Input updates for v4.20-rc5

2018-12-03 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. Mostly new IDs for Elan/Synaptics touchpads, plus a few small fixups. Changelog: - Adam Wong (1): Input: elan_i2c - add support f

RE: [PATCH] ARM: imx: update the cpu power up timing setting

2018-12-03 Thread Anson Huang
Hi, Fabio Best Regards! Anson Huang > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018年12月3日 20:03 > To: Anson Huang > Cc: Shawn Guo ; Sascha Hauer > ; Sascha Hauer ; Fabio > Estevam ; Russell King - ARM Linux > ; moderated list:ARM/FREESCALE IMX / MXC AR

[PATCH V2] ARM: imx: update the cpu power up timing setting on i.mx6sx

2018-12-03 Thread Anson Huang
The sw2iso count should cover ARM LDO ramp-up time, the MAX ARM LDO ramp-up time may be up to more than 100us on some boards, this patch sets sw2iso to 0xf (~384us) which is the reset value, and it is much more safe to cover different boards, since we have observed that some customer boards failed

Re: [PATCH V3 1/3] mmc: sdhci: add support for using external DMA devices

2018-12-03 Thread Chunyan Zhang
Hi Faiz, On Mon, 3 Dec 2018 at 21:55, Faiz Abbas wrote: > > Hi, > > On 03/12/18 5:45 PM, Faiz Abbas wrote: > > Hi, > > > >> +static void sdhci_external_dma_prepare_data(struct sdhci_host *host, > >> +struct mmc_command *cmd) > >> +{ > > > > Please add a con

[PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-03 Thread Pingfan Liu
During my test on some AMD machine, with kexec -l nr_cpus=x option, the kernel failed to bootup, because some node's data struct can not be allocated, e.g, on x86, initialized by init_cpu_to_node()->init_memory_less_node(). But device->numa_node info is used as preferred_nid param for __alloc_pages

Re: [PATCH v2] memblock: Anonotate memblock_is_reserved() with __init_memblock.

2018-12-03 Thread Wei Yang
On Mon, Dec 03, 2018 at 04:00:08AM +, Yueyi Li wrote: >Found warning: > >WARNING: EXPORT symbol "gsi_write_channel_scratch" [vmlinux] version >generation failed, symbol will not be versioned. >WARNING: vmlinux.o(.text+0x1e0a0): Section mismatch in reference from the >function valid_phys_addr_

Re: [PATCH v2 2/3] mmc: sdhci-omap: Add using external dma

2018-12-03 Thread Chunyan Zhang
Hi Faiz, Thanks for the review and test! On Mon, 3 Dec 2018 at 21:47, Faiz Abbas wrote: > > Chunyan, > > On 12/11/18 12:56 PM, Chunyan Zhang wrote: > > sdhci-omap can support both external dma controller via dmaengine framework > > as well as ADMA which standard SD host controller provides. > >

Re: [PATCH] printk: don't unconditionally shortcut print_time()

2018-12-03 Thread Sergey Senozhatsky
On (12/02/18 14:02), Tetsuo Handa wrote: > > @@ -1541,11 +1545,13 @@ int do_syslog(int type, char __user *buf, int len, > int source) > } else { > u64 seq = syslog_seq; > u32 idx = syslog_idx; > + bool f = syslog_parti

Re: [PATCH 3/3] mm/memcg: Avoid reclaiming below hard protection

2018-12-03 Thread Xunlei Pang
On 2018/12/3 PM 7:57, Michal Hocko wrote: > On Mon 03-12-18 16:01:19, Xunlei Pang wrote: >> When memcgs get reclaimed after its usage exceeds min, some >> usages below the min may also be reclaimed in the current >> implementation, the amount is considerably large during kswapd >> reclaim according

Re: [PATCH 2/3] mm/vmscan: Enable kswapd to reclaim low-protected memory

2018-12-03 Thread Xunlei Pang
On 2018/12/4 AM 1:22, Michal Hocko wrote: > On Mon 03-12-18 23:20:31, Xunlei Pang wrote: >> On 2018/12/3 下午7:56, Michal Hocko wrote: >>> On Mon 03-12-18 16:01:18, Xunlei Pang wrote: There may be cgroup memory overcommitment, it will become even common in the future. Let's enable

Re: [PATCH v7 2/4] clk: meson: add DT documentation for emmc clock controller

2018-12-03 Thread Jianxin Pan
Hi Stephen, On 2018/12/4 6:45, Stephen Boyd wrote: > Quoting Jianxin Pan (2018-11-15 04:18:30) >> diff --git a/include/dt-bindings/clock/amlogic,mmc-clkc.h >> b/include/dt-bindings/clock/amlogic,mmc-clkc.h >> new file mode 100644 >> index 000..162b949 >> --- /dev/null >> +++ b/include/dt-bind

Re: [PATCH v9 2/4] seccomp: switch system call argument type to void *

2018-12-03 Thread Tycho Andersen
also build test ERROR on v4.20-rc5 next-20181203] > > [if your patch is applied to the wrong git tree, please drop us a note to > > help improve the system] > > > > url: > > https://github.com/0day-ci/linux/commits/Tycho-Andersen/seccomp-hoist-struct-seccomp_data-

Re: [PATCH -V7 RESEND 08/21] swap: Support to read a huge swap cluster for swapin a THP

2018-12-03 Thread Huang, Ying
Daniel Jordan writes: > On Sat, Dec 01, 2018 at 08:34:06AM +0800, Huang, Ying wrote: >> Daniel Jordan writes: >> > What do you think? >> >> I think that swapoff() which is the main user of try_to_unuse() isn't a >> common operation in practical. So it's not necessary to make it more >> complex

Re: [PATCH v9 2/4] seccomp: switch system call argument type to void *

2018-12-03 Thread Tycho Andersen
On Tue, Dec 04, 2018 at 10:07:38AM +0800, kbuild test robot wrote: > Hi Tycho, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.20-rc5 next-20181203] > [if your patch is applied to the wrong git t

Re: [PATCH] pinctrl: meson: fix G12A ao pull registers base address

2018-12-03 Thread Xingyu Chen
On 2018/12/3 18:36, Jerome Brunet wrote: On Mon, 2018-12-03 at 11:27 +0100, Neil Armstrong wrote: Hi Xingyu, On 03/12/2018 04:05, Xingyu Chen wrote: Since Meson G12A SoC, Introduce new ao registers AO_RTI_PULL_UP_EN_REG and AO_GPIO_O. These bits of controlling output level are remapped to

Re: [PATCH v4 0/7] zram idle page writeback

2018-12-03 Thread Sergey Senozhatsky
On (12/03/18 11:40), Minchan Kim wrote: > > Minchan Kim (7): > zram: fix lockdep warning of free block handling > zram: fix double free backing device > zram: refactoring flags and writeback stuff > zram: introduce ZRAM_IDLE flag > zram: support idle/huge page writeback > zram: add bd_

Re: [PATCH v9 2/4] seccomp: switch system call argument type to void *

2018-12-03 Thread kbuild test robot
Hi Tycho, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.20-rc5 next-20181203] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

[PATCH] squashfs: enable __GFP_FS in ->readpage to prevent hang in mem alloc

2018-12-03 Thread Hou Tao
There is no need to disable __GFP_FS in ->readpage: * It's a read-only fs, so there will be no dirty/writeback page and there will be no deadlock against the caller's locked page * It just allocates one page, so compaction will not be invoked * It doesn't take any inode lock, so the reclamation o

Re: [PATCH] pinctrl: meson: fix G12A ao pull registers base address

2018-12-03 Thread Xingyu Chen
On 2018/12/3 18:27, Neil Armstrong wrote: Hi Xingyu, On 03/12/2018 04:05, Xingyu Chen wrote: Since Meson G12A SoC, Introduce new ao registers AO_RTI_PULL_UP_EN_REG and AO_GPIO_O. These bits of controlling output level are remapped to the new register AO_GPIO_O, and the AO_GPIO_O_EN_N suppo

  1   2   3   4   5   6   7   8   9   >