[PATCH v6 07/14] sched/topology: Introduce sched_energy_present static key

2018-08-20 Thread Quentin Perret
In order to ensure a minimal performance impact on non-energy-aware systems, introduce a static_key guarding the access to Energy-Aware Scheduling (EAS) code. The static key is set iff all the following conditions are met for at least one root domain: 1. all online CPUs of the root domain are

[PATCH v6 14/14] OPTIONAL: cpufreq: dt: Register an Energy Model

2018-08-20 Thread Quentin Perret
*** * This patch illustrates the usage of the newly introduced Energy * * Model framework and isn't supposed to be merged as-is. * *** The Energy Model

Re: [PATCH v1 5/5] mm/memory_hotplug: print only with DEBUG_VM in online/offline_pages()

2018-08-20 Thread David Hildenbrand
On 17.08.2018 10:18, Oscar Salvador wrote: >> failed_addition: >> +#ifdef CONFIG_DEBUG_VM >> pr_debug("online_pages [mem %#010llx-%#010llx] failed\n", >> (unsigned long long) pfn << PAGE_SHIFT, >> (((unsigned long long) pfn + nr_pages) << PAGE_SHIFT) - 1); >>

[PATCH v6 13/14] sched/topology: Make Energy Aware Scheduling depend on schedutil

2018-08-20 Thread Quentin Perret
Energy Aware Scheduling (EAS) is designed with the assumption that frequencies of CPUs follow their utilization value. When using a CPUFreq governor other than schedutil, the chances of this assumption being true are small, if any. When schedutil is being used, EAS' predictions are at least

[PATCH] microblaze/PCI: Remove stale pcibios_align_resource() comment

2018-08-20 Thread Lorenzo Pieralisi
commit 01cf9d524ff0 ("microblaze/PCI: Support generic Xilinx AXI PCIe Host Bridge IP driver") and commit ecf677c8dcaa ("PCI: Add a generic weak pcibios_align_resource()") first patched then removed pcibios_align_resource() from the microblaze architecture code but failed to remove the comment

Re: [PATCH v1 5/5] mm/memory_hotplug: print only with DEBUG_VM in online/offline_pages()

2018-08-20 Thread David Hildenbrand
On 20.08.2018 11:45, David Hildenbrand wrote: > On 17.08.2018 10:18, Oscar Salvador wrote: >>> failed_addition: >>> +#ifdef CONFIG_DEBUG_VM >>> pr_debug("online_pages [mem %#010llx-%#010llx] failed\n", >>> (unsigned long long) pfn << PAGE_SHIFT, >>> (((unsigned long

Cześć słodka!!!

2018-08-20 Thread Wesley
Jak się dzisiaj czujesz, mam nadzieję, że wszystko jest w porządku, cieszę się, że mogę się z tobą spotkać. W każdym razie jestem Wesley ze Stanów Zjednoczonych Ameryki, przebywa obecnie w Syrii na misję pokojową. Chcę cię lepiej poznać, jeśli mogę być odważny. Uważam się za łatwego człowieka,

Re: [PATCH] staging: rtl8188eu: Removed code valid for 5GHz

2018-08-20 Thread Dan Carpenter
On Fri, Aug 17, 2018 at 01:17:29PM +0530, Bhaskar Singh wrote: > This patch removed code which are valid for IEEE 802.11a i.e. 5GHz. I would be uncomfortable accepting this kind of change without an Ack from the maintainers. The messes up the indenting so we can accept it anyway. regards, dan

Re: [PATCH v1 5/5] mm/memory_hotplug: print only with DEBUG_VM in online/offline_pages()

2018-08-20 Thread David Hildenbrand
On 19.08.2018 14:34, Wei Yang wrote: > On Fri, Aug 17, 2018 at 10:18:53AM +0200, Oscar Salvador wrote: >>> failed_addition: >>> +#ifdef CONFIG_DEBUG_VM >>> pr_debug("online_pages [mem %#010llx-%#010llx] failed\n", >>> (unsigned long long) pfn << PAGE_SHIFT, >>>

[PATCH] x86/speculation/l1tf: fix overflow on l1tf_pfn_limit() on 32bit

2018-08-20 Thread Vlastimil Babka
On 32bit PAE kernels on 64bit hardware with enough physical bits, l1tf_pfn_limit() will overflow unsigned long. This in turn affects max_swapfile_size() and can lead to swapon returning -EINVAL. This has been observed in a 32bit guest with 42 bits physical address size, where max_swapfile_size()

Re: [PATCH v3 09/14] sched/core: uclamp: propagate parent clamps

2018-08-20 Thread Dietmar Eggemann
On 08/17/2018 05:50 PM, Dietmar Eggemann wrote: On 08/17/2018 04:45 PM, Patrick Bellasi wrote: On 17-Aug 15:43, Dietmar Eggemann wrote: On 08/06/2018 06:39 PM, Patrick Bellasi wrote: [...] AFAIK the default hierarcy (cgroups v2) has a much more stricy set of requirements for the

[PATCH 5/5] iio: multiplexer: switch to SPDX license identifier

2018-08-20 Thread Peter Rosin
Drop the boilerplate license text. Signed-off-by: Peter Rosin --- drivers/iio/multiplexer/iio-mux.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/iio/multiplexer/iio-mux.c b/drivers/iio/multiplexer/iio-mux.c index e1f44cecdef4..0422ef57914c 100644 ---

[PATCH 1/5] iio: potentiometer: mcp4018: use the correct MODULE_LICENSE

2018-08-20 Thread Peter Rosin
The file is GPL v2 only. Signed-off-by: Peter Rosin --- drivers/iio/potentiometer/mcp4018.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/potentiometer/mcp4018.c b/drivers/iio/potentiometer/mcp4018.c index 320a7c929777..5ab74a839982 100644 ---

[PATCH 4/5] iio: dpot-dac: switch to SPDX license identifier

2018-08-20 Thread Peter Rosin
Drop the boilerplate license text. Signed-off-by: Peter Rosin --- drivers/iio/dac/dpot-dac.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/iio/dac/dpot-dac.c b/drivers/iio/dac/dpot-dac.c index aaa2103d7c2b..a791d0a09d3b 100644 --- a/drivers/iio/dac/dpot-dac.c

[PATCH 3/5] iio: envelope-detector: switch to SPDX license identifier

2018-08-20 Thread Peter Rosin
Drop the boilerplate license text. Signed-off-by: Peter Rosin --- drivers/iio/adc/envelope-detector.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/iio/adc/envelope-detector.c b/drivers/iio/adc/envelope-detector.c index 4ebda8ab54fe..2f2b563c1162 100644 ---

[PATCH 2/5] iio: potentiometer: mcp4531: switch to SPDX license identifier

2018-08-20 Thread Peter Rosin
Drop the boilerplate license text and use the correct MODULE_LICENSE. Signed-off-by: Peter Rosin --- drivers/iio/potentiometer/mcp4531.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/iio/potentiometer/mcp4531.c b/drivers/iio/potentiometer/mcp4531.c index

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-20 Thread Suzuki K Poulose
On 08/16/2018 08:28 PM, Mathieu Poirier wrote: On Wed, 15 Aug 2018 at 09:28, Kim Phillips wrote: On Wed, 15 Aug 2018 10:39:13 +0100 Will Deacon wrote: On Tue, Aug 14, 2018 at 01:42:27PM -0600, Mathieu Poirier wrote: On Tue, 14 Aug 2018 at 11:09, Kim Phillips wrote: The other thing

[PATCH 0/5] License cleanup of "my" IIO files

2018-08-20 Thread Peter Rosin
Hi! I found a couple of discrepancies in the license annotations in some of the files I have added to the drivers/iio/ directory. This cleans up the trivialities that I found. While at it, convert the remaining IIO files that are "mine" to SPDX license identifiers. Cheers, Peter Peter Rosin

[PATCH] mux: adgs1408: use the correct MODULE_LICENSE

2018-08-20 Thread Peter Rosin
The file is GPL v2 or later. Signed-off-by: Peter Rosin --- drivers/mux/adgs1408.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Hi Mircea! I just noticed a discrepancy in the license annotations in your driver. The SPDX license identifier says GPL-2.0-or-later, and I assume that is

Re: [PATCH] mtd: m25p80: consider max message size when use the spi_mem_xx() API

2018-08-20 Thread Boris Brezillon
Hi Chuanhua, On Mon, 20 Aug 2018 17:43:26 +0800 Chuanhua Han wrote: Subject prefix should be "spi: spi-mem: " not "mtd: m25p80: ", and you need a commit message explaining what this patch does and why it's needed. > Signed-off-by: Chuanhua Han Fixes: c36ff266dc82 ("spi: Extend the core to

Re: [PATCH v3] cpuidle: menu: Handle stopped tick more aggressively

2018-08-20 Thread Peter Zijlstra
On Sun, Aug 12, 2018 at 10:55:15PM +0800, leo@linaro.org wrote: > The first one issue is caused by timer cancel, I wrote one case for > CPU_0 starting a hrtimer with pinned mode with short expire time and > when the CPU_0 goes to sleep this short timeout timer can let idle > governor selects a

Re: [PATCH 1/3] KVM: x86: expose UMWAIT/UMONITOR/TPAUSE CPU features into VM.

2018-08-20 Thread Paolo Bonzini
On 10/07/2018 10:54, Jingqi Liu wrote: > UMONITOR, UMWAIT, and TPAUSE are a set of user wait instructions. > > UMONITOR arms address monitoring hardware using an address. A store > to an address within the specified address range triggers the > monitoring hardware to wake up the processor waiting

[PATCH] ASoC: atmel: tse850: switch to SPDX license identifier

2018-08-20 Thread Peter Rosin
Convert to // comments in the leading comment, drop the boilerplate license text and use the correct MODULE_LICENSE. Signed-off-by: Peter Rosin --- sound/soc/atmel/tse850-pcm5142.c | 78 +++- 1 file changed, 36 insertions(+), 42 deletions(-) diff --git

Re: [PATCH v3 12/14] sched/core: uclamp: add system default clamps

2018-08-20 Thread Dietmar Eggemann
On 08/06/2018 06:39 PM, Patrick Bellasi wrote: Clamp values cannot be tuned at the root cgroup level. Moreover, because of the delegation model requirements and how the parent clamps propagation works, if we want to enable subgroups to set a non null util.min, we need to be able to configure the

[PATCH] ARM: dts: at91/trivial: remove old NAND bindings leftover in sama5d2

2018-08-20 Thread Nicolas Ferre
As the new bindings are already in place in sama5d2.dtsi and that it's used in the only Mainline board for this product (at91-sama5d2_ptc_ek.dts), we can safely remove the old bindings. Cc: Boris Brezillon Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d2.dtsi | 38

Add "regulator: arizona-ldo1: Use correct device to get enable GPIO" to 4.18 stable tree

2018-08-20 Thread Matthias Reichl
It seems the arizona-ldo1 ldoena fix hasn't made it into 4.18. It was added to 4.19/mainline, though: commit a9191579ba1086d91842199263e6fe6bb5eec1ba Author: Charles Keepax Date: Tue Jun 19 16:10:00 2018 +0100 regulator: arizona-ldo1: Use correct device to get enable GPIO Could you

Re: [PATCH] mtd: m25p80: consider max message size when use the spi_mem_xx() API

2018-08-20 Thread kbuild test robot
/linux/commits/Chuanhua-Han/mtd-m25p80-consider-max-message-size-when-use-the-spi_mem_xx-API/20180820-174451 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next config: i386-randconfig-x076-201833 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce

[PATCH] mfd: arizona: Correct calling of runtime_put_sync

2018-08-20 Thread sapthagiri . baratam
From: Sapthagiri Baratam Don't call runtime_put_sync when clk32k_ref is ARIZONA_32KZ_MCLK2 as there is no corresponding runtime_get_sync call. MCLK1 is not in the AoD power domain so if it is used as 32kHz clock source we need to hold a runtime PM reference to keep the device from going into

[PATCH] mux: adgs1408: use the correct SPDX license identifier

2018-08-20 Thread Peter Rosin
The file is GPL v2 only. Signed-off-by: Peter Rosin --- drivers/mux/adgs1408.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) On 2018-08-20 12:16, Caprioru, Mircea wrote: > Peter Rosin wrote: >> I just noticed a discrepancy in the license annotations in your >> driver. The SPDX license

Re: [PATCH v1 5/5] mm/memory_hotplug: print only with DEBUG_VM in online/offline_pages()

2018-08-20 Thread David Hildenbrand
On 16.08.2018 12:06, David Hildenbrand wrote: > Let's try to minimze the noise. > > Signed-off-by: David Hildenbrand > --- > mm/memory_hotplug.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c > index bbbd16f9d877..6fec2dc6a73d 100644 >

Re: [PATCH] x86/speculation/l1tf: fix overflow on l1tf_pfn_limit() on 32bit

2018-08-20 Thread Michal Hocko
On Mon 20-08-18 11:58:35, Vlastimil Babka wrote: > On 32bit PAE kernels on 64bit hardware with enough physical bits, > l1tf_pfn_limit() will overflow unsigned long. This in turn affects > max_swapfile_size() and can lead to swapon returning -EINVAL. This has been > observed in a 32bit guest with

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

2018-08-20 Thread Naga Sureshkumar Relli
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Monday, August 20, 2018 2:24 PM > To: Naga Sureshkumar Relli > Cc: rich...@nod.at; abs...@codeaurora.org; linux-kernel@vger.kernel.org; > marek.va...@gmail.com; kyungmin.p...@samsung.com;

Re: [PATCH] fanotify: use killable wait for waiting response for permission events

2018-08-20 Thread Jan Kara
Hi! On Mon 20-08-18 10:09:42, Konstantin Khlebnikov wrote: > Waiting in uninterruptible state for response from userspace > easily produces deadlocks and hordes of unkillable tasks. > > This patch makes this wait killable. > > At receiving fatal signal task will remove queued event and die. >

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

2018-08-20 Thread Martin Wilck
On Wed, 2018-08-08 at 14:29 -0400, J. Bruce Fields wrote: > On Wed, Aug 08, 2018 at 12:47:22PM -0400, Jeff Layton wrote: > > On Wed, 2018-08-08 at 11:51 +1000, NeilBrown wrote: > > > If you have a many-core machine, and have many threads all > > > wanting to > > > briefly lock a give file (udev is

Re: [PATCH v5] cpuidle: menu: Handle stopped tick more aggressively

2018-08-20 Thread Peter Zijlstra
On Tue, Aug 14, 2018 at 12:34:40PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Commit 87c9fe6ee495 (cpuidle: menu: Avoid selecting shallow states > with stopped tick) missed the case when the target residencies of > deep idle states of CPUs are above the tick boundary which may

Re: [PATCH v5] cpuidle: menu: Handle stopped tick more aggressively

2018-08-20 Thread Peter Zijlstra
On Tue, Aug 14, 2018 at 11:44:41PM +0800, leo@linaro.org wrote: > I agree this patch can resolve the issue you mentioned in the commit > log, but this patch will be fragile for below case, so it will select > state1 but not state2, how about you think for this case? > > Idle_state0:: >

Re: [RFC PATCH 1/6] Revert "PCI: Fix is_added/is_busmaster race condition"

2018-08-20 Thread Benjamin Herrenschmidt
On Mon, 2018-08-20 at 11:55 +0530, Hari Vyas wrote: > On Mon, Aug 20, 2018 at 7:40 AM, Benjamin Herrenschmidt > wrote: > > On Sat, 2018-08-18 at 21:24 -0500, Bjorn Helgaas wrote: > > > On Sat, Aug 18, 2018 at 01:24:51PM +1000, Benjamin Herrenschmidt wrote: > > > > On Fri, 2018-08-17 at 10:44

Re: [RFC PATCH 1/6] Revert "PCI: Fix is_added/is_busmaster race condition"

2018-08-20 Thread Benjamin Herrenschmidt
On Mon, 2018-08-20 at 09:17 +0200, Lukas Wunner wrote: > On Mon, Aug 20, 2018 at 12:10:59PM +1000, Benjamin Herrenschmidt wrote: > > I chose to create a new mutex which we should be able to address other > > similar races if we find them. The other solutions that I dismissed > > were: > > > > -

Re: [PATCH v4 3/3] arm: dts: ls1021a: Enable I2C DMA support

2018-08-20 Thread Wolfram Sang
> Ok, do I need to send to additional list(s)? > linux-arm-ker...@lists.infradead.org? I'd say resend this patch after rc1 is out and the other 2 patches are upstream. signature.asc Description: PGP signature

RE: [PATCH] mux: adgs1408: use the correct SPDX license identifier

2018-08-20 Thread Caprioru, Mircea
Ok now I understand. We can go with GPL-2.0-or-later and MODULE_LICENSE("GPL"). We are pretty flexible regarding what license we should use upstream wise. If you feel we should change it in some other way we can do that too. Regards, Mircea -Original Message- From: Peter Rosin

Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-20 Thread Maxime Ripard
On Sat, Aug 04, 2018 at 09:03:49AM +0200, Emmanuel Vadot wrote: > This patch adds documentation for Device-Tree bindings for the Allwinner > Thermal Sensor Controller found on the H3, H5 and A64 SoCs > > Signed-off-by: Emmanuel Vadot I'm not going to merge a binding for a device that doesn't

Re: [PATCH v2] i2c: Remove '-Wno-deprecated-declarations' compiler warning

2018-08-20 Thread Benjamin Herrenschmidt
On Mon, 2018-08-20 at 10:06 +0200, Wolfram Sang wrote: > > > Some people still use those old machines, I'll give a try at fixing the > > driver. > > I did this here a while ago [1] ("macintosh: therm_windtunnel: drop > using attach adapter")... > > > Paul: Do you still have one of these

Re: [PATCH] thunderbolt: remove a meaningless null pointer check before dma_pool_destroy

2018-08-20 Thread Mika Westerberg
On Fri, Aug 17, 2018 at 08:24:56PM +0800, zhong jiang wrote: > dma_pool_destroy has taken the null pointer into account. so just > remove the null pointer check. > > Signed-off-by: zhong jiang Applied, thanks!

Re: [PATCH] x86/speculation/l1tf: fix overflow on l1tf_pfn_limit() on 32bit

2018-08-20 Thread Vlastimil Babka
On 08/20/2018 12:49 PM, Michal Hocko wrote: > On Mon 20-08-18 11:58:35, Vlastimil Babka wrote: >> On 32bit PAE kernels on 64bit hardware with enough physical bits, >> l1tf_pfn_limit() will overflow unsigned long. This in turn affects >> max_swapfile_size() and can lead to swapon returning -EINVAL.

Re: [RFC PATCH 1/6] Revert "PCI: Fix is_added/is_busmaster race condition"

2018-08-20 Thread Hari Vyas
On Mon, Aug 20, 2018 at 4:39 PM, Benjamin Herrenschmidt wrote: > On Mon, 2018-08-20 at 11:55 +0530, Hari Vyas wrote: >> On Mon, Aug 20, 2018 at 7:40 AM, Benjamin Herrenschmidt >> wrote: >> > On Sat, 2018-08-18 at 21:24 -0500, Bjorn Helgaas wrote: >> > > On Sat, Aug 18, 2018 at 01:24:51PM +1000,

OK

2018-08-20 Thread Ahmed Zama
Greetings, Can we discuss business here in the internet? I will give you the full detailed information and the part you are to play as soon as you respond. Thanks Ahmed Zama

Re: [LINUX PATCH v10 2/2] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-08-20 Thread Boris Brezillon
On Mon, 20 Aug 2018 10:49:38 + Naga Sureshkumar Relli wrote: > > Thanks for your suggestion and are you saying something like Marvell parser > patterns for nfcv1 as below? > > static const struct nand_op_parser marvell_nfcv1_op_parser = NAND_OP_PARSER( > /* Naked commands not

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

2018-08-20 Thread Naga Sureshkumar Relli
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Monday, August 20, 2018 5:40 PM > To: Naga Sureshkumar Relli > Cc: rich...@nod.at; abs...@codeaurora.org; linux-kernel@vger.kernel.org; > marek.va...@gmail.com; kyungmin.p...@samsung.com;

Re: [LINUX PATCH v10 2/2] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-08-20 Thread Boris Brezillon
On Mon, 20 Aug 2018 12:21:12 + Naga Sureshkumar Relli wrote: > Hi Boris, > > > -Original Message- > > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > > Sent: Monday, August 20, 2018 5:40 PM > > To: Naga Sureshkumar Relli > > Cc: rich...@nod.at; abs...@codeaurora.org;

Re: [PATCH v3 12/14] sched/core: uclamp: add system default clamps

2018-08-20 Thread Patrick Bellasi
On 20-Aug 12:18, Dietmar Eggemann wrote: > On 08/06/2018 06:39 PM, Patrick Bellasi wrote: > >Clamp values cannot be tuned at the root cgroup level. Moreover, because > >of the delegation model requirements and how the parent clamps > >propagation works, if we want to enable subgroups to set a non

Re: [PATCH v3 09/14] sched/core: uclamp: propagate parent clamps

2018-08-20 Thread Patrick Bellasi
On 20-Aug 12:01, Dietmar Eggemann wrote: > On 08/17/2018 05:50 PM, Dietmar Eggemann wrote: > >On 08/17/2018 04:45 PM, Patrick Bellasi wrote: > >>On 17-Aug 15:43, Dietmar Eggemann wrote: > >>>On 08/06/2018 06:39 PM, Patrick Bellasi wrote: > > [...] > > >>AFAIK the default hierarcy (cgroups v2)

Re: [LINUX PATCH v10 1/2] dt-bindings: mtd: arasan: Add device tree binding documentation

2018-08-20 Thread Boris Brezillon
On Fri, 17 Aug 2018 18:49:23 +0530 Naga Sureshkumar Relli wrote: > This patch adds the dts binding document for arasan nand flash > controller. > > Signed-off-by: Naga Sureshkumar Relli > --- > Changes in v10: > - None > Changes in v9: > - None > Changes in v8: > - Updated compatible and

Re: [PATCH 1/2] f2fs: fix to avoid quota inode leak in ->put_super

2018-08-20 Thread Chao Yu
On 2018/8/18 23:16, Jaegeuk Kim wrote: > On 08/17, Chao Yu wrote: >> generic/019 reports below error: >> >> __quota_error: 1160 callbacks suppressed >> Quota error (device zram1): write_blk: dquota write failed >> Quota error (device zram1): qtree_write_dquot: Error -28 occurred while >>

Re: [PATCH] mux: adgs1408: use the correct SPDX license identifier

2018-08-20 Thread Peter Rosin
On 2018-08-20 13:14, Caprioru, Mircea wrote: > Ok now I understand. We can go with GPL-2.0-or-later and > MODULE_LICENSE("GPL"). > We are pretty flexible regarding what license we should use upstream wise. > If> you feel we should change it in some other way we can do that too. Good, I'll

RE: [PATCH 1/3] KVM: x86: expose UMWAIT/UMONITOR/TPAUSE CPU features into VM.

2018-08-20 Thread Liu, Jingqi
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Monday, August 20, 2018 6:16 PM > To: Liu, Jingqi ; rkrc...@redhat.com; > t...@linutronix.de; > mi...@redhat.com; h...@zytor.com > Cc: x...@kernel.org; k...@vger.kernel.org; linux-kernel@vger.kernel.org; Wang,

Re: [PATCH] Cleanup "fat: propagate 64-bit inode timestamps" patch

2018-08-20 Thread Arnd Bergmann
On Sat, Aug 18, 2018 at 2:34 AM OGAWA Hirofumi wrote: > > Hi, > > Looks like I missed the email to read for a patch > (mmots/broken-out/fat-propagate-64-bit-inode-timestamps.patch). Well, > so FWIW, > > Acked-by: OGAWA Hirofumi > > And additionally cleanup patch here (this would be better to be

[PATCH] mtd: m25p80: consider max message size when use the spi_mem_xx() API

2018-08-20 Thread Chuanhua Han
Signed-off-by: Chuanhua Han --- Changes in v3: Rename variable name "val" to "opcode_addr_dummy_sum". Place the legitimacy of the transfer size(i.e., "pi_max_message_size(mem->spi)" and "opcode_addr_dummy_sum") into "if (! ctlr - > mem_ops | |! ctlr-> mem_ops->exec_op) {" structure and

Re: [PATCH v12 13/14] cpufreq: qcom: Re-organise kryo cpufreq to use it for other nvmem based qcom socs

2018-08-20 Thread Sricharan R
Hi Rob, On 8/17/2018 8:39 PM, Rob Herring wrote: > Hi, this email is from Rob's (experimental) review bot. I found a couple > of common problems with your patch. Please see below. > > On Tue, 14 Aug 2018 17:42:32 +0530, Sricharan R wrote: >> The kryo cpufreq driver reads the nvmem cell and uses

Re: [PATCH] staging: rtl8188eu: Removed code valid for 5GHz

2018-08-20 Thread Bhaskar Singh
On Mon, Aug 20, 2018 at 12:50:43PM +0300, Dan Carpenter wrote: > On Fri, Aug 17, 2018 at 01:17:29PM +0530, Bhaskar Singh wrote: > > This patch removed code which are valid for IEEE 802.11a i.e. 5GHz. > > I would be uncomfortable accepting this kind of change without an Ack > from the maintainers.

Re: [PATCH 2/2] arm64: dts: sunxi: Don't use cd-inverted in sun50i-a64-pinebook

2018-08-20 Thread Maxime Ripard
On Wed, Aug 08, 2018 at 02:25:54AM +0300, Tuomas Tynkkynen wrote: > Another user of cd-inverted seems to have crept in. Switch it away from > cd-inverted to be consistent with other sunxi boards. > > Signed-off-by: Tuomas Tynkkynen Queued for 4.20, thanks! Maxime -- Maxime Ripard, Bootlin

Re: [PATCH 1/2] ARM: dts: sunxi: Don't use cd-inverted in sun8i-r40-bananapi-m2-ultra

2018-08-20 Thread Maxime Ripard
On Wed, Aug 08, 2018 at 02:25:53AM +0300, Tuomas Tynkkynen wrote: > Another user of cd-inverted seems to have crept in. Switch it away from > cd-inverted to be consistent with other sunxi boards. > > Signed-off-by: Tuomas Tynkkynen Queued for 4.20, thanks! Maxime -- Maxime Ripard, Bootlin

RE: [PATCH] mtd: m25p80: consider max message size when use the spi_mem_xx() API

2018-08-20 Thread David Laight
From: Chuanhua Han > Sent: 20 August 2018 13:44 > > Signed-off-by: Chuanhua Han > --- > Changes in v3: > Rename variable name "val" to "opcode_addr_dummy_sum". > Place the legitimacy of the transfer size(i.e., > "pi_max_message_size(mem->spi)" and > "opcode_addr_dummy_sum") into "if (!

Re: [PATCH v2 0/3] add support to non-uniform SFDP SPI NOR flash memories

2018-08-20 Thread Tudor Ambarus
Hi, Marek, Did you have the chance to look over these patches? Please advise how can I move forward with the non-uniform erase support. Thanks, ta On 07/12/2018 08:32 PM, Tudor Ambarus wrote: > Backward compatibility test done on mx25l3273fm2i-08g. > Non-uniform erase test done on

Re: [BUG]smt sysfs dir missing on 4.4.148 and 4.14.63

2018-08-20 Thread Thomas Gleixner
On Mon, 20 Aug 2018, Jinpu Wang wrote: > On Sat, Aug 18, 2018 at 2:50 PM Thomas Gleixner wrote: > > > > On Fri, 17 Aug 2018, Greg Kroah-Hartman wrote: > > > On Fri, Aug 17, 2018 at 02:39:00PM +0200, Jinpu Wang wrote: > > > > > > > > I found the problem, CONFIG_HOTPLUG_SMT is enable due to

Re: [PATCH] x86/kvm/vmx: Fix coding style in vmx_setup_l1d_flush()

2018-08-20 Thread Paolo Bonzini
On 16/08/2018 07:42, Yi Wang wrote: > Substitute spaces with tab. No functional changes. > > Signed-off-by: Yi Wang > Reviewed-by: Jiang Biao > --- > arch/x86/kvm/vmx.c | 18 +- > 1 file changed, 9 insertions(+), 9 deletions(-) > > diff --git a/arch/x86/kvm/vmx.c

[PATCH] xen: remove unused hypercall functions

2018-08-20 Thread Juergen Gross
Remove Xen hypercall functions which are used nowhere in the kernel. Signed-off-by: Juergen Gross --- arch/x86/include/asm/xen/hypercall.h | 118 --- 1 file changed, 118 deletions(-) diff --git a/arch/x86/include/asm/xen/hypercall.h

[PATCH v2 1/1] mmc: dw_mmc: hi3798cv200: add MMC_CAP_CMD23 cap

2018-08-20 Thread Igor Opaniuk
Enable access to the RPMB on the on-board eMMC of the Poplar board. Signed-off-by: Igor Opaniuk --- v2: - as there are three dwmmc blocks integrated on Hi3798CV200 SoC with identical CMD23 support, provide MMC_CAP_CMD23 capability instead of 0 for the third block also.

Re: [RFC PATCH 2/2] phy: cadence: Add driver for Sierra PHY

2018-08-20 Thread Kishon Vijay Abraham I
Hi, On Friday 17 August 2018 06:01 PM, Alan Douglas wrote: > Add a Sierra PHY driver with PCIe and USB support. > There are two resets to the PHY, one to enable > the APB interface for programming registers, and > another to enable the PHY itself. > > The sequence of operation on startup is to

Re: [PATCH v1 5/5] mm/memory_hotplug: print only with DEBUG_VM in online/offline_pages()

2018-08-20 Thread Wei Yang
On Mon, Aug 20, 2018 at 11:57:04AM +0200, David Hildenbrand wrote: >On 19.08.2018 14:34, Wei Yang wrote: >> On Fri, Aug 17, 2018 at 10:18:53AM +0200, Oscar Salvador wrote: failed_addition: +#ifdef CONFIG_DEBUG_VM pr_debug("online_pages [mem %#010llx-%#010llx] failed\n",

Re: [PATCH] staging: rtl8188eu: Removed code valid for 5GHz

2018-08-20 Thread Dan Carpenter
On Mon, Aug 20, 2018 at 06:25:39PM +0530, Bhaskar Singh wrote: > On Mon, Aug 20, 2018 at 12:50:43PM +0300, Dan Carpenter wrote: > > On Fri, Aug 17, 2018 at 01:17:29PM +0530, Bhaskar Singh wrote: > > > This patch removed code which are valid for IEEE 802.11a i.e. 5GHz. > > > > I would be

Re: [BUG]smt sysfs dir missing on 4.4.148 and 4.14.63

2018-08-20 Thread Jinpu Wang
On Mon, Aug 20, 2018 at 3:02 PM Thomas Gleixner wrote: > > On Mon, 20 Aug 2018, Jinpu Wang wrote: > > > On Sat, Aug 18, 2018 at 2:50 PM Thomas Gleixner wrote: > > > > > > On Fri, 17 Aug 2018, Greg Kroah-Hartman wrote: > > > > On Fri, Aug 17, 2018 at 02:39:00PM +0200, Jinpu Wang wrote: > > > > >

[PATCH] mm: Check shrinker is memcg-aware in register_shrinker_prepared()

2018-08-20 Thread Kirill Tkhai
There is a sad BUG introduced in patch adding SHRINKER_REGISTERING. shrinker_idr business is only for memcg-aware shrinkers. Only such type of shrinkers have id and they must be finaly installed via idr_replace() in this function. For !memcg-aware shrinkers we never initialize shrinker->id field.

libtracevent build warnings on Clear Linux (gcc 8.2.0)

2018-08-20 Thread Arnaldo Carvalho de Melo
Hi guys, I noticed this while working on a new perf build container for the Clear Linux distro, can you take a look at it so that we get the build clean on Clear? - Arnaldo root@28864dcfe31b /git/perf # gcc -v Using built-in specs. COLLECT_GCC=gcc

Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-20 Thread Rob Herring
On Mon, Aug 20, 2018 at 5:17 AM Maxime Ripard wrote: > > On Sat, Aug 04, 2018 at 09:03:49AM +0200, Emmanuel Vadot wrote: > > This patch adds documentation for Device-Tree bindings for the Allwinner > > Thermal Sensor Controller found on the H3, H5 and A64 SoCs > > > > Signed-off-by: Emmanuel

hallo Schönheit

2018-08-20 Thread Wesley
Viele Grüße von mir. Wie geht es dir? Ich bin über Ihre Informationen im Internet gestolpert und das hat mein Interesse geweckt. Ich bin ein einsamer Mann und bin eines solchen Lebens müde. Ich möchte eine angenehme Frau finden, die mich liebt und schätzt. Ich bin Wesley mit Namen bin aus den

Re: [PATCH] mtd: m25p80: consider max message size when use the spi_mem_xx() API

2018-08-20 Thread Boris Brezillon
On Mon, 20 Aug 2018 13:01:13 + David Laight wrote: > From: Chuanhua Han > > Sent: 20 August 2018 13:44 > > Still no message here, and the subject prefix is still wrong. Fixes and Cc-stable tags should be placed here... > > Signed-off-by: Chuanhua Han > > --- > > Changes in v3: > >

Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-20 Thread Emmanuel Vadot
On Mon, 20 Aug 2018 07:41:22 -0600 Rob Herring wrote: > On Mon, Aug 20, 2018 at 5:17 AM Maxime Ripard > wrote: > > > > On Sat, Aug 04, 2018 at 09:03:49AM +0200, Emmanuel Vadot wrote: > > > This patch adds documentation for Device-Tree bindings for the Allwinner > > > Thermal Sensor Controller

Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-20 Thread Maxime Ripard
On Mon, Aug 20, 2018 at 07:41:22AM -0600, Rob Herring wrote: > On Mon, Aug 20, 2018 at 5:17 AM Maxime Ripard > wrote: > > > > On Sat, Aug 04, 2018 at 09:03:49AM +0200, Emmanuel Vadot wrote: > > > This patch adds documentation for Device-Tree bindings for the Allwinner > > > Thermal Sensor

Re: [PATCH v9 13/22] s390: vfio-ap: sysfs interface to view matrix mdev matrix

2018-08-20 Thread Cornelia Huck
On Mon, 13 Aug 2018 17:48:10 -0400 Tony Krowiak wrote: > From: Tony Krowiak > > Provides a sysfs interface to view the AP matrix configured for the > mediated matrix device. > > The relevant sysfs structures are: > > /sys/devices/vfio_ap/matrix/ > .. [mdev_supported_types] > .

Re: INFO: task hung in generic_file_write_iter

2018-08-20 Thread Tetsuo Handa
On 2018/08/06 20:56, Tetsuo Handa wrote: > On 2018/08/06 19:09, Jan Kara wrote: >> Looks like some kind of a race where device block size gets changed while >> getblk() runs (and creates buffers for underlying page). I don't have time >> to nail it down at this moment can have a look into it later

Re: [PATCH] mfd: arizona: Correct calling of runtime_put_sync

2018-08-20 Thread Charles Keepax
On Mon, Aug 20, 2018 at 03:59:01PM +0530, sapthagiri.bara...@gmail.com wrote: > From: Sapthagiri Baratam > > Don't call runtime_put_sync when clk32k_ref is ARIZONA_32KZ_MCLK2 > as there is no corresponding runtime_get_sync call. > > MCLK1 is not in the AoD power domain so if it is used as 32kHz

Re: [PATCH] x86/speculation/l1tf: fix overflow on l1tf_pfn_limit() on 32bit

2018-08-20 Thread Andi Kleen
On Mon, Aug 20, 2018 at 11:58:35AM +0200, Vlastimil Babka wrote: > On 32bit PAE kernels on 64bit hardware with enough physical bits, > l1tf_pfn_limit() will overflow unsigned long. This in turn affects > max_swapfile_size() and can lead to swapon returning -EINVAL. This has been > observed in a

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

2018-08-20 Thread Tony Lindgren
* Sekhar Nori [180615 13:41]: > > How well we can reuse individual interconnect segments is something I > have to think about / experiment. Will have to be wary of any "short > paths" or "cross connections". These short paths and cross connections are almost certainly just additional ranges

Re: [PATCH v2 1/1] mmc: dw_mmc: hi3798cv200: add MMC_CAP_CMD23 cap

2018-08-20 Thread Shawn Guo
On Mon, Aug 20, 2018 at 9:04 PM Igor Opaniuk wrote: > > Enable access to the RPMB on the on-board eMMC of the > Poplar board. > > Signed-off-by: Igor Opaniuk Acked-by: Shawn Guo

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-20 Thread Kim Phillips
On Mon, 20 Aug 2018 11:03:03 +0100 Suzuki K Poulose wrote: > On 08/16/2018 08:28 PM, Mathieu Poirier wrote: > > On Wed, 15 Aug 2018 at 09:28, Kim Phillips wrote: > >> > >> On Wed, 15 Aug 2018 10:39:13 +0100 > >> Will Deacon wrote: > >> > >>> On Tue, Aug 14, 2018 at 01:42:27PM -0600, Mathieu

Re: [PATCH v9 12/22] s390: vfio-ap: sysfs interfaces to configure control domains

2018-08-20 Thread Cornelia Huck
On Mon, 13 Aug 2018 17:48:09 -0400 Tony Krowiak wrote: > From: Tony Krowiak > > Provides the sysfs interfaces for: > > 1. Assigning AP control domains to the mediated matrix device > > 2. Unassigning AP control domains from a mediated matrix device > > 3. Displaying the control domains

Re: [PATCH v9 16/22] s390: vfio-ap: implement VFIO_DEVICE_GET_INFO ioctl

2018-08-20 Thread Cornelia Huck
On Mon, 13 Aug 2018 17:48:13 -0400 Tony Krowiak wrote: > From: Tony Krowiak > > Introduces ioctl access to the VFIO AP Matrix device driver > by implementing the VFIO_DEVICE_GET_INFO ioctl. This ioctl > provides the VFIO AP Matrix device driver information to the > guest machine. > >

Re: [PATCH] x86/speculation/l1tf: fix overflow on l1tf_pfn_limit() on 32bit

2018-08-20 Thread Michal Hocko
On Mon 20-08-18 07:20:27, Andi Kleen wrote: > On Mon, Aug 20, 2018 at 11:58:35AM +0200, Vlastimil Babka wrote: > > On 32bit PAE kernels on 64bit hardware with enough physical bits, > > l1tf_pfn_limit() will overflow unsigned long. This in turn affects > > max_swapfile_size() and can lead to swapon

Re: [PATCH v9 21/22] KVM: s390: CPU model support for AP virtualization

2018-08-20 Thread Cornelia Huck
On Mon, 13 Aug 2018 17:48:18 -0400 Tony Krowiak wrote: > From: Tony Krowiak > > Introduces a new CPU model feature and two CPU model > facilities to support AP virtualization for KVM guests. > > CPU model feature: > > The KVM_S390_VM_CPU_FEAT_AP feature indicates that > AP instructions are

Re: [PATCH] x86/process: Export start_thread()

2018-08-20 Thread Andy Lutomirski
> On Aug 20, 2018, at 12:30 AM, Thomas Gleixner wrote: > > On Sun, 19 Aug 2018, Andy Lutomirski wrote: >>> On Aug 19, 2018, at 4:08 PM, Rian Hunter wrote: >>> >>> Commit e634d8fc792c ("x86-64: merge the standard and compat >>> start_thread() functions") removed exporting for the

Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-20 Thread Emmanuel Vadot
On Mon, 20 Aug 2018 16:07:37 +0200 Maxime Ripard wrote: > On Mon, Aug 20, 2018 at 07:41:22AM -0600, Rob Herring wrote: > > On Mon, Aug 20, 2018 at 5:17 AM Maxime Ripard > > wrote: > > > > > > On Sat, Aug 04, 2018 at 09:03:49AM +0200, Emmanuel Vadot wrote: > > > > This patch adds documentation

Re: [PATCH] x86/speculation/l1tf: fix overflow on l1tf_pfn_limit() on 32bit

2018-08-20 Thread Michal Hocko
On Mon 20-08-18 13:41:03, Vlastimil Babka wrote: > On 08/20/2018 12:49 PM, Michal Hocko wrote: > > On Mon 20-08-18 11:58:35, Vlastimil Babka wrote: > >> On 32bit PAE kernels on 64bit hardware with enough physical bits, > >> l1tf_pfn_limit() will overflow unsigned long. This in turn affects > >>

Re: [PATCH 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2018-08-20 Thread Tomasz Figa
On Mon, Aug 20, 2018 at 11:13 PM Philipp Zabel wrote: > > Hi Tomasz, > > On Mon, 2018-08-20 at 22:12 +0900, Tomasz Figa wrote: > > On Mon, Aug 20, 2018 at 10:04 PM Philipp Zabel > > wrote: > > > > > > On Tue, 2018-07-24 at 23:06 +0900, Tomasz Figa wrote: > > > [...] > > > > +Seek > > > > +

Re: [PATCH 18/18] cpupower: change strncpy+truncation to strlcpy

2018-08-20 Thread Shuah Khan
On 08/14/2018 01:27 PM, Dominique Martinet wrote: > Daniel Díaz wrote on Tue, Aug 14, 2018: >> I can't get cpupower to compile anymore now that it made its way to >> linux-next: >> [/linux/tools/power/cpupower]$ make >> CC lib/cpufreq.o >> [...] >> make[1]: Entering directory

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

2018-08-20 Thread Tony Lindgren
* Kishon Vijay Abraham I [180808 06:35]: > On Tuesday 05 June 2018 07:35 PM, Rob Herring wrote: > > Really need 64-bit addresses and sizes? Use ranges to limit the > > address space if possible. > > We now have address-cells as <1>, >

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-20 Thread Suzuki K Poulose
On 08/20/2018 03:22 PM, Kim Phillips wrote: On Mon, 20 Aug 2018 11:03:03 +0100 Suzuki K Poulose wrote: On 08/16/2018 08:28 PM, Mathieu Poirier wrote: On Wed, 15 Aug 2018 at 09:28, Kim Phillips wrote: On Wed, 15 Aug 2018 10:39:13 +0100 Will Deacon wrote: On Tue, Aug 14, 2018 at

Re: [PATCH] mm: introduce kvvirt_to_page() helper

2018-08-20 Thread Michal Hocko
On Sat 18-08-18 20:49:01, Li RongQing wrote: > The new helper returns address mapping page, which has several users > in individual subsystem, like mem_to_page in xfs_buf.c and pgv_to_page > in af_packet.c, unify them kvvirt_to_page is a weird name. I guess you wanted it to fit into kv*alloc,

Re: [PATCH] sched: idle: Avoid retaining the tick when it has been stopped

2018-08-20 Thread Frederic Weisbecker
On Sat, Aug 18, 2018 at 11:57:00PM +0200, Rafael J. Wysocki wrote: > On Fri, Aug 17, 2018 at 4:12 PM Frederic Weisbecker > wrote: > > > > On Fri, Aug 17, 2018 at 11:32:07AM +0200, Rafael J. Wysocki wrote: > > > On Thursday, August 16, 2018 3:27:24 PM CEST Frederic Weisbecker wrote: > > > > On

Re: [BUG]smt sysfs dir missing on 4.4.148 and 4.14.63

2018-08-20 Thread Thomas Gleixner
On Mon, 20 Aug 2018, Jinpu Wang wrote: > On Mon, Aug 20, 2018 at 3:02 PM Thomas Gleixner wrote: > > That works, but we might as well force 'select HOTPLUG_CPU if SMP' so the > > L1TF mitigations are functional. Sigh > > > > Thanks, > > > > tglx > right, sth like? > diff --git

Re: [PATCH] mm: introduce kvvirt_to_page() helper

2018-08-20 Thread Matthew Wilcox
On Mon, Aug 20, 2018 at 04:41:16PM +0200, Michal Hocko wrote: > On Sat 18-08-18 20:49:01, Li RongQing wrote: > > The new helper returns address mapping page, which has several users > > in individual subsystem, like mem_to_page in xfs_buf.c and pgv_to_page > > in af_packet.c, unify them > >

<    1   2   3   4   5   6   7   8   9   >