Re: [PATCH 4.19 000/205] 4.19.3-stable review

2018-11-19 Thread Greg Kroah-Hartman
On Tue, Nov 20, 2018 at 12:44:31PM +0530, Harsh Shandilya wrote: > On 19 November 2018 9:55:07 PM IST, Greg Kroah-Hartman > wrote: > >This is the start of the stable review cycle for the 4.19.3 release. > >There are 205 patches in this series, all will be posted as a response > >to this one. If

Re: [PATCH 3.18 00/90] 3.18.126-stable review

2018-11-19 Thread Greg Kroah-Hartman
On Mon, Nov 19, 2018 at 05:09:38PM -0700, shuah wrote: > On 11/19/18 9:28 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.18.126 release. > > There are 90 patches in this series, all will be posted as a response > > to this one. If anyone has any issues wit

Re: [RFC PATCH] mm, proc: report PR_SET_THP_DISABLE in proc

2018-11-19 Thread Michal Hocko
On Mon 19-11-18 14:05:34, David Rientjes wrote: > On Thu, 15 Nov 2018, Michal Hocko wrote: > > > > The userspace had a single way to determine if thp had been disabled for > > > a > > > specific vma and that was broken with your commit. We have since fixed > > > it. Modifying our software sta

Re: [PATCH 4.4 131/160] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-11-19 Thread Michal Hocko
On Mon 19-11-18 14:16:24, David Rientjes wrote: > On Mon, 19 Nov 2018, Greg Kroah-Hartman wrote: > > > 4.4-stable review patch. If anyone has any objections, please let me know. > > > > As I noted when this patch was originally proposed and when I nacked it[*] > because it causes a 13.9% incre

Re: [PATCH 02/13] x86/fault: Check user_mode(regs) when validating a stack extension

2018-11-19 Thread Ingo Molnar
* Andy Lutomirski wrote: > The fault handling code tries to validate that a page fault from > user mode that would extend the stack is within a certain range of > the user SP. regs->sp is only equal to the user SP if > user_mode(regs). In the extremely unlikely event that that > sw_error_code

Re: [PATCH 5/5] dma-direct: always allow dma mask <= physiscal memory size

2018-11-19 Thread Ramon Fried
On Mon, Nov 19, 2018 at 5:50 PM Robin Murphy wrote: > > On 19/11/2018 14:18, Ramon Fried wrote: > > On Tue, Oct 9, 2018 at 8:02 AM Benjamin Herrenschmidt > > wrote: > >> > >> On Wed, 2018-10-03 at 16:10 -0700, Alexander Duyck wrote: > -* Because 32-bit DMA masks are so common we expe

Re: omap5 fixing palmas IRQ_TYPE_NONE warning leads to gpadc timeouts

2018-11-19 Thread Peter Ujfalusi
On 19/11/2018 18.19, Tony Lindgren wrote: > * Peter Ujfalusi [181119 10:16]: >> On 2018-11-13 20:06, Tony Lindgren wrote: >>> Looks like the IRQ_TYPE_NONE issue still is there for omap5 and >>> should be fixed with IRQ_TYPE_HIGH. >>> >>> No idea about why palmas interrupts would stop working th

Re: Cleaning up numbering for new x86 syscalls?

2018-11-19 Thread Ingo Molnar
* Andy Lutomirski wrote: > Hi all- > > We currently have some giant turds in the way that syscalls are > numbered. We have the x86_32 table, which is totally sane other than > some legacy multiplexers. Then we have the x86_64 table, which is, > um, demented: > > - The numbers don't match x

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-19 Thread Peter Ujfalusi
Aaro, On 19/11/2018 20.46, Aaro Koskinen wrote: > Hi, > > On Mon, Nov 19, 2018 at 12:40:40PM +0200, Peter Ujfalusi wrote: >> When the channel is configured for slave operation the LCH_TYPE needs to be >> set to LCh-P. For memcpy channels the LCH_TYPE must be set to LCh-2D. >> >> Signed-off-by: Pe

Re: [Ksummit-discuss] [RFC PATCH 2/3] MAINTAINERS, Handbook: Subsystem Profile

2018-11-19 Thread Jani Nikula
On Fri, 16 Nov 2018, Joe Perches wrote: > On Fri, 2018-11-16 at 14:44 +0200, Jani Nikula wrote: >> I quickly cooked up this script to produce the top-5 commit prefixes for >> the given files over the arbitrary last 200 commits. It'll give you a >> pretty good idea if you're even close. >> >> ---

[PATCH 2/2] x86/acpi, x86/boot: Take RSDP address from boot params if available

2018-11-19 Thread Juergen Gross
In case the RSDP address in struct boot_params is specified don't try to find the table by searching, but take the address directly as set by the boot loader. Signed-off-by: Juergen Gross --- arch/x86/include/uapi/asm/bootparam.h | 3 ++- arch/x86/kernel/acpi/boot.c | 2 +- 2 files cha

Re: [PATCH 1/4] mmc: sdhci-omap: Fix DCRC error handling during tuning

2018-11-19 Thread Faiz Abbas
Hi Uffe On 19/11/18 6:48 PM, Ulf Hansson wrote: > On 19 November 2018 at 12:16, Faiz Abbas wrote: >> Commit 7d33c3581536 ("mmc: sdhci-omap: Workaround for Errata i802") >> disabled DCRC interrupts during tuning. This write to the interrupt >> enable register gets overwritten in sdhci_prepare_data

Re: [PATCH v4 1/2] gpio: Add driver for PC Engines APU boards

2018-11-19 Thread Florian Eckert
Hello Linus Signed-off-by: Florian Eckert This is looking better and better! Thanks to everyone helping out and thanks for your perseverance Florian! I have to thanks for reviewing my driver. This is the way opensource works. Thanks for the feedback i will update the driver with your sugg

Re: [PATCH 4.19 000/205] 4.19.3-stable review

2018-11-19 Thread Harsh Shandilya
On 19 November 2018 9:55:07 PM IST, Greg Kroah-Hartman wrote: >This is the start of the stable review cycle for the 4.19.3 release. >There are 205 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 know. > >Res

Re: [PATCH v3 3/3] ALSA: hda: add support for Huawei WMI micmute LED

2018-11-19 Thread Takashi Iwai
On Tue, 20 Nov 2018 00:57:13 +0100, Pavel Machek wrote: > > > +#if IS_ENABLED(CONFIG_HUAWEI_LAPTOP) > > +#include > > + > > +static int (*huawei_wmi_micmute_led_set_func)(bool); > > + > > So we should not be doing this. > > Thinkpad ACPI module exports its LEDs there, for example. Both thinkpa

Re: [PATCH v2 0/3] Fixes for Tegra soctherm

2018-11-19 Thread Wei Ni
Hi all, Do you have any comments on this serial? Thanks. Wei. On 13/11/2018 6:06 PM, Wei Ni wrote: > This series fixed some issues for Tegra soctherm > > Main changes from v1: > 1. Acked by Thierry Reding for the patch > "thermal: tegra: fix memory allocation". > 2. Print out the sensor name wh

RE: [LINUX PATCH v12 3/3] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-11-19 Thread Naga Sureshkumar Relli
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Monday, November 19, 2018 1:33 PM > To: Naga Sureshkumar Relli > Cc: miquel.ray...@bootlin.com; rich...@nod.at; dw...@infradead.org; > computersforpe...@gmail.com; marek.va...@gmail.com; >

RE: [PATCH] thermal: imx: fix for dependency on cpu-freq

2018-11-19 Thread Anson Huang
Gentle Ping... Best Regards! Anson Huang > -Original Message- > From: Anson Huang > Sent: 2018年10月24日 14:40 > To: rui.zh...@intel.com; edubez...@gmail.com; linux...@vger.kernel.org; > linux-kernel@vger.kernel.org > Cc: dl-linux-imx > Subject: [PATCH] thermal: imx: fix for dependency on c

WE NEED YOUR HELP FOR A BUSINESS INVESTMENT !!!

2018-11-19 Thread Khaled Salim
Hello, My client is seeking a US$100 Million private investment diversification in a viable business in your region with an Individual like you. This offer will require your technical and managerial partnership. Should you be inclined to pursue this offer, Contact me for detailed information.

Re: KASAN: use-after-free Read in locks_delete_block

2018-11-19 Thread Dmitry Vyukov
On Sat, Nov 17, 2018 at 3:03 PM, Bruce Fields wrote: > On Sat, Nov 17, 2018 at 08:33:27AM -0500, Jeff Layton wrote: >> Thanks for the explanation, Dmitry. I've added the tag to the patch in >> my tree. It should show up in linux-next soon. >> >> I still find it a little misleading to say that syzb

make[2]: *** No rule to make target 'arch/sh/boot/dts/.dtb.S', needed by 'arch/sh/boot/dts/.dtb.o'.

2018-11-19 Thread kbuild test robot
Hi Rob, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f2ce1065e767fc7da106a5f5381d1e8f842dc6f4 commit: 37c8a5fafa3bb7dcdd51774be353be6cb2912b86 kbuild: consolidate Devicetree dtb build rules date: 7 weeks ago co

RE: [RFC v4 0/2] WhiteEgret LSM module

2018-11-19 Thread shinya1.takumi
We appreciate your comments. We refine source code according to your comments. >> This is an interesting idea, and an evolution since the initial >> approach which was submitted based upon xattr attributes. I still >> find the idea of using attributes simpler to manage though, since >> they're ea

[PATCH] debugobjects: scale the static pool size

2018-11-19 Thread Qian Cai
The current value of the early boot static pool size is not big enough for systems with large number of CPUs with timer or/and workqueue objects selected. As the results, systems have 60+ CPUs with both timer and workqueue objects enabled could trigger "ODEBUG: Out of memory. ODEBUG disabled". Henc

Re: [PATCH 1/3] ARM: davinci: define gpio interrupts as separate resources

2018-11-19 Thread J, KEERTHY
On 11/20/2018 2:22 AM, Sekhar Nori wrote: On 13/11/18 7:20 PM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Since commit eb3744a2dd01 ("gpio: davinci: Do not assume continuous IRQ numbering") the davinci GPIO driver fails to probe if we boot in legacy mode from any of the board file

Re: [PATCH v1 01/11] clk: mediatek: add new clkmux register API

2018-11-19 Thread Weiyi Lu
On Tue, 2018-11-13 at 08:00 -0800, Nicolas Boichat wrote: > On Mon, Nov 5, 2018 at 10:42 PM Weiyi Lu wrote: > > > > From: Owen Chen > > > > On both MT8183 & MT6765, there add "set/clr" register for > > each clkmux setting, and one update register to trigger value change. > > It is designed to pre

Re: [PATCH v9 15/15] OPTIONAL: cpufreq: dt: Register an Energy Model

2018-11-19 Thread Viresh Kumar
On 19-11-18, 14:18, Quentin Perret wrote: > static int cpufreq_init(struct cpufreq_policy *policy) > { > + struct em_data_callback em_cb = EM_DATA_CB(of_est_power); > struct cpufreq_frequency_table *freq_table; > struct opp_table *opp_table = NULL; > struct private_data *pri

[PATCH] ptrace: take into account saved_sigmask in PTRACE_{GET,SET}SIGMASK

2018-11-19 Thread Andrei Vagin
There are a few system calls (pselect, ppoll, etc) which replace a task sigmask while they are running in a kernel-space When a task calls one of these syscalls, the kernel saves a current sigmask in task->saved_sigmask and sets a syscall sigmask. On syscall-exit-stop, ptrace traps a task before

Re: Memory hotplug softlock issue

2018-11-19 Thread Hugh Dickins
On Tue, 20 Nov 2018, Baoquan He wrote: > On 11/19/18 at 09:59pm, Michal Hocko wrote: > > On Mon 19-11-18 12:34:09, Hugh Dickins wrote: > > > I'm glad that I delayed, what I had then (migration_waitqueue instead > > > of using page_waitqueue) was not wrong, but what I've been using the > > > last co

Re: [PATCH] MAINTAINERS: Add Kishon as maintainer of PHY bindings

2018-11-19 Thread Kishon Vijay Abraham I
Hi Rob, On 17/11/18 1:50 AM, Rob Herring wrote: On Thu, Oct 18, 2018 at 8:31 AM Rob Herring wrote: DT bindings normally go in via subsystem maintainers, so add PHY bindings under generic PHY framework. Reported-by: Gustavo A. R. Silva Cc: Kishon Vijay Abraham I Signed-off-by: Rob Herring

[PATCH -manpage 2/2] memfd_create.2: Update manpage with new memfd F_SEAL_FUTURE_WRITE seal

2018-11-19 Thread Joel Fernandes (Google)
More details of the seal can be found in the LKML patch: https://lore.kernel.org/lkml/20181120052137.74317-1-j...@joelfernandes.org/T/#t Signed-off-by: Joel Fernandes (Google) --- man2/memfd_create.2 | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/man2/memfd_c

[PATCH -manpage 1/2] fcntl.2: Update manpage with new memfd F_SEAL_FUTURE_WRITE seal

2018-11-19 Thread Joel Fernandes (Google)
More details of the seal can be found in the LKML patch: https://lore.kernel.org/lkml/20181120052137.74317-1-j...@joelfernandes.org/T/#t Signed-off-by: Joel Fernandes (Google) --- man2/fcntl.2 | 15 +++ 1 file changed, 15 insertions(+) diff --git a/man2/fcntl.2 b/man2/fcntl.2 index

[PATCH -next 1/2] mm/memfd: make F_SEAL_FUTURE_WRITE seal more robust

2018-11-19 Thread Joel Fernandes (Google)
A better way to do F_SEAL_FUTURE_WRITE seal was discussed [1] last week where we don't need to modify core VFS structures to get the same behavior of the seal. This solves several side-effects pointed out by Andy [2]. [1] https://lore.kernel.org/lkml/2018173650.ga256...@google.com/ [2] https:

[PATCH -next 2/2] selftests/memfd: modify tests for F_SEAL_FUTURE_WRITE seal

2018-11-19 Thread Joel Fernandes (Google)
Modify the tests for F_SEAL_FUTURE_WRITE based on the changes introduced in previous patch. Also add a test to make sure the reopen issue pointed by Jann Horn [1] is fixed. [1] https://lore.kernel.org/lkml/CAG48ez1h=v-JYnDw81HaYJzOfrNhwYksxmc2r=cjvdqvgym...@mail.gmail.com/ Cc: Jann Horn Signed

ERROR: "numa_slit" [drivers/nvme/host/nvme-core.ko] undefined!

2018-11-19 Thread kbuild test robot
Hi Matias, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f2ce1065e767fc7da106a5f5381d1e8f842dc6f4 commit: 73569e11032fc5a9b314b6351632cfca7793afd5 lightnvm: remove dependencies on BLK_DEV_NVME and PCI date: 6 we

Re: [PATCH v2] mm: fix swap offset when replacing shmem page

2018-11-19 Thread Hugh Dickins
On Mon, 19 Nov 2018, Yu Zhao wrote: > On Mon, Nov 19, 2018 at 02:11:27PM -0800, Hugh Dickins wrote: > > On Sun, 18 Nov 2018, Yu Zhao wrote: > > > > > We used to have a single swap address space with swp_entry_t.val > > > as its radix tree index. This is not the case anymore. Now Each > > > swp_typ

Re: [PATCH 12/16] clocksource: Add clock driver for RDA8810PL SoC

2018-11-19 Thread Manivannan Sadhasivam
Hi Marc, On Mon, Nov 19, 2018 at 05:57:12PM +, Marc Zyngier wrote: > On 19/11/2018 17:09, Manivannan Sadhasivam wrote: > > Add clock driver for RDA Micro RDA8810PL SoC supporting OSTIMER > > and HWTIMER. > > > > Signed-off-by: Andreas Färber > > Signed-off-by: Manivannan Sadhasivam > > ---

[PATCH] perf vendor events intel: Fix Load_Miss_Real_Latency on SKL/SKX

2018-11-19 Thread Andi Kleen
From: Andi Kleen Fix incorrect event names for the Load_Miss_Real_Latency metric for Skylake and Skylake Server. Fixes https://github.com/andikleen/pmu-tools/issues/158 Before: % perf stat -M Load_Miss_Real_Latency true event syntax error: '..ss.pending,mem_load_retired.l1_miss_ps,mem_load_re

[PATCH] perf script: Fix LBR skid dump problems in brstackinsn

2018-11-19 Thread Andi Kleen
From: Andi Kleen This is a fix for another instance of the skid problem Milian recently found [1] The LBRs don't freeze at the exact same time as the PMI is triggered. The perf script brstackinsn code that dumps LBR assembler assumes that the last branch in the LBR leads to the sample point. But

linux-next: Tree for Nov 20

2018-11-19 Thread Stephen Rothwell
Hi all, Changes since 20181119: The regulator tree gained a build failure so I used the version from next-20181119. The tip tree still had its build failure for which I applied a fix patch. The staging tree gained a conflict against the drm tree. Non-merge commits (relative to Linus'

Re: [PATCH 4/4] mmc: sdhci-omap: Remove redundant structure assignments

2018-11-19 Thread Kishon Vijay Abraham I
On 19/11/18 4:46 PM, Faiz Abbas wrote: The sdhci_execute_tuning() function has assignment of private pointers multiple times. Remove the redundant assignment. Signed-off-by: Faiz Abbas Acked-by: Kishon Vijay Abraham I --- drivers/mmc/host/sdhci-omap.c | 4 1 file changed, 4 delet

Re: [PATCH 3/4] mmc: sdhci-omap: Add platform specific reset callback

2018-11-19 Thread Kishon Vijay Abraham I
On 19/11/18 4:46 PM, Faiz Abbas wrote: The TRM (SPRUIC2C - January 2017 - Revised May 2018 [1]) forbids assertion of data reset while tuning is happening. Implement a platform specific callback that takes care of this condition. [1] http://www.ti.com/lit/pdf/spruic2 Section 25.5.1.2.4 Signed

Re: [PATCH v1 2/2] signal: add procfd_signal() syscall

2018-11-19 Thread Eric W. Biederman
Daniel Colascione writes: > On Mon, Nov 19, 2018 at 1:37 PM Christian Brauner > wrote: >> >> On Mon, Nov 19, 2018 at 01:26:22PM -0800, Daniel Colascione wrote: >> > On Mon, Nov 19, 2018 at 1:21 PM, Christian Brauner >> > wrote: >> > > That can be done without a loop by comparing the level cou

Re: [PATCH 1/4] mmc: sdhci-omap: Fix DCRC error handling during tuning

2018-11-19 Thread Kishon Vijay Abraham I
Hi, On 19/11/18 4:46 PM, Faiz Abbas wrote: Commit 7d33c3581536 ("mmc: sdhci-omap: Workaround for Errata i802") disabled DCRC interrupts during tuning. This write to the interrupt enable register gets overwritten in sdhci_prepare_data() and the interrupt is not in fact disabled. Fix this by disab

Re: [PATCH v9 02/15] sched/cpufreq: Prepare schedutil for Energy Aware Scheduling

2018-11-19 Thread Viresh Kumar
On 19-11-18, 14:18, Quentin Perret wrote: > @@ -223,20 +222,33 @@ static unsigned long sugov_get_util(struct sugov_cpu > *sg_cpu) > - if ((util + cpu_util_dl(rq)) >= max) > - return max; > + if (type == FREQUENCY_UTIL) { > + /* > + * For frequency sele

Re: [RFC PATCH] dt-bindings: opp: Extend qcom-opp bindings with properties needed for CPR

2018-11-19 Thread Rajendra Nayak
On 11/9/2018 10:09 PM, Niklas Cassel wrote: On Mon, Nov 05, 2018 at 05:17:45PM -0600, Rob Herring wrote: On Mon, Oct 15, 2018 at 02:47:49PM +0200, Niklas Cassel wrote: Extend qcom-opp bindings with properties needed for Core Power Reduction (CPR). CPR is included in a great variety of Qualc

Re: KASAN: use-after-free Read in tick_sched_handle (3)

2018-11-19 Thread Frederic Weisbecker
On Mon, Nov 19, 2018 at 01:39:02PM -0800, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:bae4e109837b mlxsw: spectrum: Expose discard counters via .. > git tree: net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=11b5e77b40 > kernel

RE: [PATCH V4] binder: ipc namespace support for android binder

2018-11-19 Thread 周威
> On Fri, Nov 16, 2018 at 11:19:41AM -0800, Todd Kjos wrote: > > On Thu, Nov 15, 2018 at 2:54 PM gre...@linuxfoundation.org > > wrote: > > ... > > > > > > A number of us have talked about this in the plumbers Android track, and > > > a different proposal for how to solve this has been made that sh

Re: [PATCH v1 02/11] clk: mediatek: add new member to mtk_pll_data

2018-11-19 Thread Weiyi Lu
On Tue, 2018-11-13 at 08:18 -0800, Nicolas Boichat wrote: > On Mon, Nov 5, 2018 at 10:43 PM Weiyi Lu wrote: > > > > From: Owen Chen > > > > 1. pcwibits: The integer bits of pcw for plls is extend to 8 bits, > >add a variable to indicate this change and > >backward-compatible. > > 2. fmin:

Re: [PATCH v2 5/9] kbuild: simplify dependency generation for CONFIG_TRIM_UNUSED_KSYMS

2018-11-19 Thread Nicolas Pitre
On Tue, 20 Nov 2018, Masahiro Yamada wrote: > My main motivation of this commit is to clean up scripts/Kbuild.include > and scripts/Makefile.build. > > Currently, CONFIG_TRIM_UNUSED_KSYMS works with a tricky gimmick; > possibly exported symbols are detected by letting $(CPP) replace > EXPORT_SYMB

Re: [PATCH 09/16] irqchip: Add RDA8810PL interrupt driver

2018-11-19 Thread Manivannan Sadhasivam
Hi Marc, Thanks for the quick review! On Mon, Nov 19, 2018 at 05:36:49PM +, Marc Zyngier wrote: > Manivannan, > > On 19/11/2018 17:09, Manivannan Sadhasivam wrote: > > Add interrupt driver for RDA Micro RDA8810PL SoC. > > > > Signed-off-by: Andreas Färber > > Signed-off-by: Manivannan Sadh

[PATCH v2] x86/cpu/AMD: Fix CPB bit for more processors

2018-11-19 Thread Jiaxun Yang
CPUID Fn8000_0007_EDX[CPB] is wrongly 0 on some newer F17h procssors but their revision guide has not been released. For example,Tesed on AMD "Ryzen 7 2700U with Radeon Vega Mobile Gfx" and "AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx", their CPUID Fn_0001_EAX is 0x00810f10 and should have C

Re: [PATCH] x86/mm: Drop usage of __flush_tlb_all() in kernel_physical_mapping_init()

2018-11-19 Thread Williams, Dan J
On Mon, 2018-11-19 at 15:43 -0800, Dave Hansen wrote: > On 11/19/18 3:19 PM, Dan Williams wrote: > > Andy wondered why a path that can sleep was using __flush_tlb_all() > > [1] > > and Dave confirmed the expectation for TLB flush is for modifying / > > invalidating existing pte entries, but not ini

Re: [PATCH 01/16] dt-bindings: Add RDA Micro vendor prefix

2018-11-19 Thread Manivannan Sadhasivam
On Mon, Nov 19, 2018 at 10:59:58PM +0530, Manivannan Sadhasivam wrote: > On Mon, Nov 19, 2018 at 06:22:02PM +0100, Andreas Färber wrote: > > Am 19.11.18 um 18:09 schrieb Manivannan Sadhasivam: > > > From: Andreas Färber > > > > > > RDA Microelectronics is a Chinese SoC manufacturer. > > > > > >

Re: [PATCH 3/6] zram: introduce ZRAM_IDLE flag

2018-11-19 Thread Sergey Senozhatsky
Hello, On (11/16/18 16:20), Minchan Kim wrote: [..] > +static ssize_t idle_store(struct device *dev, > + struct device_attribute *attr, const char *buf, size_t len) > +{ > + struct zram *zram = dev_to_zram(dev); > + unsigned long nr_pages = zram->disksize >> PAGE_SHIFT; > +

Investment Lening!

2018-11-19 Thread info
Heb je een lening nodig voor welk doel dan ook?? wij verlenen lening at 3% belangen tarief jaarlijks Ik kan u helpen met het financieren van leningen voor elk doel (zolang er geen sprake is van enige vorm van illegaliteit), van € 5.000 (vijfduizend euro) tot slechts € 20 miljoen euro. Alle omsta

Re: [PATCH v1 04/11] soc: mediatek: add new flow for mtcmos power.

2018-11-19 Thread Weiyi Lu
On Tue, 2018-11-13 at 11:31 -0800, Nicolas Boichat wrote: > (not a complete review...) > > On Mon, Nov 5, 2018 at 10:42 PM Weiyi Lu wrote: > > > > From: Owen Chen > > > > Both MT8183 & MT6765 add more bus protect node than previous project, > > therefore we add two more register for setup bus pr

Re: [PATCH 00/12] perf top: Rework processing code

2018-11-19 Thread Namhyung Kim
Hi Jirka, On Mon, Nov 19, 2018 at 01:20:04PM +0100, Jiri Olsa wrote: > hi, > David reported issues with perf top loosing side band events > so we moved mmap reading and hists processing into separated > threads. > > This patchset also adds dropping sample logic when the processing > falls behind

Re: [PATCH] mm: use this_cpu_cmpxchg_double in put_cpu_partial

2018-11-19 Thread kbuild test robot
Hi Wengang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.20-rc3 next-20181119] [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

Re: [PATCH] mm: use this_cpu_cmpxchg_double in put_cpu_partial

2018-11-19 Thread zhong jiang
On 2018/11/17 9:33, Wengang Wang wrote: > The this_cpu_cmpxchg makes the do-while loop pass as long as the > s->cpu_slab->partial as the same value. It doesn't care what happened to > that slab. Interrupt is not disabled, and new alloc/free can happen in the > interrupt handlers. Theoretically, aft

Re: [PATCH] ACPI / battery: Fix reporting "Not charging" when capacity is 100%

2018-11-19 Thread João Paulo Rechi Vita
On Sun, Nov 11, 2018 at 4:22 AM Pavel Machek wrote: > > On Sun 2018-11-11 12:57:12, Hans de Goede wrote: > > Hi, > > > > On 11/7/18 5:53 AM, Daniel Drake wrote: > > >On Mon, Nov 5, 2018 at 1:19 AM Pavel Machek wrote: > > >>Plus, I don't think "100% charge" is right test for "battery full". At > >

Re: [PATCH] timers: Make the lower-level timer function first call than higher-level

2018-11-19 Thread Muchun Song
Hi John, Thanks for your review. John Stultz 于2018年11月20日周二 上午2:16写道: > > On Mon, Nov 19, 2018 at 6:10 AM, Muchun Song wrote: > > The elements of the heads array are a linked list of timer events that > > expire at the current time. And it can contain up to LVL_DEPTH levels > > and the lower th

Re: [PATCH 7/7] regulator: core: Remove loop disabling supplies in regulator_force_disable()

2018-11-19 Thread Doug Anderson
Hi, On Mon, Nov 19, 2018 at 4:58 PM Dmitry Osipenko wrote: > > On 20.11.2018 3:26, Douglas Anderson wrote: > > In regulator_force_disable() there was a strange loop that looked like: > > > > while (rdev->open_count--) > > regulator_disable(rdev->supply); > > > > I'm not totally sure what th

Re: [PATCH] arm64: dts: rockchip: rk3399: Add xin32k clk

2018-11-19 Thread dbasehore .
On Mon, Nov 19, 2018 at 1:41 AM Heiko Stübner wrote: > > Am Freitag, 16. November 2018, 19:23:59 CET schrieb Doug Anderson: > > Hi, > > > > On Fri, Nov 16, 2018 at 9:39 AM dbasehore . wrote: > > > On Fri, Nov 16, 2018 at 8:01 AM Doug Anderson > wrote: > > > > Hi, > > > > > > > > On Thu, Nov 15,

Re: [PATCH 05/12] perf top: Moving lost events warning to helpline

2018-11-19 Thread Namhyung Kim
On Mon, Nov 19, 2018 at 01:20:09PM +0100, Jiri Olsa wrote: > We can't display the UI box saying that we are slow in reader > thread. That will make perf top even slower and user even more > angry ;-) > > Moving the UI box message out of the reader thread into UI thread > and changing it into helpl

Re: Memory hotplug softlock issue

2018-11-19 Thread Baoquan He
On 11/19/18 at 09:59pm, Michal Hocko wrote: > On Mon 19-11-18 12:34:09, Hugh Dickins wrote: > > I'm glad that I delayed, what I had then (migration_waitqueue instead > > of using page_waitqueue) was not wrong, but what I've been using the > > last couple of months is rather better (and can be put t

RE: [PATCH] driver: input: fix UBSAN warning in input_defuzz_abs_event

2018-11-19 Thread liujian (CE)
Best Regards, liujian > -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: Tuesday, November 13, 2018 3:49 AM > To: liujian (CE) > Cc: linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] driver: input: fix UBSAN warning i

[PATCH] KVM: LAPIC: Fix pv ipis use-before-initialization

2018-11-19 Thread Wanpeng Li
Reported by syzkaller: BUG: unable to handle kernel NULL pointer dereference at 0014 PGD 80040410c067 P4D 80040410c067 PUD 40410d067 PMD 0 Oops: [#1] PREEMPT SMP PTI CPU: 3 PID: 2567 Comm: poc Tainted: G OE 4.19.0-rc5 #16 RIP: 0010:kvm_pv_send_ipi+0x94/

RE: [PATCH V2] ARM: dts: imx7d-sdb: add rev-a board support

2018-11-19 Thread Anson Huang
Hi, Shawn Best Regards! Anson Huang > -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: 2018年11月19日 21:46 > To: Anson Huang > Cc: robh...@kernel.org; mark.rutl...@arm.com; s.ha...@pengutronix.de; > ker...@pengutronix.de; Fabio Estevam ; > devicet...@vger.kernel.or

[PATCH V3] ARM: dts: imx7d-sdb: add rev-a board support

2018-11-19 Thread Anson Huang
Current imx7d-sdb.dts has some incorrect settings about Rev-A and Rev-B boards, some of the settings are based on Rev-A board but some are based on Rev-B board, clean up it by adding i.MX7D SDB Rev-A board support, make default imx7d-sdb.dts for Rev-B board as usual, and introduce imx7d-sdb-reva.dt

Re: [PATCH 2/2] PCI: imx6: limit DBI register length

2018-11-19 Thread Trent Piepho
On Mon, 2018-11-19 at 10:41 +0100, Stefan Agner wrote: > > > +static const struct imx6_pcie_drvdata imx6q_pcie_drvdata = { > + .variant = IMX6Q, > + .dbi_length = 0x15c, > +}; > + > +static const struct imx6_pcie_drvdata imx6sx_pcie_drvdata = { > + .variant = IMX6SX, > +}; > + > +sta

Re: [PATCH v3 1/3] compiler_types.h: make __builtin_types_compatible_p() noop for Sparse

2018-11-19 Thread Masahiro Yamada
On Mon, Nov 19, 2018 at 9:35 PM Luc Van Oostenryck wrote: > > On Mon, Nov 19, 2018 at 07:31:41PM +0900, Masahiro Yamada wrote: > > When I tried to delete BUILD_BUG_ON stubs for sparse, the kbuild test > > robot reported lots of Sparse warnings from container_of(), which > > seem false positive. >

Re: [PATCH v3 3/3] build_bug.h: remove most of dummy BUILD_BUG_ON stubs for sparse

2018-11-19 Thread Masahiro Yamada
On Tue, Nov 20, 2018 at 3:02 AM Nick Desaulniers wrote: > > On Mon, Nov 19, 2018 at 4:37 AM Luc Van Oostenryck > wrote: > > > > On Mon, Nov 19, 2018 at 07:31:43PM +0900, Masahiro Yamada wrote: > > > The introduction of these dummy BUILD_BUG_ON stubs dates back to > > > commit 903c0c7cdc21 ("spars

Re: [PATCH v2] mm: fix swap offset when replacing shmem page

2018-11-19 Thread Yu Zhao
On Mon, Nov 19, 2018 at 02:11:27PM -0800, Hugh Dickins wrote: > On Sun, 18 Nov 2018, Yu Zhao wrote: > > > We used to have a single swap address space with swp_entry_t.val > > as its radix tree index. This is not the case anymore. Now Each > > swp_type() has its own address space and should use swp

Re: [PATCH 00/12] perf top: Rework processing code

2018-11-19 Thread David Miller
From: Jiri Olsa Date: Mon, 19 Nov 2018 13:20:04 +0100 > David reported issues with perf top loosing side band events > so we moved mmap reading and hists processing into separated > threads. > > This patchset also adds dropping sample logic when the processing > falls behind the reader thread. T

[PATCH v3 3/5] phy: ocelot-serdes: convert to use eth phy mode and submode

2018-11-19 Thread Grygorii Strashko
Convert ocelot-serdes PHY driver to use recently introduced PHY_MODE_ETHERNET and phy_set_mode_ext(). Cc: Quentin Schulz Signed-off-by: Grygorii Strashko --- drivers/net/ethernet/mscc/ocelot.c | 9 ++--- drivers/phy/mscc/phy-ocelot-serdes.c | 22 -- 2 files changed, 1

[PATCH v3 4/5] phy: mvebu-cp110-comphy: convert to use eth phy mode and submode

2018-11-19 Thread Grygorii Strashko
Convert mvebu-cp110-comphy PHY driver to use recently introduced PHY_MODE_ETHERNET and phy_set_mode_ext(). Cc: Russell King - ARM Linux Cc: Maxime Chevallier Cc: Antoine Tenart Signed-off-by: Grygorii Strashko --- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 19 +- drivers/phy/marvel

[PATCH v3 1/5] phy: core: rework phy_set_mode to accept phy mode and submode

2018-11-19 Thread Grygorii Strashko
Currently the attempt to add support for Ethernet interface mode PHY (MII/GMII/RGMII) will lead to the necessity of extending enum phy_mode and duplicate there values from phy_interface_t enum (or introduce more PHY callbacks) [1]. Both approaches are ineffective and would lead to fast bloating of

Re: [PATCH 2/3] PCI: imx: No-op imx6_pcie_reset_phy() on i.MX7D

2018-11-19 Thread Trent Piepho
On Sat, 2018-11-17 at 10:12 -0800, Andrey Smirnov wrote: > PCIE PHY IP block on i.MX7D differs from the one used on i.MX6 family, > so none of the code in current implementation of imx6_pcie_reset_phy() > is applicable. Tested on IMX7d, still appears to work. Note that your patches will collide w

[PATCH v1] regulator: core: Export regulator_lock and regulator_unlock

2018-11-19 Thread Dmitry Osipenko
This fixes compiling regulator drivers that use these function when these drivers are built as kernel modules. Fixes: f8702f9e4aa7 ("regulator: core: Use ww_mutex for regulators locking") Signed-off-by: Dmitry Osipenko --- drivers/regulator/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --

Re: [PATCH 2/2] ASoC: max98927: Add reset-gpio support

2018-11-19 Thread Cheng-yi Chiang
Hi Philipp, On Thu, Oct 18, 2018 at 1:02 AM Philipp Zabel wrote: > > Hi Maxime, > > On Fri, 2018-10-12 at 15:46 +0200, Maxime Ripard wrote: > > On Fri, Oct 12, 2018 at 12:05:16PM +0200, Philipp Zabel wrote: > [...] > > > What I would like better would be to let the consumers keep their reset- > >

Re: [RFC PATCH] Documentation: DT: arm: add support for sockets defining package boundaries

2018-11-19 Thread Atish Patra
On 11/12/18 3:37 PM, Rob Herring wrote: On Wed, Nov 07, 2018 at 05:13:44PM +, Sudeep Holla wrote: The current ARM DT topology description provides the operating system with a topological view of the system that is based on leaf nodes representing either cores or threads (in an SMT system) an

Re: [Patch v5 11/16] x86/speculation: Add Spectre v2 app to app protection modes

2018-11-19 Thread Andi Kleen
> I'm not taking that stuff without proper documentation. Ok can you just revert Jiri's code then instead? This is after all mainly an emergency fixup patch for that disaster, which got fast tracked without any of these considerations which now suddenly appear. Requiring new documentation for old

Re: [PATCH 4.14 000/124] 4.14.82-stable review

2018-11-19 Thread kernelci.org bot
stable-rc/linux-4.14.y boot: 77 boots: 0 failed, 59 passed with 18 offline (v4.14.81-125-g43bb46eb6e2e) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.81-125-g43bb46eb6e2e/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.1

Re: [PATCH 4/8] kbuild: simplify dependency generation for CONFIG_TRIM_UNUSED_KSYMS

2018-11-19 Thread Masahiro Yamada
Hi Nicolas, On Sat, Nov 17, 2018 at 2:50 AM Nicolas Pitre wrote: > > > > diff --git a/scripts/Makefile.build b/scripts/Makefile.build > > > > index 7f3ca6e..e5ba9b1 100644 > > > > --- a/scripts/Makefile.build > > > > +++ b/scripts/Makefile.build > > > > @@ -254,9 +254,18 @@ objtool_dep = $(objt

Re: [Patch v5 11/16] x86/speculation: Add Spectre v2 app to app protection modes

2018-11-19 Thread Tim Chen
On 11/19/2018 04:30 PM, Thomas Gleixner wrote: > > What has spectre_v2=on to do with spectre_v2_app2app=on? > > Exactly nothing. You can have 'on' for both. The only side effect of > spectre_v2=on is that it also forces spectre_v2_app2app to 'on' > irrespective of what eventually was added for sp

Re: [PATCH RFC] hist lookups

2018-11-19 Thread Namhyung Kim
On Mon, Nov 19, 2018 at 10:12:57AM +0100, Jiri Olsa wrote: > On Mon, Nov 19, 2018 at 02:26:03PM +0900, Namhyung Kim wrote: > > Hi Jirka > > > > Sorry for late! > > > > On Tue, Nov 06, 2018 at 12:54:36PM +0100, Jiri Olsa wrote: > > > On Mon, Nov 05, 2018 at 08:53:42PM -0800, David Miller wrote: >

[PATCH v2 0/9] kbuild: clean-up modversion, TRIM_UNUSED_KSYMS, if_changed_rule, etc.

2018-11-19 Thread Masahiro Yamada
As a Kbuild maintainer, I always struggle to keep the core makefiles clean because people tend to squeeze more and more clutter code into the kbuild core in order to do what they want to do. The biggest step forward in this series is to re-implement the build trick of CONFIG_TRIM_UNUSED_KSYMS in a

[PATCH v2 2/9] kbuild: remove redundant 'set -e' from filechk_* defines

2018-11-19 Thread Masahiro Yamada
The filechk macro in scripts/Kbuild.include already sets 'set -e'. Signed-off-by: Masahiro Yamada --- Changes in v2: None arch/um/Makefile | 2 +- scripts/Makefile.lib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/um/Makefile b/arch/um/Makefile index ab1066c..

[PATCH v2 7/9] kbuild: remove trailing semicolon from cmd_* passed to if_changed_rule

2018-11-19 Thread Masahiro Yamada
With the change of rule_cc_o_c / rule_as_o_S in the last commit, each command is executed in a separate subshell. Rip off unneeded semicolons. Signed-off-by: Masahiro Yamada --- Changes in v2: - Clean up cmd_and_fixdep as well scripts/Kbuild.include | 2 +- scripts/Makefile.build | 16 ++

[PATCH v2 5/9] kbuild: simplify dependency generation for CONFIG_TRIM_UNUSED_KSYMS

2018-11-19 Thread Masahiro Yamada
My main motivation of this commit is to clean up scripts/Kbuild.include and scripts/Makefile.build. Currently, CONFIG_TRIM_UNUSED_KSYMS works with a tricky gimmick; possibly exported symbols are detected by letting $(CPP) replace EXPORT_SYMBOL* with a special string '=== __KSYM_*===', which is pos

[PATCH v2 3/9] kbuild: remove redundant 'set -e' from sub_cmd_record_mcount

2018-11-19 Thread Masahiro Yamada
This is executed inside the if_changed_rule, which already sets 'set -e'. Signed-off-by: Masahiro Yamada --- Changes in v2: None scripts/Makefile.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.build b/scripts/Makefile.build index c909588..032ca24 100

[PATCH v2 6/9] kbuild: change if_changed_rule for multi-line recipe

2018-11-19 Thread Masahiro Yamada
The 'define' ... 'endef' directive can describe a recipe that consists of multiple lines. For example, all: @echo hello @echo world ... can be written as: define greeting @echo hello @echo world endif all: $(greeting)

[PATCH v2 4/9] kbuild: refactor modversions build rules

2018-11-19 Thread Masahiro Yamada
Let $(CC) compile objects into normal files *.o instead of .tmp_*.o whether CONFIG_MODVERSIONS is enabled or not. With this, the input file for objtool is always *.o so objtool_o can go away. I guess the reason of using .tmp_*.o for intermediate objects was to avoid leaving incomplete *.o file (,

Re: [PATCH 2/2] PCI: imx6: limit DBI register length

2018-11-19 Thread Trent Piepho
On Mon, 2018-11-19 at 10:41 +0100, Stefan Agner wrote: > Define the length of the DBI registers. This makes sure that > the kernel does not access registers beyond that point, avoiding > the following abort on a i.MX 6Quad: > # cat > /sys/devices/soc0/soc/1ffc000.pcie/pci\:00/\:00\:00.0/c

[PATCH v2 1/9] kbuild: let fixdep directly write to .*.cmd files

2018-11-19 Thread Masahiro Yamada
Currently, fixdep writes dependencies to .*.tmp, which is renamed to .*.cmd after everything succeeds. This is a very safe way to avoid corrupted .*.cmd files. The if_changed_dep has carried this safety mechanism since it was added in 2002. If fixdep fails for some reasons or a user terminates the

[PATCH v2 9/9] kbuild: remove redundant 'set -e' from cmd_* defines

2018-11-19 Thread Masahiro Yamada
These three cmd_* are invoked in the $(call cmd,*) form. Now that 'set -e' moved to the 'cmd' macro, they do not need to explicitly give 'set -e'. Signed-off-by: Masahiro Yamada --- Changes in v2: None scripts/Makefile.build | 2 -- scripts/package/Makefile | 1 - 2 files changed, 3 deletio

[PATCH v2 8/9] kbuild: refactor if_changed and if_changed_dep

2018-11-19 Thread Masahiro Yamada
'@set -e; $(echo-cmd) $(cmd_$(1)' can be replaced with '$(cmd)'. Signed-off-by: Masahiro Yamada --- Changes in v2: None scripts/Kbuild.include | 9 +++-- scripts/Makefile.build | 4 ++-- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/scripts/Kbuild.include b/scripts/Kbuild.

Re: [RFC PATCH v2 03/14] m68k: mac: Clean up unused timer definitions

2018-11-19 Thread Finn Thain
Geert, Please consider cherry-picking this patch. It isn't particularly relevant to the API conversion so I'd better not to include it in v3, when I submit v3. -- On Mon, 19 Nov 2018, Finn Thain wrote: > Signed-off-by: Finn Thain > --- > arch/m68k/include/asm/macints.h | 3 --- > 1 file ch

Re: [PATCH 7/7] regulator: core: Remove loop disabling supplies in regulator_force_disable()

2018-11-19 Thread Dmitry Osipenko
On 20.11.2018 3:26, Douglas Anderson wrote: > In regulator_force_disable() there was a strange loop that looked like: > > while (rdev->open_count--) > regulator_disable(rdev->supply); > > I'm not totally sure what the goal was for this loop, but it seems > wrong to me. If anything I think

Re: linux-next: build failure after merge of the regulator tree

2018-11-19 Thread Dmitry Osipenko
9e4aa7 ("regulator: core: Use ww_mutex for regulators locking") > > I have used the regulator tree from next-20181119 for today. > My bad, forgot to export these functions. That's the same issue that was reporter by the build robot earlier. Will send the fix, sorry for the inconvenience.

  1   2   3   4   5   6   7   8   9   10   >