Re: [PATCH] clocksource: ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs

2018-08-07 Thread Tony Lindgren
* Keerthy [180807 09:29]: > The 32k clocksource is NONSTOP for non-am43 SoCs. Hence > add the flag for all the other SoCs. > > Reported-by: Tony Lindgren > Signed-off-by: Keerthy Acked-by: Tony Lindgren > --- > drivers/clocksource/timer-ti-32k.c | 3 +++ > 1 file changed, 3 insertions(+) >

Re: [PATCH] fs/buffer.c: Optimize grow_buffer function.

2018-08-07 Thread Sean Fu
On Sat, Jul 21, 2018 at 07:21:16PM +0100, Al Viro wrote: > On Sun, Jul 22, 2018 at 01:30:17AM +0800, Sean Fu wrote: > > Use PAGE_SHIFT and i_blkbits of bd_inode directly to avoid ugly sizebits > > calculation. > > Remove ugly sizebits calculation. > > Remove unnecessary sizebits parameter of grow_d

Re: [RFC PATCH 2/3] mm/memory_hotplug: Create __shrink_pages and move it to offline_pages

2018-08-07 Thread Michal Hocko
On Tue 07-08-18 11:18:10, Jerome Glisse wrote: > On Tue, Aug 07, 2018 at 04:59:00PM +0200, Michal Hocko wrote: > > On Tue 07-08-18 09:52:21, Jerome Glisse wrote: > > > On Tue, Aug 07, 2018 at 03:37:56PM +0200, osalva...@techadventures.net > > > wrote: > > > > From: Oscar Salvador > > > > > > [..

Re: [PATCH] nds32: add NULL entry to the end of_device_id array

2018-08-07 Thread Greentime Hu
YueHaibing 於 2018年8月7日 週二 下午12:03寫道: > > Make sure of_device_id tables are NULL terminated. > Found by coccinelle spatch "misc/of_table.cocci" > > Signed-off-by: YueHaibing > --- > arch/nds32/kernel/atl2c.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/nds32/ker

Re: [PATCH 09/11] RISC-V: Support per-hart timebase-frequency

2018-08-07 Thread Atish Patra
On 8/6/18 1:34 PM, Palmer Dabbelt wrote: On Fri, 03 Aug 2018 05:33:57 PDT (-0700), Christoph Hellwig wrote: On Thu, Aug 02, 2018 at 03:19:49PM -0700, Atish Patra wrote: On 8/2/18 4:50 AM, Christoph Hellwig wrote: From: Palmer Dabbelt Follow the updated DT specs and read the timebase-frequenc

Re: [PATCH] memcg, oom: be careful about races when warning about no reclaimable task

2018-08-07 Thread Michal Hocko
On Tue 07-08-18 16:54:25, Johannes Weiner wrote: > On Tue, Aug 07, 2018 at 10:23:32PM +0200, Michal Hocko wrote: > > On Tue 07-08-18 16:02:47, Johannes Weiner wrote: > > > On Tue, Aug 07, 2018 at 09:25:53AM +0200, Michal Hocko wrote: > > > > From: Michal Hocko > > > > > > > > "memcg, oom: move ou

Re: [PATCH 03/11] dt-bindings: interrupt-controller: RISC-V PLIC documentation

2018-08-07 Thread Atish Patra
On 8/7/18 7:17 PM, Palmer Dabbelt wrote: On Mon, 06 Aug 2018 13:59:48 PDT (-0700), robh...@kernel.org wrote: On Thu, Aug 2, 2018 at 4:08 PM Atish Patra wrote: On 8/2/18 4:50 AM, Christoph Hellwig wrote: From: Palmer Dabbelt This patch adds documentation for the platform-level interrupt con

Re: [PATCH 2/3] perf report: Add raw report support for s390 auxiliary trace

2018-08-07 Thread Thomas-Mich Richter
On 08/08/2018 05:37 AM, m...@ellerman.id.au wrote: > Thomas Richter writes: >> Add support for s390 auxiliary trace support. >> Use 'perf record -e rbd000' to create the perf.data file. >> The event also has the symbolic name SF_CYCLES_BASIC_DIAG, >> using 'perf record -e SF_CYCLES_BASIC_DIAG' is

Re: [GIT PULL] FSI fixes for 4.19

2018-08-07 Thread Greg Kroah-Hartman
On Wed, Aug 08, 2018 at 03:50:53PM +1000, Benjamin Herrenschmidt wrote: > Hi Greg ! > > This adds two FSI fixes to what you already have in your tree > > - Fix a NULL dereference in the scom driver > > - Fix a command buffer size issue in the sbefifo driver that > breaks some operations

Re: [PATCH 4.17 00/18] 4.17.14-stable review

2018-08-07 Thread Greg Kroah-Hartman
On Wed, Aug 08, 2018 at 10:50:20AM +0530, Naresh Kamboju wrote: > On 8 August 2018 at 00:21, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.17.14 release. > > There are 18 patches in this series, all will be posted as a response > > to this one. If anyone h

Re: [PATCH 3.18 00/85] 3.18.118-stable review

2018-08-07 Thread Greg Kroah-Hartman
On Tue, Aug 07, 2018 at 03:33:29PM -0700, Nathan Chancellor wrote: > On Tue, Aug 07, 2018 at 08:51:02PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.18.118 release. > > There are 85 patches in this series, all will be posted as a response > > to this o

Re: Re: [RFC PATCH 5/6] arm64: dts: ti: Add Support for AM654 SoC

2018-08-07 Thread Kishon Vijay Abraham I
Hi Rob, On Tuesday 05 June 2018 07:35 PM, Rob Herring wrote: > On Tue, Jun 5, 2018 at 1:05 AM, Nishanth Menon wrote: >> The AM654 SoC is a lead device of the K3 Multicore SoC architecture >> platform, targeted for broad market and industrial control with aim to >> meet the complex processing need

Re: [PATCH RESEND RFC 1/4] drivers: pinctrl: qcom: add wakeup capability to GPIO

2018-08-07 Thread Marc Zyngier
On Tue, 07 Aug 2018 23:05:07 -0700 Stephen Boyd wrote: > Quoting Lina Iyer (2018-08-02 05:58:27) > > On Thu, Aug 02 2018 at 01:27 -0600, Marc Zyngier wrote: > > > > > >Sure. But once woken up (GIC *and* TLMM), the gpio line (which I > > >assume is level) is still high at the TLMM input. So why

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

2018-08-07 Thread Stephen Boyd
Quoting skan...@codeaurora.org (2018-08-06 13:46:05) > On 2018-08-03 15:24, Stephen Boyd wrote: > > Quoting skan...@codeaurora.org (2018-08-03 12:52:48) > >> On 2018-08-03 12:40, Evan Green wrote: > >> > Hi Taniya, > >> > > >> > On Tue, Jul 24, 2018 at 3:44 AM Taniya Das wrote: > >> >> > >> >> +

Re: simplified RISC-V interrupt and clocksource handling v3

2018-08-07 Thread Christoph Hellwig
[attention Rob: Palmer said he is going to pull it in, and I'd really like to have your ACK on the DT bindings, can you chime in if everything is ok for you?] On Tue, Aug 07, 2018 at 07:23:19PM -0700, Palmer Dabbelt wrote: > Thanks! Modulo the one device tree issue I replied to in patch 3 this

Re: [PATCH v7 1/2] dt-bindings: cpufreq: Introduce QCOM CPUFREQ Firmware bindings

2018-08-07 Thread Stephen Boyd
Quoting Taniya Das (2018-08-07 19:46:01) > > > On 8/8/2018 12:54 AM, skan...@codeaurora.org wrote: > > On 2018-08-07 04:12, Sudeep Holla wrote: > >> On Mon, Aug 06, 2018 at 01:54:24PM -0700, skan...@codeaurora.org wrote: > >>> On 2018-08-03 16:46, Stephen Boyd wrote: > >>> >Quoting Taniya Das (20

Re: [PATCH RESEND RFC 1/4] drivers: pinctrl: qcom: add wakeup capability to GPIO

2018-08-07 Thread Stephen Boyd
Quoting Lina Iyer (2018-08-02 05:58:27) > On Thu, Aug 02 2018 at 01:27 -0600, Marc Zyngier wrote: > > > >Sure. But once woken up (GIC *and* TLMM), the gpio line (which I > >assume is level) is still high at the TLMM input. So why isn't it > >registering that state once it has been woken up? > > > >

Re: [PATCH v5 1/2] leds: core: Introduce LED pattern trigger

2018-08-07 Thread Baolin Wang
Hi Jacek, On 8 August 2018 at 05:54, Jacek Anaszewski wrote: > Hi Baolin, > > Thank you for addressing the review remarks. > Since the patch set is targeted for 4.19, then we have three weeks > before it will be merged to the for-next anyway. That said, I propose > one more modification, please t

Re: [PATCH] firmware: coreboot: Let OF core populate platform device

2018-08-07 Thread Stephen Boyd
Quoting Brian Norris (2018-08-07 14:41:04) > On Mon, Aug 06, 2018 at 10:10:47AM -0700, Stephen Boyd wrote: > > diff --git a/drivers/firmware/google/coreboot_table-of.c > > b/drivers/firmware/google/coreboot_table-of.c > > index f15bf404c579..270f112bdc54 100644 > > --- a/drivers/firmware/google/co

Re: [PATCH 2/4] clk: qcom: Add clk_rcg2_gfx3d_ops for SDM845

2018-08-07 Thread Stephen Boyd
Quoting Jordan Crouse (2018-08-06 08:04:37) > On Mon, Aug 06, 2018 at 02:37:18PM +0530, Amit Nischal wrote: > > On 2018-08-03 04:14, Stephen Boyd wrote: > > >Quoting Amit Nischal (2018-07-30 04:28:56) > > >>On 2018-07-25 12:28, Stephen Boyd wrote: > > >>> > > >>> Ok. Sounds good! Is the rate range

Re: [PATCH v3] locking/rwsem: Exit read lock slowpath if queue empty & no writer

2018-08-07 Thread Waiman Long
On 07/24/2018 03:10 PM, Waiman Long wrote: > It was discovered that a constant stream of readers with occassional > writers pounding on a rwsem may cause many of the readers to enter the > slowpath unnecessarily thus increasing latency and lowering performance. > > In the current code, a reader ent

Re: [PATCH 4.4 00/12] 4.4.147-stable review

2018-08-07 Thread Naresh Kamboju
-- kernel: 4.4.147-rc1 git repo: https://git.linaro.org/lkft/arm64-stable-rc.git git branch: 4.4.147-rc1-hikey-20180807-254 git commit: a7af4a3cb7756f8a159f54cb757f30764f3d5166 git describe: 4.4.147-rc1-hikey-20180807-254 Test details: https://qa-reports.linaro.or

[GIT PULL] FSI fixes for 4.19

2018-08-07 Thread Benjamin Herrenschmidt
Hi Greg ! This adds two FSI fixes to what you already have in your tree - Fix a NULL dereference in the scom driver - Fix a command buffer size issue in the sbefifo driver that breaks some operations with POWER system debugger (cronus) Cheers, Ben. The following changes since tag fsi-u

Re: [PATCH v2 02/18] clk: intel: Add clock driver for Intel MIPS SoCs

2018-08-07 Thread Stephen Boyd
Quoting Songjun Wu (2018-08-02 20:02:21) > From: Yixin Zhu > > This driver provides PLL clock registration as well as various clock > branches, e.g. MUX clock, gate clock, divider clock and so on. > > PLLs that provide clock to DDR, CPU and peripherals are shown below: > > +---

[PATCH] PCI: Fix calculation of bridge window's size

2018-08-07 Thread AceLan Kao
There are some 0 resource size pci devices, and it leads to the accumulator fails to maintain the correct value. It results in a strange issue on my machine that xhci_hcd failed to init. [2.437278] xhci_hcd :05:00.0: init :05:00.0 fail, -16 [2.437300] xhci_hcd: probe of :0

Re: [PATCH 0/2] x86/intel_rdt and perf/x86: Fix lack of coordination with perf

2018-08-07 Thread Reinette Chatre
Hi Tony, On 8/7/2018 6:28 PM, Luck, Tony wrote: > Would it help to call routines to read the "before" values of the counter > twice. The first time to preload the cache with anything needed to execute > the perf code path. >>> In an attempt to improve the accuracy of the above I modified it to th

Re: [PATCH v2] resource: Merge resources on a node when hot-adding memory

2018-08-07 Thread Rashmica Gupta
On Tue, Aug 7, 2018 at 9:52 PM, Vlastimil Babka wrote: > On 08/06/2018 08:52 AM, Rashmica Gupta wrote: >> When hot-removing memory release_mem_region_adjustable() splits >> iomem resources if they are not the exact size of the memory being >> hot-deleted. Adding this memory back to the kernel adds

Re: [PATCH RFC 00/10] Introduce lockless shrink_slab()

2018-08-07 Thread Shakeel Butt
On Tue, Aug 7, 2018 at 6:12 PM Stephen Rothwell wrote: > > Hi Kirill, > > On Tue, 07 Aug 2018 18:37:19 +0300 Kirill Tkhai wrote: > > > > After bitmaps of not-empty memcg shrinkers were implemented > > (see "[PATCH v9 00/17] Improve shrink_slab() scalability..." > > series, which is already in mm

Re: [PATCH 3.18 00/85] 3.18.118-stable review

2018-08-07 Thread Greg Kroah-Hartman
On Tue, Aug 07, 2018 at 08:52:59PM -0600, Shuah Khan wrote: > On 08/07/2018 12:51 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.18.118 release. > > There are 85 patches in this series, all will be posted as a response > > to this one. If anyone has any is

Re: [PATCH 4.14 222/246] ext4: fix check to prevent initializing reserved inodes

2018-08-07 Thread Greg Kroah-Hartman
On Wed, Aug 08, 2018 at 12:17:30AM +0200, Matthias Schiffer wrote: > On 08/01/2018 06:52 PM, Greg Kroah-Hartman wrote: > > 4.14-stable review patch. If anyone has any objections, please let me know. > > It seems this patch is still missing from the 4.4.y and 4.9.y branches. Maybe because no one

Re: [PATCH 4.9 00/17] 4.9.119-stable review

2018-08-07 Thread Naresh Kamboju
On 8 August 2018 at 00:21, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.119 release. > There are 17 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. > > Response

Re: [PATCH 4.14 00/21] 4.14.62-stable review

2018-08-07 Thread Naresh Kamboju
On 8 August 2018 at 00:21, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.62 release. > There are 21 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. > > Response

Re: [PATCH 4.17 00/18] 4.17.14-stable review

2018-08-07 Thread Naresh Kamboju
On 8 August 2018 at 00:21, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.17.14 release. > There are 18 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. > > Response

Re: [PATCH] x86/cpu: Rename Denverton and Gemini Lake

2018-08-07 Thread Thomas Gleixner
On Tue, 7 Aug 2018, Andi Kleen wrote: > > Which simply does not work. Look at Goldmont Fam 6 Model 5C. The SoCs > > with that Fam/Model combination are: > > > > - Apollo Lake > > - Broxton (has two platforms: Morganfield and Willowtrail) > > Right pick one. The others are the same for software

Re: [PATCH v12 3/3] tracing: Centralize preemptirq tracepoints and unify their usage

2018-08-07 Thread Joel Fernandes
On Tue, Aug 7, 2018 at 8:53 PM, Joel Fernandes wrote: > On Tue, Aug 7, 2018 at 8:44 PM, Joel Fernandes wrote: >> Hi Steve, >> >> On Tue, Aug 7, 2018 at 7:28 PM, Steven Rostedt wrote: > [...] @@ -171,8 +174,7 @@ extern void syscall_unregfunc(void); } while ((++it_f

did you recieve

2018-08-07 Thread Roy Robinson
Did you receive my email yesterday? Just want to check if you have needs for photo editing for our studio? We normally edit 300 images within 12-24 hours. We take care of different kinds of e-commerce photos, jewelry images, and portrait model images. Including cutting out and clipping path and

Re: [PATCH] Input: cros_ec_keyb: Remove check before calling pm_wakeup_event.

2018-08-07 Thread Marek Szyprowski
Hi Ravi, On 2018-08-07 23:59, Ravi Chandra Sadineni wrote: > hi Merek, > > I tried booting a snow device and could not get it to boot it to the > console. I assume i don't have right kernel config. Can you share your > config if possible. I use standard exynos_defconfig bundled with Linux kernel.

[PATCH 2/2] clk: imx: imx7d: remove clks_init_on array

2018-08-07 Thread Anson Huang
Clock framework will enable those clocks registered with CLK_IS_CRITICAL flag, so no need to have clks_init_on array during clock initialization now. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx7d.c | 27 --- drivers/clk/imx/clk.h | 7 +++ 2 files cha

[PATCH 1/2] clk: imx: imx7d: remove unnecessary clocks from clks_init_on array

2018-08-07 Thread Anson Huang
On i.MX7D, IMX7D_NAND_USDHC_BUS_ROOT_CLK is NOT necessary for system, and IMX7D_AHB_CHANNEL_ROOT_CLK is NOT existing at all, remove them from clks_init_on array. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx7d.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drive

[RESEND PATCH] init/Kconfig: Use short unix-style option instead of --longname

2018-08-07 Thread Masahiro Yamada
From: Rob Landley Avoids warning messages with the latest release of toybox, which never bothered to implement the --longopts nothing was using. Signed-off-by: Rob Landley Signed-off-by: Masahiro Yamada --- This was sent to the trivial ML some time ago, but not applied yet. I will apply this

Re: [PATCH v2 08/18] serial: intel: Get serial id from dts

2018-08-07 Thread Wu, Songjun
On 8/7/2018 3:33 PM, Geert Uytterhoeven wrote: Hi Songjun, On Fri, Aug 3, 2018 at 5:04 AM Songjun Wu wrote: Get serial id from dts. "#ifdef CONFIG_LANTIQ" preprocessor is used because LTQ_EARLY_ASC macro is defined in lantiq_soc.h. lantiq_soc.h is in arch path for legacy product support.

linux-next: manual merge of the kvm tree with the tip tree

2018-08-07 Thread Stephen Rothwell
Hi all, Paolo pointed out a semantic conflict between the kvm tree and the tip tree in arch/x86/kernel/kvm.c between commit: 368a540e0232 ("x86/kvmclock: Remove memblock dependency") from the tip tree and commit: d63bae079b64 ("KVM: X86: Add kvm hypervisor init time platform setup call

Re: [PATCH v12 3/3] tracing: Centralize preemptirq tracepoints and unify their usage

2018-08-07 Thread Joel Fernandes
On Tue, Aug 7, 2018 at 8:44 PM, Joel Fernandes wrote: > Hi Steve, > > On Tue, Aug 7, 2018 at 7:28 PM, Steven Rostedt wrote: [...] >>> @@ -171,8 +174,7 @@ extern void syscall_unregfunc(void); >>> } while ((++it_func_ptr)->func);\ >>> }

Re: [PATCH v3] PCI/AER: Do not clear AER bits if we don't own AER

2018-08-07 Thread Alex G.
On 08/07/2018 08:14 PM, Bjorn Helgaas wrote: On Mon, Jul 30, 2018 at 06:35:31PM -0500, Alexandru Gagniuc wrote: When we don't own AER, we shouldn't touch the AER error bits. Clearing error bits willy-nilly might cause firmware to miss some errors. In theory, these bits get cleared by FFS, or

Re: [PATCH v12 3/3] tracing: Centralize preemptirq tracepoints and unify their usage

2018-08-07 Thread Joel Fernandes
Hi Steve, On Tue, Aug 7, 2018 at 7:28 PM, Steven Rostedt wrote: > On Tue, 7 Aug 2018 19:13:32 -0700 > Joel Fernandes wrote: >> > >> >> From 6986af946ceb04fc9ddc6d5b45fc559b6807e465 Mon Sep 17 00:00:00 2001 >> >> From: "Joel Fernandes (Google)" >> >> Date: Sun, 5 Aug 2018 20:17:41 -0700 >> >> Su

RE: [RFC 5/5] powerpc/fsl: Add supported-irq-ranges for P2020

2018-08-07 Thread Bharat Bhushan
> -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: Wednesday, August 8, 2018 2:44 AM > To: Bharat Bhushan ; > b...@kernel.crashing.org; pau...@samba.org; m...@ellerman.id.au; > ga...@kernel.crashing.org; mark.rutl...@arm.com; > kstew...@linuxfoundation.org; gre...@

Re: [PATCH 2/3] perf report: Add raw report support for s390 auxiliary trace

2018-08-07 Thread mpe
Thomas Richter writes: > Add support for s390 auxiliary trace support. > Use 'perf record -e rbd000' to create the perf.data file. > The event also has the symbolic name SF_CYCLES_BASIC_DIAG, > using 'perf record -e SF_CYCLES_BASIC_DIAG' is equivalent. ... > > Signed-off-by: Thomas Richter > Revi

RE: [RFC 3/5] powerpc/mpic: Add support for non-contiguous irq ranges

2018-08-07 Thread Bharat Bhushan
> -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: Wednesday, August 8, 2018 2:34 AM > To: Rob Herring ; Bharat Bhushan > > Cc: b...@kernel.crashing.org; pau...@samba.org; m...@ellerman.id.au; > ga...@kernel.crashing.org; mark.rutl...@arm.com; > kstew...@linuxfoun

[PATCH v4 4/5] Allow to disable FPU support

2018-08-07 Thread Alan Kao
FPU codes have been separated from common part in previous patches. This patch add the CONFIG_FPU option and some stubs, so that a no-FPU configuration is allowed. Signed-off-by: Alan Kao Cc: Greentime Hu Cc: Vincent Chen Cc: Zong Li Cc: Nick Hu --- arch/riscv/Kconfig | 9 ++

[PATCH v4 1/5] Extract FPU context operations from entry.S

2018-08-07 Thread Alan Kao
We move __fstate_save and __fstate_restore to a new source file, fpu.S. Signed-off-by: Alan Kao Cc: Greentime Hu Cc: Vincent Chen Cc: Zong Li Cc: Nick Hu Reviewed-by: Christoph Hellwig --- arch/riscv/kernel/Makefile | 1 + arch/riscv/kernel/entry.S | 87 -- a

[PATCH v4 5/5] Auto-detect whether a FPU exists

2018-08-07 Thread Alan Kao
We expect that a kernel with CONFIG_FPU=y can still support no-FPU machines. To do so, the kernel should first examine the existence of a FPU, then do nothing if a FPU does exist; otherwise, it should disable/bypass all FPU-related functions. In this patch, a new global variable, no_fpu, is create

[PATCH v4 2/5] Refactor FPU code in signal setup/return procedures

2018-08-07 Thread Alan Kao
FPU-related logic is separated from normal signal handling path in this patch. Kernel can easily be configured to exclude those procedures for no-FPU systems. Signed-off-by: Alan Kao Cc: Greentime Hu Cc: Vincent Chen Cc: Zong Li Cc: Nick Hu Reviewed-by: Christoph Hellwig --- arch/riscv/ker

[PATCH v4 3/5] Cleanup ISA string setting

2018-08-07 Thread Alan Kao
Just a side note: (Assume that atomic and compressed is on) Before this patch, assembler was always given the riscv64imafdc MARCH string because there are fld/fsd's in entry.S; compiler was always given riscv64imac because kernel doesn't need floating point code generation. After this, the MARCH

[PATCH v4 0/5] riscv: Add support to no-FPU systems

2018-08-07 Thread Alan Kao
This patchset adds an option, CONFIG_FPU, to enable/disable floating- point procedures. Kernel's new behavior will be as follows: * with CONFIG_FPU=y All FPU codes are reserved. If no FPU is found during booting, a global flag will be set, and those functions will be bypassed with conditio

Re: [PATCH 2/2] spi: sprd: Add SPI driver for Spreadtrum SC9860

2018-08-07 Thread Baolin Wang
Hi Trent, On 8 August 2018 at 01:10, Trent Piepho wrote: > On Tue, 2018-08-07 at 18:43 +0800, Baolin Wang wrote: >> >> +static u32 sprd_spi_transfer_max_timeout(struct sprd_spi *ss, >> + struct spi_transfer *t) >> +{ >> + /* >> + * The time spent on t

Re: [PATCH v2 03/18] dt-bindings: clk: Add documentation of grx500 clock controller

2018-08-07 Thread yixin zhu
On 8/6/2018 11:18 PM, Rob Herring wrote: On Thu, Aug 2, 2018 at 9:03 PM Songjun Wu wrote: From: Yixin Zhu This patch adds binding documentation for grx500 clock controller. Signed-off-by: YiXin Zhu Signed-off-by: Songjun Wu --- Changes in v2: - Rewrite clock driver's dt-binding documen

[PATCH] ASoC: max98373: Added software reset register to readable registers

2018-08-07 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Added 'MAX98373_R2000_SW_RESET' register to 'max98373_readable_register' Software reset didn't work properly after suspend/resume. sound/soc/codecs/max98373.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/max98373.c b/sound

Re: [PATCH 4.4 00/12] 4.4.147-stable review

2018-08-07 Thread Shuah Khan
On 08/07/2018 12:52 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.147 release. > There are 12 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. > > Responses s

Re: [PATCH 4.9 00/17] 4.9.119-stable review

2018-08-07 Thread Shuah Khan
On 08/07/2018 12:51 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.119 release. > There are 17 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. > > Responses s

Re: [PATCH 4.14 00/21] 4.14.62-stable review

2018-08-07 Thread Shuah Khan
On 08/07/2018 12:51 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.62 release. > There are 21 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. > > Responses s

Re: [PATCH 4.17 00/18] 4.17.14-stable review

2018-08-07 Thread Shuah Khan
On 08/07/2018 12:51 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.17.14 release. > There are 18 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. > > Responses s

Re: [PATCH 3.18 00/85] 3.18.118-stable review

2018-08-07 Thread Shuah Khan
On 08/07/2018 12:51 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.118 release. > There are 85 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. > > Responses

Re: [PATCH v2 02/18] clk: intel: Add clock driver for Intel MIPS SoCs

2018-08-07 Thread yixin zhu
On 8/6/2018 11:19 PM, Rob Herring wrote: On Thu, Aug 2, 2018 at 9:03 PM Songjun Wu wrote: From: Yixin Zhu This driver provides PLL clock registration as well as various clock branches, e.g. MUX clock, gate clock, divider clock and so on. PLLs that provide clock to DDR, CPU and peripherals

Re: [PATCH v7 1/2] dt-bindings: cpufreq: Introduce QCOM CPUFREQ Firmware bindings

2018-08-07 Thread Taniya Das
On 8/8/2018 12:54 AM, skan...@codeaurora.org wrote: On 2018-08-07 04:12, Sudeep Holla wrote: On Mon, Aug 06, 2018 at 01:54:24PM -0700, skan...@codeaurora.org wrote: On 2018-08-03 16:46, Stephen Boyd wrote: >Quoting Taniya Das (2018-07-24 03:42:49) >>diff --git >>a/Documentation/devicetree/bi

Re: [PATCH 2/2] spi: sprd: Add SPI driver for Spreadtrum SC9860

2018-08-07 Thread Baolin Wang
Hi Mark, On 7 August 2018 at 22:24, Mark Brown wrote: > On Tue, Aug 07, 2018 at 06:43:38PM +0800, Baolin Wang wrote: >> From: Lanqing Liu >> >> This patch adds the SPI controller driver for Spreadtrum SC9860 platform. > > This all looks pretty clean, a few comments below but nothing too major: >

Re: [PATCH v12 3/3] tracing: Centralize preemptirq tracepoints and unify their usage

2018-08-07 Thread Steven Rostedt
On Tue, 7 Aug 2018 19:13:32 -0700 Joel Fernandes wrote: > On Tue, Aug 7, 2018 at 6:55 PM, Steven Rostedt wrote: > > On Tue, 7 Aug 2018 18:17:42 -0700 > > Joel Fernandes wrote: > > > >> From 6986af946ceb04fc9ddc6d5b45fc559b6807e465 Mon Sep 17 00:00:00 2001 > >> From: "Joel Fernandes (Google)"

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-07 Thread Baolin Wang
Hi Mark, On 7 August 2018 at 21:41, Mark Brown wrote: > On Tue, Aug 07, 2018 at 06:43:37PM +0800, Baolin Wang wrote: > >> +Optional properties: >> +- sprd,spi-interval: Specify the intervals of two SPI frames, which can be >> + converted to the delay clock cycles = interval number * 4 + 10. >

Re: [PATCH v2] kbuild: make samples really depend on headers_install

2018-08-07 Thread Masahiro Yamada
2018-08-08 11:14 GMT+09:00 Masahiro Yamada : > Kernel headers must be installed into $(objtree)/usr/include to avoid > the build failure of samples. > > Commit ddea05fa148b ("kbuild: make samples depend on headers_install") > addressed this, but "samples/" is only used for the single target build.

Re: simplified RISC-V interrupt and clocksource handling v3

2018-08-07 Thread Palmer Dabbelt
On Sat, 04 Aug 2018 01:23:11 PDT (-0700), Christoph Hellwig wrote: This series tries adds support for interrupt handling and timers for the RISC-V architecture. The basic per-hart interrupt handling implemented by the scause and sie CSRs is extremely simple and implemented directly in arch/riscv

Re: [PATCH 03/11] dt-bindings: interrupt-controller: RISC-V PLIC documentation

2018-08-07 Thread Palmer Dabbelt
On Mon, 06 Aug 2018 13:59:48 PDT (-0700), robh...@kernel.org wrote: On Thu, Aug 2, 2018 at 4:08 PM Atish Patra wrote: On 8/2/18 4:50 AM, Christoph Hellwig wrote: > From: Palmer Dabbelt > > This patch adds documentation for the platform-level interrupt > controller (PLIC) found in all RISC-V s

[PATCH v2] kbuild: make samples really depend on headers_install

2018-08-07 Thread Masahiro Yamada
Kernel headers must be installed into $(objtree)/usr/include to avoid the build failure of samples. Commit ddea05fa148b ("kbuild: make samples depend on headers_install") addressed this, but "samples/" is only used for the single target build. "make samples/" properly installs kernel headers, but

[PATCH] f2fs: fix use-after-free of dicard command entry

2018-08-07 Thread Chao Yu
As Dan Carpenter reported: The patch 20ee4382322c: "f2fs: issue small discard by LBA order" from Jul 8, 2018, leads to the following Smatch warning: fs/f2fs/segment.c:1277 __issue_discard_cmd_orderly() warn: 'dc' was already freed. See also: fs/f2fs/segment.c:2550 __issue_discard

Re: [PATCH v12 3/3] tracing: Centralize preemptirq tracepoints and unify their usage

2018-08-07 Thread Joel Fernandes
On Tue, Aug 7, 2018 at 6:55 PM, Steven Rostedt wrote: > On Tue, 7 Aug 2018 18:17:42 -0700 > Joel Fernandes wrote: > >> From 6986af946ceb04fc9ddc6d5b45fc559b6807e465 Mon Sep 17 00:00:00 2001 >> From: "Joel Fernandes (Google)" >> Date: Sun, 5 Aug 2018 20:17:41 -0700 >> Subject: [PATCH] tracepoint:

[PATCH RFC] tracepoint: Use SRCU for all tracepoint invocations

2018-08-07 Thread Joel Fernandes (Google)
Steven reported that rcuidle && in_nmi() condition can occur which creates a problem for SRCU usage, since we can't use the SRCU node from both NMI context and other contexts (NMI can come in while the SRCU read lock is in the process of being held). This patch switches to using a separate SRCU no

[PATCH] kbuild: make samples depend on headers_install really

2018-08-07 Thread Masahiro Yamada
Kernel headers must be installed into $(objtree)/usr/include to avoid the build failure of samples. Commit ddea05fa148b ("kbuild: make samples depend on headers_install") addressed this, but "samples/" is only used for the single target build. "make samples/" correctly installs kernel headers, bu

Re: [PATCH v12 3/3] tracing: Centralize preemptirq tracepoints and unify their usage

2018-08-07 Thread Steven Rostedt
On Tue, 7 Aug 2018 18:17:42 -0700 Joel Fernandes wrote: > From 6986af946ceb04fc9ddc6d5b45fc559b6807e465 Mon Sep 17 00:00:00 2001 > From: "Joel Fernandes (Google)" > Date: Sun, 5 Aug 2018 20:17:41 -0700 > Subject: [PATCH] tracepoint: Run tracepoints even after CPU is offline > > Commit f37755490

[PATCH 2/4] fs/locks: allow a lock request to block other requests.

2018-08-07 Thread NeilBrown
Currently, a lock can block pending requests, but all pending requests are equal. If lots of pending requests are mutually exclusive, this means they will all be woken up and all but one will fail. This can hurt performance. So we will allow pending requests to block other requests. Only the fir

[PATCH 3/4] fs/locks: change all *_conflict() functions to return bool.

2018-08-07 Thread NeilBrown
posix_locks_conflict() and flock_locks_conflict() both return int. leases_conflict() returns bool. This inconsistency will cause problems for the next patch if not fixed. So change posix_locks_conflict() and flock_locks_conflict() to return bool. Also change the locks_conflict() helper. And conv

Re: [RFC v6 PATCH 2/2] mm: mmap: zap pages with read mmap_sem in munmap

2018-08-07 Thread Yang Shi
On 8/6/18 10:45 PM, Michal Hocko wrote: On Mon 06-08-18 15:19:06, Yang Shi wrote: On 8/6/18 1:52 PM, Michal Hocko wrote: On Mon 06-08-18 13:48:35, Yang Shi wrote: On 8/6/18 1:41 PM, Michal Hocko wrote: On Mon 06-08-18 09:46:30, Yang Shi wrote: On 8/6/18 2:40 AM, Michal Hocko wrote: On F

[PATCH 0/4] locks: avoid thundering-herd wake-ups

2018-08-07 Thread NeilBrown
If you have a many-core machine, and have many threads all wanting to briefly lock a give file (udev is known to do this), you can get quite poor performance. When one thread releases a lock, it wakes up all other threads that are waiting (classic thundering-herd) - one will get the lock and the o

[PATCH 4/4] fs/locks: create a tree of dependent requests.

2018-08-07 Thread NeilBrown
When we find an existing lock which conflicts with a request, and the request wants to wait, we currently add the request to a list. When the lock is removed, the whole list is woken. This can cause the thundering-herd problem. To reduce the problem, we make use of the (new) fact that a pending re

[PATCH 1/4] fs/locks: rename some lists and pointers.

2018-08-07 Thread NeilBrown
struct file lock contains an 'fl_next' pointer which is used to point to the lock that this request is blocked waiting for. So rename it to fl_blocker. The fl_blocked list_head in an active lock is the head of a list of blocked requests. In a request it is a node in that list. These are two dist

[PATCH v2] staging/bcm2835-audio: Fix alignment of function arguments - Style

2018-08-07 Thread Greg Gallagher
Fix warnings generated by checkpatch.pl for alignment should match open parenthesis. This is a coding style change only. Signed-off-by: Greg Gallagher --- Changes in v2: - Clean up all the alignment warnings in the file --- .../staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 18 +++

[PATCH v2] staging/vc04_services: Fix alignment of function arguments

2018-08-07 Thread Greg Gallagher
Fix warnings generated by checkpatch.pl for alignment should match open parenthesis. This is a coding style change only. Signed-off-by: Greg Gallagher --- .../staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

RE: [PATCH 0/2] x86/intel_rdt and perf/x86: Fix lack of coordination with perf

2018-08-07 Thread Luck, Tony
Would it help to call routines to read the "before" values of the counter twice. The first time to preload the cache with anything needed to execute the perf code path. >> In an attempt to improve the accuracy of the above I modified it to the >> following: >> >> /* create the two events as before

Re: [PATCH 0/3] Kbuild: fix and clean-up arch/um/Makefile

2018-08-07 Thread Masahiro Yamada
2018-08-07 5:54 GMT+09:00 Richard Weinberger : > Am Samstag, 4. August 2018, 06:47:00 CEST schrieb Masahiro Yamada: >> >> 1/3 fixes the build failure reported by Randy. >> (I may have seen a similar report before, but I cannot recall it.) >> >> 2/3 and 3/3 clean-up the Makefile a bit more. >> >> I'

Re: [PATCH v12 3/3] tracing: Centralize preemptirq tracepoints and unify their usage

2018-08-07 Thread Joel Fernandes
On Tue, Aug 7, 2018 at 5:48 PM, Steven Rostedt wrote: > On Tue, 07 Aug 2018 19:54:13 -0400 > Joel Fernandes wrote: > > >> >OK, I hit this bug, but it's not because of the partial revert. This >> >bug seems it needs to be another partial revert. I like you movement of >> >the code, but I'm startin

Re: [PATCH v3] PCI/AER: Do not clear AER bits if we don't own AER

2018-08-07 Thread Bjorn Helgaas
On Mon, Jul 30, 2018 at 06:35:31PM -0500, Alexandru Gagniuc wrote: > When we don't own AER, we shouldn't touch the AER error bits. Clearing > error bits willy-nilly might cause firmware to miss some errors. In > theory, these bits get cleared by FFS, or via ACPI _HPX method. These > mechanisms are

Vienkaršs aizdevuma piedavajums 3% gada !!!

2018-08-07 Thread MR. SANDRO FERAGO
Üdvözlet neked, Mi az A-E hitelek on-line szolgáltatásai biztosítékkal és fedezetlen hitelekkel rendelkeznek, nagyon alacsony kamatlábon 3%. Személyi hiteleket, adósságkonszolidációs kölcsönöket, kockázati toke, üzleti kölcsön, oktatási kölcsön, háztartási kölcsön vagy "hitelt bármilyen okból k

Re: [PATCH RFC 00/10] Introduce lockless shrink_slab()

2018-08-07 Thread Stephen Rothwell
Hi Kirill, On Tue, 07 Aug 2018 18:37:19 +0300 Kirill Tkhai wrote: > > After bitmaps of not-empty memcg shrinkers were implemented > (see "[PATCH v9 00/17] Improve shrink_slab() scalability..." > series, which is already in mm tree), all the evil in perf > trace has moved from shrink_slab() to dow

Re: [PATCH RFC 01/10] rcu: Make CONFIG_SRCU unconditionally enabled

2018-08-07 Thread Stephen Rothwell
Hi Kirill, On Tue, 07 Aug 2018 18:37:36 +0300 Kirill Tkhai wrote: > > This patch kills all CONFIG_SRCU defines and > the code under !CONFIG_SRCU. > > Signed-off-by: Kirill Tkhai So what sort of overheads (in terms of code size and performance) are we adding by having SRCU enabled where it used

Re: [PATCH RFC 01/10] rcu: Make CONFIG_SRCU unconditionally enabled

2018-08-07 Thread Stephen Rothwell
Hi Kirill, On Tue, 07 Aug 2018 18:37:36 +0300 Kirill Tkhai wrote: > > This patch kills all CONFIG_SRCU defines and > the code under !CONFIG_SRCU. > > Signed-off-by: Kirill Tkhai > --- > drivers/base/core.c| 42 > > include/linux/device.h

Re: [PATCH] mm: adjust max read count in generic_file_buffered_read()

2018-08-07 Thread cgxu519
On 08/07/2018 09:54 PM, Jan Kara wrote: On Mon 06-08-18 15:59:27, Andrew Morton wrote: On Mon, 6 Aug 2018 12:22:03 +0200 Jan Kara wrote: On Fri 20-07-18 16:14:29, Andrew Morton wrote: On Thu, 19 Jul 2018 10:58:12 +0200 Jan Kara wrote: On Thu 19-07-18 16:17:26, Chengguang Xu wrote: Whe

Re: [PATCH RFC 01/10] rcu: Make CONFIG_SRCU unconditionally enabled

2018-08-07 Thread Steven Rostedt
On Tue, 07 Aug 2018 18:37:36 +0300 Kirill Tkhai wrote: > This patch kills all CONFIG_SRCU defines and > the code under !CONFIG_SRCU. Can you add the rationale for removing the SRCU config in the change log please. Thanks! -- Steve > > Signed-off-by: Kirill Tkhai > --- > drivers/base/core.c

[PATCH] acpi: bus: Fixed a pointer coding style issue

2018-08-07 Thread Tom Todd
Fixed a coding style issue. Signed-off-by: Tom Todd --- drivers/acpi/bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index 84b4a62018eb..73e43d81ec63 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -962,7 +962,7 @@ sta

Re: [PATCH v12 3/3] tracing: Centralize preemptirq tracepoints and unify their usage

2018-08-07 Thread Steven Rostedt
On Tue, 07 Aug 2018 19:54:13 -0400 Joel Fernandes wrote: > >OK, I hit this bug, but it's not because of the partial revert. This > >bug seems it needs to be another partial revert. I like you movement of > >the code, but I'm starting to doubt that we can use a trace event as a > >hook for critic

Re: [PATCH v2 2/4] phy: socionext: add USB3 PHY driver for UniPhier SoC

2018-08-07 Thread Kunihiko Hayashi
On Fri, 3 Aug 2018 18:54:03 +0900 wrote: > Add a driver for PHY interface built into USB3 controller > implemented in UniPhier SoCs. > This driver supports High-Speed PHY and Super-Speed PHY. > > Signed-off-by: Kunihiko Hayashi > Signed-off-by: Motoya Tanigawa > Signed-off-by: Masami Hiramatsu

[PATCH v2 13/15] staging: fbtft: Corrects long index line - Style

2018-08-07 Thread Leonardo Brás
Avoids a very long line of index, improving readability. Signed-off-by: Leonardo Brás --- drivers/staging/fbtft/fbtft-sysfs.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fbtft-sysfs.c b/drivers/staging/fbtft/fbtft-sysfs.c index 2a5c630dab87..9c

[PATCH v2 14/15] staging: fbtft: Replaces (1 << n) for macro BIT(n) - Style

2018-08-07 Thread Leonardo Brás
Uses default macro BIT(n) instead (1 << n) Signed-off-by: Leonardo Brás --- drivers/staging/fbtft/fbtft.h | 56 +-- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/drivers/staging/fbtft/fbtft.h b/drivers/staging/fbtft/fbtft.h index f771271d497a..2b

[PATCH v2 15/15] staging: fbtft: Replaces custom debug macro with dev_dbg().

2018-08-07 Thread Leonardo Brás
Changes custom macro to dev_dbg to avoid parameter multiple usage and use of typeof(). Signed-off-by: Leonardo Brás --- drivers/staging/fbtft/fbtft.h | 17 + 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/drivers/staging/fbtft/fbtft.h b/drivers/staging/fbtft/fbtf

  1   2   3   4   5   6   7   8   >