Re: [PATCH 2/3] dt-bindings: rtc: update stm32-rtc documentation for stm32mp1 rtc

2018-05-09 Thread Amelie DELAUNAY
On 04/27/2018 05:01 AM, Rob Herring wrote: > On Thu, Apr 19, 2018 at 03:34:04PM +0200, Amelie Delaunay wrote: >> RTC embedded in stm32mp1 SoC is slightly different from stm32h7 one, it >> doesn't require to disable backup domain write protection, and rtc_ck >> parent clock assignment isn't

[PATCH 4/8] depmod.sh: remove symbol prefix support

2018-05-09 Thread Masahiro Yamada
CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX was selected by BLACKFIN, METAG. They were removed by commit 4ba66a976072 ("arch: remove blackfin port"), commit bb6fb6dfcc17 ("metag: Remove arch/metag/"), respectively. No more architecture enables CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX, hence the last

Re: [PATCH 01/10] mempool: Add mempool_init()/mempool_exit()

2018-05-09 Thread Johannes Thumshirn
On Tue, May 08, 2018 at 09:33:49PM -0400, Kent Overstreet wrote: > +/** > + * mempool_destroy - exit a mempool initialized with mempool_init() ^ mempool_exit() -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053

[PATCH] sh: remove no-op macro VMLINUX_SYMBOL()

2018-05-09 Thread Masahiro Yamada
VMLINUX_SYMBOL() is no-op unless CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX is defined. It has ever been selected only by BLACKFIN and METAG. VMLINUX_SYMBOL() is unneeded for SuperH-specific code. Signed-off-by: Masahiro Yamada --- arch/sh/include/asm/vmlinux.lds.h |

Re: [RFC PATCH] drm: Add per-plane pixel blend mode property

2018-05-09 Thread Daniel Vetter
On Tue, May 08, 2018 at 06:34:36PM +0800, Lowry Li wrote: > Pixel blend modes represent the alpha blending equation > selection, describing how the pixels from the current > plane are composited with the background. > > Add a pixel_blend_mode to drm_plane_state and a > blend_mode_property to

Re: [PATCH v7 13/24] ASoC: qdsp6: q6adm: Add q6adm driver

2018-05-09 Thread Srinivas Kandagatla
On 09/05/18 08:55, Banajit Goswami wrote: + */ +int q6adm_close(struct device *dev, int port_id, int perf_mode, int copp_idx) perf_mode unused param. Remove for now. Can be added back when needed. Otherwise LGTM. Yep, will do that thanks. --srini Once fixed above, add acked-by Acked-by:

Re: [PATCH] mm: memcontrol: drain memcg stock on force_empty

2018-05-09 Thread Michal Hocko
On Mon 07-05-18 13:16:51, Shakeel Butt wrote: > From: Junaid Shahid > > The per-cpu memcg stock can retain a charge of upto 32 pages. On a > machine with large number of cpus, this can amount to a decent amount > of memory. Additionally force_empty interface might be

Re: I2C PM overhaul needed? (Re: [PATCH 1/2] i2c: sprd: Prevent i2c accesses after suspend is called)

2018-05-09 Thread Mark Brown
On Sat, May 05, 2018 at 10:32:55AM +0200, Wolfram Sang wrote: > > OTOH it does mean we might not notice things happening later than they > > should so it's not 100% clear... > What do you mean here? If someone is doing I/O later than they should currently we'll notice as they try to do

Re: [PATCH] mm/memblock: print memblock_remove

2018-05-09 Thread Minchan Kim
On Wed, May 09, 2018 at 10:12:14AM +0200, Michal Hocko wrote: > On Tue 08-05-18 19:42:23, Minchan Kim wrote: > > memblock_remove report is useful to see why MemTotal of /proc/meminfo > > between two kernels makes difference. > > > > Signed-off-by: Minchan Kim > > --- > >

Re: [RFC PATCH] sched/cpufreq/schedutil: handling urgent frequency requests

2018-05-09 Thread Rafael J. Wysocki
On Wed, May 9, 2018 at 10:23 AM, Juri Lelli wrote: > On 09/05/18 10:05, Rafael J. Wysocki wrote: >> On Wed, May 9, 2018 at 9:01 AM, Joel Fernandes >> wrote: >> > On Wed, May 09, 2018 at 12:24:49PM +0530, Viresh Kumar wrote: >> >> On 09-05-18,

Re: linux-next: manual merge of the net-next tree with the net tree

2018-05-09 Thread Anders Roxell
On 9 May 2018 at 06:19, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > tools/testing/selftests/net/Makefile > > between commit: > > 1751eb42ddb5 ("selftests: net: use TEST_PROGS_EXTENDED") > > from the net tree

Re: [PATCH v7 15/24] ASoC: qdsp6: q6asm: Add support to memory map and unmap

2018-05-09 Thread Banajit Goswami
On 5/1/2018 5:08 AM, Srinivas Kandagatla wrote: This patch adds support to memory map and unmap regions commands in q6asm module. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/qdsp6/q6asm.c

Re: [RFC PATCH] sched/cpufreq/schedutil: handling urgent frequency requests

2018-05-09 Thread Juri Lelli
On 09/05/18 10:05, Rafael J. Wysocki wrote: > On Wed, May 9, 2018 at 9:01 AM, Joel Fernandes wrote: > > On Wed, May 09, 2018 at 12:24:49PM +0530, Viresh Kumar wrote: > >> On 09-05-18, 08:45, Juri Lelli wrote: > >> > On 08/05/18 21:54, Joel Fernandes wrote: > >> > Isn't

[PATCH -mm] mm, THP, doc: Add document for thp_swpout/thp_swpout_fallback

2018-05-09 Thread Huang, Ying
From: Huang Ying Add document for newly added thp_swpout, thp_swpout_fallback fields in /proc/vmstat. Signed-off-by: "Huang, Ying" Cc: "Kirill A. Shutemov" Cc: Andrea Arcangeli Cc: Johannes

Re: [PATCH v3 2/5] regulator: add dummy function of_find_regulator_by_node

2018-05-09 Thread Du, Changbin
On Wed, May 09, 2018 at 05:21:14PM +0900, Mark Brown wrote: > On Sun, May 06, 2018 at 08:20:13AM +0800, changbin...@intel.com wrote: > > From: Changbin Du > > > > If device tree is not enabled, of_find_regulator_by_node() should have > > a dummy function since the function

[PATCH -mm -V2 21/21] mm, THP: Avoid to split THP when reclaim MADV_FREE THP

2018-05-09 Thread Huang, Ying
From: Huang Ying Previously, to reclaim MADV_FREE THP, the THP will be split firstly, then reclaim each sub-pages. This wastes cycles to split THP and unmap and free each sub-pages, and split THP even if it has been written since MADV_FREE. We have to do this because

Re: [RFC PATCH] sched/cpufreq/schedutil: handling urgent frequency requests

2018-05-09 Thread Rafael J. Wysocki
On Wed, May 9, 2018 at 10:22 AM, Joel Fernandes wrote: > On Wed, May 09, 2018 at 10:05:09AM +0200, Rafael J. Wysocki wrote: >> On Wed, May 9, 2018 at 9:01 AM, Joel Fernandes >> wrote: >> > On Wed, May 09, 2018 at 12:24:49PM +0530, Viresh Kumar

Re: [PATCH] sched/schedutil: Don't set next_freq to UINT_MAX

2018-05-09 Thread Viresh Kumar
On 08-05-18, 22:54, Rafael J. Wysocki wrote: > On Tue, May 8, 2018 at 8:42 AM, Viresh Kumar wrote: > > The schedutil driver sets sg_policy->next_freq to UINT_MAX on certain > > occasions: > > - In sugov_start(), when the schedutil governor is started for a group > > of

[PATCH -mm -V2 13/21] mm, THP, swap: Support PMD swap mapping in madvise_free()

2018-05-09 Thread Huang, Ying
From: Huang Ying When madvise_free() found a PMD swap mapping, if only part of the huge swap cluster is operated on, the PMD swap mapping will be split and fallback to PTE swap mapping processing. Otherwise, if all huge swap cluster is operated on, free_swap_and_cache()

Re: [PATCH v3 2/5] regulator: add dummy function of_find_regulator_by_node

2018-05-09 Thread Mark Brown
On Wed, May 09, 2018 at 04:13:42PM +0800, Du, Changbin wrote: > On Wed, May 09, 2018 at 05:21:14PM +0900, Mark Brown wrote: > > Please do not submit new versions of already applied patches, please > > submit incremental updates to the existing code. Modifying existing > > commits creates

[PATCH] kernel/sched/cpufreq_schedutil: remove stale comment

2018-05-09 Thread Juri Lelli
After commit 794a56ebd9a57 ("sched/cpufreq: Change the worker kthread to SCHED_DEADLINE") schedutil kthreads are "ignored" for a clock frequency selection point of view, so the potential corner case for RT tasks is not possible at all now. Remove the stale comment mentioning it. Signed-off-by:

[PATCH] [media] cx231xx: Fix spelling mistake: "senario" -> "scenario"

2018-05-09 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_err message. Signed-off-by: Colin Ian King --- drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC PATCH] sched/cpufreq/schedutil: handling urgent frequency requests

2018-05-09 Thread Rafael J. Wysocki
On Wed, May 9, 2018 at 10:51 AM, Joel Fernandes wrote: > On Wed, May 09, 2018 at 10:30:37AM +0200, Rafael J. Wysocki wrote: >> On Wed, May 9, 2018 at 10:06 AM, Joel Fernandes >> wrote: >> > On Wed, May 09, 2018 at 08:45:30AM +0200, Juri Lelli

[PATCH] drm/i915/dp: fix spelling mistake: "seqeuncer" -> "sequencer"

2018-05-09 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in WARN warning message text Signed-off-by: Colin Ian King --- drivers/gpu/drm/i915/intel_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] sched/schedutil: Don't set next_freq to UINT_MAX

2018-05-09 Thread Rafael J. Wysocki
On Wed, May 9, 2018 at 11:30 AM, Viresh Kumar wrote: > On 09-05-18, 11:23, Rafael J. Wysocki wrote: >> On Wed, May 9, 2018 at 11:15 AM, Viresh Kumar >> wrote: >> > On 09-05-18, 10:56, Rafael J. Wysocki wrote: >> >> I'm kind of concerned about

Applied "ASoC: nau8824: fix spelling mistake: "semaphone" -> "semaphore"" to the asoc tree

2018-05-09 Thread Mark Brown
The patch ASoC: nau8824: fix spelling mistake: "semaphone" -> "semaphore" has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "ASoC: uniphier: evea: use DAPM to change source of line-in" to the asoc tree

2018-05-09 Thread Mark Brown
The patch ASoC: uniphier: evea: use DAPM to change source of line-in has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "ASoC: uniphier: add digital output volume for UniPhier sound system" to the asoc tree

2018-05-09 Thread Mark Brown
The patch ASoC: uniphier: add digital output volume for UniPhier sound system has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Re: [External] Re: [PATCH 2/3] include/linux/gfp.h: use unsigned int in gfp_zone

2018-05-09 Thread David Sterba
On Mon, May 07, 2018 at 05:25:47PM -0700, Matthew Wilcox wrote: > On Mon, May 07, 2018 at 11:25:01PM +0200, David Sterba wrote: > > On Mon, May 07, 2018 at 11:44:10AM -0700, Matthew Wilcox wrote: > > > But something like btrfs should almost certainly be using ~GFP_ZONEMASK. > > > > Agreed, the

Applied "regulator: add binding for the SY8106A voltage regulator" to the regulator tree

2018-05-09 Thread Mark Brown
The patch regulator: add binding for the SY8106A voltage regulator has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Re: [PATCH 5/7] sched: loadavg: make calc_load_n() public

2018-05-09 Thread Peter Zijlstra
On Mon, May 07, 2018 at 05:01:33PM -0400, Johannes Weiner wrote: > +static inline unsigned long > +fixed_power_int(unsigned long x, unsigned int frac_bits, unsigned int n) > +{ > + unsigned long result = 1UL << frac_bits; > + > + if (n) { > + for (;;) { > +

Applied "ASoC: fix return value check in mt6351_codec_driver_probe()" to the asoc tree

2018-05-09 Thread Mark Brown
The patch ASoC: fix return value check in mt6351_codec_driver_probe() has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: Serdev runtime PM (was: Re: [PATCH 4/7] dt-bindings: gnss: add u-blox binding)

2018-05-09 Thread Johan Hovold
On Wed, May 09, 2018 at 11:18:31AM +0200, Johan Hovold wrote: > I've cooked up a patch which I'll be sending as a reply to this mail. Forgot to add the in-reply-to header of course. For the interested, the patch can be found here:

[PATCH] net/9p: fix spelling mistake: "suspsend" -> "suspend"

2018-05-09 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_warn message text Signed-off-by: Colin Ian King --- net/9p/trans_xen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/9p/trans_xen.c b/net/9p/trans_xen.c

Re: [PATCH] cpufreq: schedutil: Avoid using invalid next_freq

2018-05-09 Thread Viresh Kumar
On 09-05-18, 11:44, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > If the next_freq field of struct sugov_policy is set to UINT_MAX, > it shouldn't be used for updating the CPU frequency (this is a > special "invalid" value), but after commit b7eaf1aab9f8

Re: [PATCH v7 21/24] ASoC: qdsp6: q6asm: Add q6asm dai driver

2018-05-09 Thread Banajit Goswami
On 5/1/2018 5:08 AM, Srinivas Kandagatla wrote: This patch adds support to q6asm dai driver which configures Q6ASM streams to pass pcm data. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar ---

[PATCH v3 2/2] ACPI: APD: Add AMD misc clock handler support

2018-05-09 Thread Akshu Agrawal
AMD SoC exposes clock for general purpose use. The clock registration is done in clk-st driver. The MMIO mapping are passed on to the clock driver for accessing the registers. The misc clock handler will create MMIO mappings to access the clock registers and enable the clock driver to expose the

Re: [PATCH] selftests: mqueue: delete RUN_TESTS and EMIT_TESTS overrides

2018-05-09 Thread Anders Roxell
On 2018-05-02 15:18, Shuah Khan (Samsung OSG) wrote: > Delete RUN_TESTS and EMIT_TESTS overrides and use common defines in lib.mk. > The overrides are in place to call mq_open_tests with queue name argument. > The change to delete overrides is coupled with a change to mq_open_tests > to use

Re: [PATCH] selftests: mount: delete RUN_TESTS and EMIT_TESTS overrides

2018-05-09 Thread Anders Roxell
On 2018-05-02 15:18, Shuah Khan (Samsung OSG) wrote: > Delete RUN_TESTS and EMIT_TESTS overrides and use common defines in > lib.mk. Add new run_tests.sh to do the dependency checks the custom > RUN_TESTS did. Common defines work with the run_tests.sh set as the > TEST_PROGS and defining

Re: [PATCH 6/7] psi: pressure stall information for CPU, memory, and IO

2018-05-09 Thread Peter Zijlstra
On Mon, May 07, 2018 at 05:01:34PM -0400, Johannes Weiner wrote: > +static void psi_clock(struct work_struct *work) > +{ > + dwork = to_delayed_work(work); > + group = container_of(dwork, struct psi_group, clock_work); > + > + > + /* Keep the clock ticking only when there is action

Re: [PATCH v2 2/4] ARM: amba: Fix race condition with driver_override

2018-05-09 Thread Russell King - ARM Linux
On Thu, Apr 26, 2018 at 10:45:49AM +0200, Geert Uytterhoeven wrote: > Hi Greg, > > On Thu, Apr 26, 2018 at 10:35 AM, Greg Kroah-Hartman > wrote: > > On Thu, Apr 26, 2018 at 09:40:08AM +0200, Geert Uytterhoeven wrote: > >> On Thu, Apr 26, 2018 at 9:04 AM, Greg

[PATCH] media: lgdt330x: add inline to lgdt330x_attach function

2018-05-09 Thread Anders Roxell
When CONFIG_DVB_LGDT330X is disabled, we get a build warning: In file included from drivers/media/common/b2c2/flexcop-fe-tuner.c:21:0: drivers/media/dvb-frontends/lgdt330x.h:61:22: warning: ‘lgdt330x_attach’ defined but not used [-Wunused-function] struct dvb_frontend *lgdt330x_attach(const

Re: [PATCH] mm: move function ‘is_pageblock_removable_nolock’ inside blockers

2018-05-09 Thread Michal Hocko
On Sat 05-05-18 22:11:06, Mathieu Malaterre wrote: > Function ‘is_pageblock_removable_nolock’ is not used unless > CONFIG_MEMORY_HOTREMOVE is activated. Move it in between #ifdef sentinel to > match prototype in . Silence gcc warning (W=1): > > mm/page_alloc.c:7704:6: warning: no previous

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

2018-05-09 Thread Johannes Berg
Thanks Stephen, The 0-day bot also gave me this heads-up, there are a few more places like it too. I'd asked Toke to fix the ones in the stack, but we both missed the ones in the drivers. I'll get a fix in for that one way or the other. johannes

Re: [PATCH v2 1/1] dts: qcom: db820c: Add gpio-line-names property

2018-05-09 Thread Todor Tomov
Hi Mani, On 18.04.2018 16:46, Manivannan Sadhasivam wrote: > Add gpio-line-names property for Dragonboard820c based on APQ8096 SoC. > There are 4 gpio-controllers present on this board, including the > APQ8096 SoC, PM8994 (GPIO and MPP) and PMI8994 (GPIO). > > Lines names are derived from

Re: [PATCH] acpi: scan: Fix a possible data race in acpi_scan_hotplug_enabled

2018-05-09 Thread Rafael J. Wysocki
On Wed, May 9, 2018 at 5:17 AM, Jia-Ju Bai wrote: > > > On 2018/5/9 4:17, Rafael J. Wysocki wrote: >> >> On Tue, May 8, 2018 at 5:08 AM, Jia-Ju Bai wrote: >>> >>> The write operation to "hotplug->enabled" is protected by >>> the lock on line 1760,

Re: [PATCH v7 14/24] ASoC: qdsp6: q6asm: Add q6asm driver

2018-05-09 Thread Banajit Goswami
On 5/1/2018 5:08 AM, Srinivas Kandagatla wrote: This patch adds basic support to Q6 ASM (Audio Stream Manager) module on Q6DSP. ASM supports up to 8 concurrent streams. each stream can be setup as playback/capture. ASM provides top control functions like Pause/flush/resume for playback and

[PATCH] leds: lm3601x: fix semicolon.cocci warnings

2018-05-09 Thread Julia Lawall
...@intel.com> Signed-off-by: Julia Lawall <julia.law...@lip6.fr> --- url: https://github.com/0day-ci/linux/commits/Dan-Murphy/dt-bindings-lm3601x-Introduce-the-lm3601x-driver/20180509-033939 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next :: branch date:

Re: [PATCH v7 19/24] ASoC: qdsp6: q6routing: Add support to MI2S Mixers

2018-05-09 Thread Banajit Goswami
On 5/1/2018 5:08 AM, Srinivas Kandagatla wrote: This patch add support to MI2S mixers required to select path between ASM stream and AFE ports. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar ---

[PATCH -mm -V2 16/21] mm, THP, swap: Free PMD swap mapping when zap_huge_pmd()

2018-05-09 Thread Huang, Ying
From: Huang Ying For a PMD swap mapping, zap_huge_pmd() will clear the PMD and call free_swap_and_cache() to decrease the swap reference count and maybe free or split the huge swap cluster and the THP in swap cache. Signed-off-by: "Huang, Ying" Cc:

Re: [Ksummit-discuss] bug-introducing patches

2018-05-09 Thread Mark Brown
On Fri, May 04, 2018 at 04:21:26PM +0200, Ulf Hansson wrote: > Then, why don't we have a pre-integration tree for fixes? That would > at least simply automated testing of fixes separately from new > material. > Perhaps this has already been discussed, and concluded and it's not > worth it, then

Re: [PATCH v7 18/24] ASoC: qdsp6: q6routing: Add support to all SLIMBus Mixers

2018-05-09 Thread Banajit Goswami
On 5/1/2018 5:08 AM, Srinivas Kandagatla wrote: This patch adds support to SLIMBus related mixers to control mux between ASM stream and AFE port. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar ---

[PATCH -mm -V2 11/21] mm, THP, swap: Add sysfs interface to configure THP swapin

2018-05-09 Thread Huang, Ying
From: Huang Ying Swapin a THP as a whole isn't desirable at some situations. For example, for random access pattern, swapin a THP as a whole will inflate the reading greatly. So a sysfs interface: /sys/kernel/mm/transparent_hugepage/swapin_enabled is added to configure

[RFC v3 PATCH 3/5] mm/rmqueue_bulk: alloc without touching individual page structure

2018-05-09 Thread Aaron Lu
Profile on Intel Skylake server shows the most time consuming part under zone->lock on allocation path is accessing those to-be-returned page's "struct page" on the free_list inside zone->lock. One explanation is, different CPUs are releasing pages to the head of free_list and those page's 'struct

Re: [PATCH v3 3/3] fs: Add aio iopriority support for block_dev

2018-05-09 Thread kbuild test robot
/commits/adam-manzanares-wdc-com/block-add-ioprio_check_cap-function/20180509-094058 config: x86_64-randconfig-s0-05091255 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new

[RFC v3 PATCH 2/5] mm/__free_one_page: skip merge for order-0 page unless compaction failed

2018-05-09 Thread Aaron Lu
Running will-it-scale/page_fault1 process mode workload on a 2 sockets Intel Skylake server showed severe lock contention of zone->lock, as high as about 80%(42% on allocation path and 35% on free path) CPU cycles are burnt spinning. With perf, the most time consuming part inside that lock on free

Re: [PATCH v3 1/2] usb: dwc2: alloc dma aligned buffer for isoc split in

2018-05-09 Thread wlf
Dear Doug, 在 2018年05月08日 23:29, Doug Anderson 写道: Hi, On Tue, May 8, 2018 at 12:43 AM, wlf wrote: Dear Doug, 在 2018年05月08日 13:11, Doug Anderson 写道: Hi, On Mon, May 7, 2018 at 8:07 PM, William Wu wrote: +static int

[RFC v3 PATCH 0/5] Eliminate zone->lock contention for will-it-scale/page_fault1 and parallel free

2018-05-09 Thread Aaron Lu
This series is meant to improve zone->lock scalability for order 0 pages. With will-it-scale/page_fault1 workload, on a 2 sockets Intel Skylake server with 112 CPUs, CPU spend 80% of its time spinning on zone->lock. Perf profile shows the most time consuming part under zone->lock is the cache miss

[RFC v3 PATCH 4/5] mm/free_pcppages_bulk: reduce overhead of cluster operation on free path

2018-05-09 Thread Aaron Lu
After "no_merge for order 0", the biggest overhead in free path for order 0 pages is now add_to_cluster(). As pages are freed one by one, it caused frequent operation of add_to_cluster(). Ideally, if only one migratetype pcp list has pages to free and count=pcp->batch in free_pcppages_bulk(), we

Re: [PATCH net-next] net: dsa: fix added_by_user switchdev notification

2018-05-09 Thread Petr Machata
Vivien Didelot writes: > @petr I expect the same issue with Rocker, but I haven't tested it. Yeah, pretty sure. Such an obvious bug, sorry about that :-/ I'll send a rocker patch later today. Thanks, Petr

Re: [PATCH 0/3] scsi: arcmsr: Add driver parameter cmd_timeout for scsi command timeout setting

2018-05-09 Thread Steffen Maier
On 05/08/2018 08:43 AM, Ching Huang wrote: On Tue, 2018-05-08 at 14:32 +0800, Ching Huang wrote: On Tue, 2018-05-08 at 01:41 -0400, Martin K. Petersen wrote: Hello Ching, 1. Add driver parameter cmd_timeout, default value is ARCMSR_DEFAULT_TIMEOUT. 2. Add slave_configure callback function

Re: [Ksummit-discuss] bug-introducing patches

2018-05-09 Thread Mark Brown
On Wed, May 09, 2018 at 10:47:57AM +0200, Daniel Vetter wrote: > On Wed, May 9, 2018 at 10:44 AM, Mark Brown wrote: > > I think this is an excellent idea, copying in Stephen for his input. > > I'm currently on holiday but unless someone convinces me it's a terrible > > idea

Re: [PATCH v7 23/24] ASoC: qcom: apq8096: Add db820c machine driver

2018-05-09 Thread Banajit Goswami
On 5/1/2018 5:08 AM, Srinivas Kandagatla wrote: This patch adds support to DB820c machine driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 9 ++ sound/soc/qcom/Makefile | 2 + sound/soc/qcom/apq8096.c | 238

Re: [PATCH] sched/schedutil: Don't set next_freq to UINT_MAX

2018-05-09 Thread Viresh Kumar
On 09-05-18, 10:56, Rafael J. Wysocki wrote: > I'm kind of concerned about updating the limits via sysfs in which > case the cached next frequency may be out of range, so it's better to > invalidate it right away then. That should not be a problem as __cpufreq_driver_target() will anyway clamp

Re: [RFC PATCH] sched/cpufreq/schedutil: handling urgent frequency requests

2018-05-09 Thread Joel Fernandes
On Wed, May 09, 2018 at 11:06:24AM +0200, Rafael J. Wysocki wrote: > On Wed, May 9, 2018 at 10:51 AM, Joel Fernandes > wrote: > > On Wed, May 09, 2018 at 10:30:37AM +0200, Rafael J. Wysocki wrote: > >> On Wed, May 9, 2018 at 10:06 AM, Joel Fernandes

[PATCH] cpufreq: schedutil: Avoid using invalid next_freq

2018-05-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If the next_freq field of struct sugov_policy is set to UINT_MAX, it shouldn't be used for updating the CPU frequency (this is a special "invalid" value), but after commit b7eaf1aab9f8 (cpufreq: schedutil: Avoid reducing frequency of busy CPUs

Re: [RFC PATCH] driver core: make deferring probe forever optional

2018-05-09 Thread Alexander Graf
On 05/07/2018 08:31 PM, Bjorn Andersson wrote: On Tue 01 May 14:31 PDT 2018, Rob Herring wrote: Deferred probe will currently wait forever on dependent devices to probe, but sometimes a driver will never exist. It's also not always critical for a driver to exist. Platforms can rely on default

[PATCH 1/2] serdev: add controller runtime PM support

2018-05-09 Thread Johan Hovold
Add support for controller runtime power management to serdev core. This is needed to allow slave drivers to manage the runtime PM state of the underlying serial controller when its driver, in turn, implements more aggressive runtime power management (e.g. using autosuspend). For some

[PATCH EXAMPLE 2/2] dbg: gnss: sirf: allow aggressive controller runtime PM

2018-05-09 Thread Johan Hovold
This is just an example of how a serdev driver could go about to allow aggressive controller runtime PM by dropping the RPM reference taken by serdev core in serdev_device_open(). Note that for most GNSS devices this does not make any sense, as allowing the controller to suspend this way would

Re: [PATCH 4/4] drm/rockchip: support dp training outside dp firmware

2018-05-09 Thread hl
On Monday, May 07, 2018 07:29 PM, Enric Balletbo Serra wrote: Hi Lin, Thanks for the patch. 2018-05-04 10:08 GMT+02:00 Lin Huang : DP firware use fix phy config value to do training, but some s/fiware/firmware/ board need to adjust these value to fit for their

[PATCH V2 05/11] PM / Domains: Allow a better error handling of dev_pm_domain_attach()

2018-05-09 Thread Ulf Hansson
The callers of dev_pm_domain_attach() currently checks the returned error code for -EPROBE_DEFER and needs to ignore other error codes. This is an unnecessary limitation, which also leads to a rather strange behaviour in the error path. Address this limitation, by changing the return codes from

Re: [PATCH 6/7] psi: pressure stall information for CPU, memory, and IO

2018-05-09 Thread Peter Zijlstra
On Mon, May 07, 2018 at 05:01:34PM -0400, Johannes Weiner wrote: > +/** > + * psi_memstall_enter - mark the beginning of a memory stall section > + * @flags: flags to handle nested sections > + * > + * Marks the calling task as being stalled due to a lack of memory, > + * such as waiting for a

Re: [PATCH 2/2] serial: imx: dma_unmap_sg buffers on shutdown

2018-05-09 Thread Sebastian Reichel
Hi, On Tue, May 08, 2018 at 08:46:12PM +0200, Uwe Kleine-König wrote: > On Tue, May 08, 2018 at 03:40:47PM +0200, Sebastian Reichel wrote: > > On Tue, May 08, 2018 at 08:43:51AM +0200, Uwe Kleine-König wrote: > > > On Mon, May 07, 2018 at 11:36:10PM +0200, Sebastian Reichel wrote: > > > > This

[PATCH v2 2/3] xen/store: do not store local values in xen_start_info

2018-05-09 Thread Roger Pau Monne
There's no need to store the xenstore page or event channel in xen_start_info if they are locally initialized. This also fixes PVH local xenstore initialization due to the lack of xen_start_info in that case. Signed-off-by: Boris Ostrovsky Signed-off-by: Roger Pau

[PATCH v2 0/3] xen/pvh: Dom0 support

2018-05-09 Thread Roger Pau Monne
Hello, The following patches enable booting a PVH Dom0. So far I've only tested them in my test box, so I expect more issues will show up as this gets further testing. In any case, this is the bare minimum to get a PVH Dom0 working. In order to test them Xen 4.11 RC or plain master/staging

[PATCH v2 3/3] xen: share start flags between PV and PVH

2018-05-09 Thread Roger Pau Monne
Use a global variable to store the start flags for both PV and PVH. This allows the xen_initial_domain macro to work properly on PVH. Note that ARM is also switched to use the new variable. Signed-off-by: Boris Ostrovsky Signed-off-by: Roger Pau Monné

Re: [PATCH] net/mlx4_en: Fix an error handling path in 'mlx4_en_init_netdev()'

2018-05-09 Thread Tariq Toukan
On 08/05/2018 12:34 PM, Christophe JAILLET wrote: If the 2nd memory allocation of the loop fails, we must undo the memory allocation done so far. Fixes: 67f8b1dcb9ee ("net/mlx4_en: Refactor the XDP forwarding rings scheme") Signed-off-by: Christophe JAILLET ---

Re: [PATCH v3] ppc64le livepatch: implement reliable stacktrace for newer consistency models

2018-05-09 Thread Torsten Duwe
On Wed, May 09, 2018 at 11:41:09AM +1000, Michael Ellerman wrote: > Josh Poimboeuf writes: > > > Generally we refer to it as "the consistency model". [...] > > We use "powerpc" as the prefix. > > So I've used: > > powerpc/livepatch: Implement reliable stack tracing for

Re: [PATCH][V2] drm/i915/dp: fix spelling mistakes: "seqeuncer" and "seqeuencer"

2018-05-09 Thread Jani Nikula
On Wed, 09 May 2018, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistakes in WARN warning message text and > in comments: > > "seqeuncer", "seqeuencer" -> "sequencer" > > Signed-off-by: Colin Ian King

Re: [Xen-devel] [PATCH v2 1/3] xen/pvh: enable and set default MTRR type

2018-05-09 Thread Andrew Cooper
On 09/05/18 11:21, Roger Pau Monne wrote: > On PVH MTRR is not initialized by the firmware (because there's no > firmware), so the kernel is started with MTRR disabled which means all > memory accesses are UC. > > So far there have been no issues (ie: slowdowns) caused by this > because PVH only

Re: [Ksummit-discuss] bug-introducing patches

2018-05-09 Thread Vinod Koul
On 09-05-18, 20:47, Stephen Rothwell wrote: > On Wed, 9 May 2018 18:03:46 +0900 Mark Brown wrote: > > > > On Wed, May 09, 2018 at 10:47:57AM +0200, Daniel Vetter wrote: > > > On Wed, May 9, 2018 at 10:44 AM, Mark Brown wrote: > > > > > > I think this is

Re: [PATCH 6/7] psi: pressure stall information for CPU, memory, and IO

2018-05-09 Thread Peter Zijlstra
On Mon, May 07, 2018 at 05:01:34PM -0400, Johannes Weiner wrote: > @@ -28,10 +28,14 @@ static inline int sched_info_on(void) > return 1; > #elif defined(CONFIG_TASK_DELAY_ACCT) > extern int delayacct_on; > - return delayacct_on; > -#else > - return 0; > + if

Re: [PATCH v2 3/3] perf/buildid-cache: Support --purge-all option

2018-05-09 Thread Ravi Bangoria
On 05/08/2018 09:12 PM, Masami Hiramatsu wrote: > On Thu, 3 May 2018 14:24:04 +0530 > Ravi Bangoria wrote: > >> Hi Masami, >> >> On 04/23/2018 12:32 PM, Masami Hiramatsu wrote: >>> On Tue, 17 Apr 2018 09:43:46 +0530 >>> Ravi Bangoria

Re: [PATCH] Kirin-PCIe: Add kirin pcie msi feature.

2018-05-09 Thread Yao Chen
On 2018/5/8 20:56, Bjorn Helgaas wrote: > [+cc Stanimir, Jianguo, Shawn for qcom, histb comments below] > > On Tue, May 08, 2018 at 03:03:48PM +0800, Yao Chen wrote: >> This patch adds kirin pcie msi feature. > > Thanks for the patch! Please update your subject and changelog like this: > >

Re: [RESEND PATCH] pinctrl: rockchip: Disable interrupt when changing it's capability

2018-05-09 Thread JeffyChen
Hi Doug, Thanks for your reply :) On 05/09/2018 01:18 PM, Doug Anderson wrote: > > >right, so we now have 2 cases: rockchip_irq_demux/ rockchip_irq_set_type > >if i'm right about the spurious irq(only happen when set rising for a high >gpio, or set falling for a low gpio), then: > >1/

Re: [PATCH V1 5/5] backlight: qcom-wled: Add auto string detection logic

2018-05-09 Thread kgunda
On 2018-05-07 23:40, Bjorn Andersson wrote: On Thu 03 May 02:57 PDT 2018, Kiran Gunda wrote: [..] + +#define WLED_AUTO_DETECT_OVP_COUNT 5 +#define WLED_AUTO_DETECT_CNT_DLY_USHZ /* 1 second */ +static bool wled_auto_detection_required(struct wled *wled) So

Re: [PATCH v4 1/3] drm/panel: Add RGB666 variant of Innolux AT070TN90

2018-05-09 Thread Maxime Ripard
On Tue, May 08, 2018 at 12:04:11AM +0200, Paul Kocialkowski wrote: > This adds timings for the RGB666 variant of the Innolux AT070TN90 panel, > as found on the Ainol AW1 tablet. > > The panel also supports RGB888 output. When RGB666 mode is used instead, > the two extra lanes per component are

Re: [PATCH 3/4] dt-bindings: rtc: update stm32-rtc documentation for st,syscfg property

2018-05-09 Thread Amelie DELAUNAY
Hi, On 05/04/2018 09:40 AM, Alexandre Torgue wrote: > Hi Alexandre, > > On 05/03/2018 10:53 PM, Alexandre Belloni wrote: >> Amelie, >> >> On 26/04/2018 21:58:03-0500, Rob Herring wrote: >>> On Thu, Apr 19, 2018 at 03:21:42PM +0200, Amelie Delaunay wrote: RTC driver should not be aware of

Re: [PATCH] swiotlb: Update the comment of swiotlb

2018-05-09 Thread Christoph Hellwig
Thanks, applied to the dma-mapping tree.

Re: Kernel build with gcc 8 a lot of warnings

2018-05-09 Thread damian
Hi Josh, i tested the patch on my maschine it works fine. Best regards Damian On Tue, 08. May 22:46, Josh Poimboeuf wrote: > On Tue, May 08, 2018 at 09:32:41AM -0500, Josh Poimboeuf wrote: > > On Tue, May 08, 2018 at 04:25:15PM +0200, Greg KH wrote: > > > Much nicer, thanks for the patch,

[PATCH 0/8] kbuild: remove CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX and clean-up code

2018-05-09 Thread Masahiro Yamada
I got acknowledge to remove CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX entirely. (https://lkml.org/lkml/2018/5/5/148) Several tools can be cleaned-up. Removing the CONFIG option makes VMLINUX_SYMBOL() no-op, so this macro can be removed too. VMLINUX_SYMBOL() and VMLINUX_SYMBOL_STR() are widely used,

[PATCH 6/8] kbuild: remove CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX

2018-05-09 Thread Masahiro Yamada
CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX was selected by BLACKFIN, METAG. They were removed by commit 4ba66a976072 ("arch: remove blackfin port"), commit bb6fb6dfcc17 ("metag: Remove arch/metag/"), respectively. No more architecture enables CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX. Clean up the rest of

Re: Bug in vboxguest: After commit Merge tag 'char-misc-4.17-rc3'

2018-05-09 Thread Hans de Goede
Hi, On 08-05-18 21:41, damian wrote: On Tue, 08. May 13:42, Hans de Goede wrote: Hi Damian, On 02-05-18 22:46, damian wrote: Hello Greg, it is PATCH 3 virt: vbox: Use __get_free_pages insteas of kmalloc for DMA32 memory. Thank you for the bug report, I've tried to reproduce this problem

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

2018-05-09 Thread Eric Biggers
On Wed, Jan 03, 2018 at 10:53:14PM -0800, Eric Dumazet wrote: > On Wed, 2018-01-03 at 21:13 -0800, Eric Dumazet wrote: > > Note: all commands must start from beginning of the line in the email body. > > > > I guess skb_probe_transport_header() should be hardened to reject malicious > > packets

Re: [PATCH] perf test shell: Add -D to check dynamic symbols for ubuntu/debian

2018-05-09 Thread Li Zhijian
ping On 12/27/2017 04:50 PM, Li Zhijian wrote: On Ubuntu and Debian, we can't find any symbol including "inet_pton" from 'nm -g' root@vm-lkp-nex04-8G-5 ~# nm -g /lib/x86_64-linux-gnu/libc-2.25.so | grep inet_pton nm: /lib/x86_64-linux-gnu/libc-2.25.so: no symbols it looks libc.so has

[PATCH v3 2/2] leds: Add Spreadtrum SC27xx breathing light controller driver

2018-05-09 Thread Baolin Wang
From: Xiaotong Lu This patch adds Spreadtrum SC27xx PMIC series breathing light controller driver, which can support 3 LEDs. Each LED can work at normal PWM mode and breathing mode. Signed-off-by: Xiaotong Lu Signed-off-by: Baolin Wang

[PATCH v3 1/2] dt-bindings: leds: Add SC27xx breathing light controller documentation

2018-05-09 Thread Baolin Wang
This patch adds the binding documentation for Spreadtrum SC27xx series breathing light controller, which supports 3 outputs: red LED, green LED and blue LED. Signed-off-by: Baolin Wang Reviewed-by: Rob Herring --- Changes since v2: - Add reviewed-tag

Re: [PATCH v3 2/5] regulator: add dummy function of_find_regulator_by_node

2018-05-09 Thread Mark Brown
On Sun, May 06, 2018 at 08:20:13AM +0800, changbin...@intel.com wrote: > From: Changbin Du > > If device tree is not enabled, of_find_regulator_by_node() should have > a dummy function since the function call is still there. Please do not submit new versions of already

[PATCH v2 1/2] PCI: kirin: Add MSI support

2018-05-09 Thread Yao Chen
Add support for MSI. Signed-off-by: Yao Chen --- drivers/pci/dwc/pcie-kirin.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/drivers/pci/dwc/pcie-kirin.c b/drivers/pci/dwc/pcie-kirin.c index d2970a0..4328efe 100644 ---

Re: [RFC PATCH] sched/cpufreq/schedutil: handling urgent frequency requests

2018-05-09 Thread Rafael J. Wysocki
On Wed, May 9, 2018 at 10:06 AM, Joel Fernandes wrote: > On Wed, May 09, 2018 at 08:45:30AM +0200, Juri Lelli wrote: >> On 08/05/18 21:54, Joel Fernandes wrote: >> >> [...] >> >> > Just for discussion sake, is there any need for work_in_progress? If we can >> > queue

  1   2   3   4   5   6   7   8   9   10   >