Re: [PATCH 0/2] ata: libahci: devslp fixes

2018-07-30 Thread Hans de Goede
Hi, On 30-07-18 17:22, Tejun Heo wrote: On Mon, Jul 30, 2018 at 08:15:47AM -0700, Srinivas Pandruvada wrote: Hi Tejan, On Mon, 2018-07-02 at 12:01 -0700, Srinivas Pandruvada wrote: Some minor fixes to be able to correctly set devslp register to optimize power. Srinivas Pandruvada (2): ata

Re: [PATCH] memcg: Remove memcg_cgroup::id from IDR on mem_cgroup_css_alloc() failure

2018-07-30 Thread Johannes Weiner
On Sun, Jul 29, 2018 at 10:26:21PM +0300, Vladimir Davydov wrote: > On Fri, Jul 27, 2018 at 03:31:34PM -0400, Johannes Weiner wrote: > > That said, the lifetime of the root reference on the ID is the online > > state, we put that in css_offline. Is there a reason we need to have > > the ID ready an

[PATCH 0/1] arm64: for-next/core: Fix hang in machine_kexec

2018-07-30 Thread Dave Kleikamp
This fixes a regression in the for-next/core branch Dave Kleikamp (1): arm64: kexec: machine_kexec should call __flush_icache_range arch/arm64/kernel/machine_kexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 1/1] arm64: kexec: machine_kexec should call __flush_icache_range

2018-07-30 Thread Dave Kleikamp
machine_kexec flushes the reboot_code_buffer from the icache after stopping the other cpus. Commit 3b8c9f1cdfc5 ("arm64: IPI each CPU after invalidating the I-cache for kernel mappings") added an IPI call to flush_icache_range, which causes a hang here, so replace the call with __flush_icache_rang

Re: [PATCH 10/15] spi: img-spfi: Implement dual and quad mode

2018-07-30 Thread Mark Brown
On Sun, Jul 22, 2018 at 11:20:05PM +0200, Andreas Färber wrote: > #define SPFI_CONTROL_GET_DMA BIT(9) > -#define SPFI_CONTROL_SE BIT(8) > +#define SPFI_CONTROL_SE BIT(8) > +#define SPFI_CONTROL_TX_RX BIT(1) Rando

Re: [PATCH 2/2] pinctrl: stm32: check node status before new gpio bank registering

2018-07-30 Thread Alexandre Torgue
Hi Linus On 07/29/2018 10:11 PM, Linus Walleij wrote: On Mon, Jul 16, 2018 at 2:57 PM Alexandre Torgue wrote: Register a new GPIO bank only if GPIO bank node is enabled. This patch also adds checks on ranges which are defined only if a bank is registered. Signed-off-by: Alexandre Torgue P

Re: [alsa-devel] [PATCH] ASoC: soc-pcm: Use delay set in pointer function

2018-07-30 Thread Takashi Iwai
On Mon, 30 Jul 2018 17:15:44 +0200, Pierre-Louis Bossart wrote: > > On 7/27/18 11:28 PM, Agrawal, Akshu wrote: > > > > > > On 7/27/2018 8:39 PM, Pierre-Louis Bossart wrote: > >> On 7/27/18 5:13 AM, Akshu Agrawal wrote: > >>> There are cases where a pointer function populates > >>> runtime->delay,

Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10]

2018-07-30 Thread David Howells
Pavel Machek wrote: > Well, I guess errors should have numbers, and catalog explaining what > error means what. That way userspace can translate, and it is what we > do with errno. > > I believe numbers are best. If you hate numbers, you can still use > strings, as long as you can enumerate them

Re: [PATCH 13/15] spi: img-spfi: RX maximum burst size for DMA is 8

2018-07-30 Thread Mark Brown
On Sun, Jul 22, 2018 at 11:20:08PM +0200, Andreas Färber wrote: > From: Ionela Voinescu > > The depth of the FIFOs is 16 bytes. The DMA request line is tied > to the half full/empty (depending on the use of the TX or RX FIFO) > threshold. For the TX FIFO, if you set a burst size of 8 (equal to >

Re: [PATCH 14/15] spi: img-spfi: Finish every transfer cleanly

2018-07-30 Thread Mark Brown
On Sun, Jul 22, 2018 at 11:20:09PM +0200, Andreas Färber wrote: > From: Ionela Voinescu > > Before this change, the interrupt status bit that signaled > the end of a transfer was cleared in the wait_all_done > function. That functionality triggered issues for DMA > duplex transactions where the w

Re: [PATCH 0/10] psi: pressure stall information for CPU, memory, and IO v2

2018-07-30 Thread Johannes Weiner
On Sat, Jul 28, 2018 at 12:01:23AM +0200, Pavel Machek wrote: > > How do you use this feature? > > > > A kernel with CONFIG_PSI=y will create a /proc/pressure directory with > > 3 files: cpu, memory, and io. If using cgroup2, cgroups will also > > Could we get the config named CONFIG_

Re: [PATCH 0/9] Add Reset Controller support for Actions Semi Owl SoCs

2018-07-30 Thread Philipp Zabel
On Mon, 2018-07-30 at 20:41 +0530, Manivannan Sadhasivam wrote: > Hi Andreas, > > On Mon, Jul 30, 2018 at 12:26:07PM +0200, Andreas Färber wrote: > > Hi Mani, > > > > Am 27.07.2018 um 20:45 schrieb Manivannan Sadhasivam: > > > This patchset adds Reset Controller (RMU) support for Actions Semi > >

Re: [PATCH v3 1/7] mm, slab: combine kmalloc_caches and kmalloc_dma_caches

2018-07-30 Thread Christopher Lameter
On Wed, 18 Jul 2018, Vlastimil Babka wrote: > --- a/include/linux/slab.h > +++ b/include/linux/slab.h > @@ -295,12 +295,28 @@ static inline void __check_heap_object(const void *ptr, > unsigned long n, > #define SLAB_OBJ_MIN_SIZE (KMALLOC_MIN_SIZE < 16 ? \ > (

Re: checkpatch: SPDX integration breaks --root

2018-07-30 Thread Joe Perches
On Mon, 2018-07-30 at 10:53 +0200, Charlemagne Lasse wrote: > Hi, > > I am now getting python errors when using --root with checkpatch.pl > and not being inside the linux repository. > > $ ./linux-next/scripts/checkpatch.pl --root=/usr/src/linux-next > --strict -f linux-next/Makefile > FAIL: /usr

Re: [PATCH v3 2/7] mm, slab/slub: introduce kmalloc-reclaimable caches

2018-07-30 Thread Christopher Lameter
On Wed, 18 Jul 2018, Vlastimil Babka wrote: > index 4299c59353a1..d89e934e0d8b 100644 > --- a/include/linux/slab.h > +++ b/include/linux/slab.h > @@ -296,11 +296,12 @@ static inline void __check_heap_object(const void *ptr, > unsigned long n, > (KMALLOC_MIN_SIZE) :

Re: [PATCH 4/4] cpufreq: intel_pstate: enable boost for Skylake Xeon

2018-07-30 Thread Mel Gorman
On Sat, Jul 28, 2018 at 01:21:51PM -0700, Francisco Jerez wrote: > >> Please revert this series, it led to significant energy usage and > >> graphics performance regressions [1]. The reasons are roughly the ones > >> we discussed by e-mail off-list last April: This causes the intel_pstate > >> dri

Re: [PATCH v2 00/10] Tegra SDHCI update the pad autocal procedure

2018-07-30 Thread Aapo Vienamo
On Mon, 30 Jul 2018 17:07:59 +0200 Ulf Hansson wrote: > On 26 July 2018 at 14:26, Aapo Vienamo wrote: > > Hi all, > > > > Update the tegra_sdhci_pad_autocalib() pad drive strength calibration > > procedure to match the ones specified in the TRMs of the more recent > > SoCs. This was tested on Te

Re: [PATCH] mm,page_alloc: PF_WQ_WORKER threads must sleep at should_reclaim_retry().

2018-07-30 Thread Tejun Heo
Hello, On Tue, Jul 31, 2018 at 12:25:04AM +0900, Tetsuo Handa wrote: > WQ_MEM_RECLAIM guarantees that "struct task_struct" is preallocated. But > WQ_MEM_RECLAIM does not guarantee that the pending work is started as soon > as an item was queued. Same rule applies to both WQ_MEM_RECLAIM workqueues

Re: [PATCH v3 3/7] mm, slab: allocate off-slab freelists as reclaimable when appropriate

2018-07-30 Thread Christopher Lameter
On Wed, 18 Jul 2018, Vlastimil Babka wrote: > In SLAB, OFF_SLAB caches allocate management structures (currently just the > freelist) from kmalloc caches when placement in a slab page together with > objects would lead to suboptimal memory usage. For SLAB_RECLAIM_ACCOUNT > caches, > we can alloca

Re: [PATCH v1] mm: inititalize struct pages when adding a section

2018-07-30 Thread Pavel Tatashin
> > So i guess we agree that the right fix for this is to not touch struct > pages when removing memory, correct? Yes in my opinion that would be the correct fix. Thank you, Pavel > > -- > > Thanks, > > David / dhildenb >

Re: [PATCH v3 5/7] mm: rename and change semantics of nr_indirectly_reclaimable_bytes

2018-07-30 Thread Christopher Lameter
Acked-by: Christoph Lameter

Re: [PATCH v3 7/7] mm, slab: shorten kmalloc cache names for large sizes

2018-07-30 Thread Christopher Lameter
On Wed, 18 Jul 2018, Vlastimil Babka wrote: > +static const char * > +kmalloc_cache_name(const char *prefix, unsigned int size) > +{ > + > + static const char units[3] = "\0kM"; > + int idx = 0; > + > + while (size >= 1024 && (size % 1024 == 0)) { > + size /= 1024; > +

Re: [alsa-devel] [PATCH] ASoC: soc-pcm: Use delay set in pointer function

2018-07-30 Thread Mark Brown
On Mon, Jul 30, 2018 at 05:32:21PM +0200, Takashi Iwai wrote: > That said, if delay callback of CPU dai provides the additional delay, > the patch does correct thing. OTOH, if CPU dai provides the base > delay instead, we need to clarify that it's rather a must; the delay > calculation in pointer

Re: [PATCH 7/9] irqchip: add a RISC-V PLIC driver

2018-07-30 Thread Anup Patel
On Sat 28 Jul, 2018, 5:34 AM Atish Patra, wrote: > > On 7/26/18 7:38 AM, Christoph Hellwig wrote: > > This patch adds a driver for the Platform Level Interrupt Controller (PLIC) > > specified as part of the RISC-V supervisor level ISA manual, in the memory > > layout implemented by SiFive and qemu

Re: checkpatch: SPDX integration breaks --root

2018-07-30 Thread Charlemagne Lasse
> Does this work for you: > --- > scripts/checkpatch.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > index f25f708cd2a7..f0e6913c5cc1 100755 > --- a/scripts/checkpatch.pl > +++ b/scripts/checkpatch.pl > @@ -852,7 +852,7 @@

Re: [RFC PATCH v4 12/12] OPTIONAL: cpufreq: dt: Register an Energy Model

2018-07-30 Thread Vincent Guittot
Hi Quentin, I have noticed the new version but prefer to continue on this thread to keep the history of the discussion. On Fri, 6 Jul 2018 at 12:19, Quentin Perret wrote: > > On Friday 06 Jul 2018 at 12:10:02 (+0200), Vincent Guittot wrote: > > On Thu, 28 Jun 2018 at 13:41, Quentin Perret wrote

Re: [PATCH 4/4] cpufreq: intel_pstate: enable boost for Skylake Xeon

2018-07-30 Thread Srinivas Pandruvada
On Mon, 2018-07-30 at 16:43 +0100, Mel Gorman wrote: > On Sat, Jul 28, 2018 at 01:21:51PM -0700, Francisco Jerez wrote: > > > > Please revert this series, it led to significant energy usage > > > > and > > > > graphics performance regressions [1]. The reasons are roughly > > > > the ones > > > > w

Re: [Question] load balance move tasks not suitable ?

2018-07-30 Thread Peter Zijlstra
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? On Mon, Jul 30, 2018 at 09:42:27PM +0800, weiqi (C) wrote: > in latest linux kernel version, load-balance's detach_tasks(

Applied "spi: omap2-mcspi: remove several redundant variables" to the spi tree

2018-07-30 Thread Mark Brown
The patch spi: omap2-mcspi: remove several redundant variables has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sen

Applied "regulator: bd71837: adobt MFD changes to regulator driver" to the regulator tree

2018-07-30 Thread Mark Brown
The patch regulator: bd71837: adobt MFD changes to regulator driver 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 v3 1/2] clk: Add of_clk_get_by_name_optional() function

2018-07-30 Thread Andy Shevchenko
On Mon, 2018-07-30 at 14:31 +0100, Phil Edworthy wrote: > Quite a few drivers get an optional clock, e.g. a clock required > to access peripheral's registers that is always enabled on some > devices. > > This function behaves the same as of_clk_get_by_name() except that > it will return NULL inste

Re: [PATCH] sched/fair: remove #ifdefs from scale_rt_capacity

2018-07-30 Thread Vincent Guittot
Hi Peter, On Fri, 20 Jul 2018 at 14:31, Peter Zijlstra wrote: > > On Thu, Jul 19, 2018 at 02:00:06PM +0200, Vincent Guittot wrote: > > But the compiler is not able to optimize the sequence (at least with > > aarch64 GCC 7.2.1) > > free *= (max - irq); > > free /= max; > > when irq is

Re: Build regressions/improvements in v4.18-rc7

2018-07-30 Thread Miguel Ojeda
Hi Geert, Martin, all, On Mon, Jul 30, 2018 at 8:46 AM, Geert Uytterhoeven wrote: > Below is the list of build error/warning regressions/improvements in > v4.18-rc7[1] compared to v4.17[2]. There are quite some -Wstringop-* warnings, so here is some information that may be useful and/or save tim

[PATCH] selftests: membarrier: fix test by checking supported commands

2018-07-30 Thread Rafael David Tinoco
Makes membarrier_test compatible with older kernels (LTS) by checking if the membarrier features exist before running the tests. Link: https://bugs.linaro.org/show_bug.cgi?id=3771 Signed-off-by: Rafael David Tinoco Cc: #v4.17 --- .../selftests/membarrier/membarrier_test.c| 69 +++---

Re: [PATCH v2 1/4] ALSA: usb-audio: Initial Power Domain support

2018-07-30 Thread Jorge
On 30/07/18 14:03, Takashi Iwai wrote: > On Mon, 30 Jul 2018 11:23:33 +0200, > Jorge Sanjuan wrote: >> >> diff --git a/include/linux/usb/audio-v3.h b/include/linux/usb/audio-v3.h >> index 334bfa6dfb47..786e5939d831 100644 >> --- a/include/linux/usb/audio-v3.h >> +++ b/include/linux/usb/audio-v3.

Re: [PATCH v5 0/3] tracing: kprobes: Prohibit probing on notrace functions

2018-07-30 Thread Francis Deslauriers
Hi Masami, I just tested the patch-set and it still prevents the crash I was witnessing. You can add my tested-by. Tested-by: Francis Deslauriers Thank you for pushing this forward! Francis Le lun. 30 juill. 2018, à 06 h 20, Masami Hiramatsu a écrit : > > Hi, > > This is the 5th version of the s

Re: [PATCH v2] pci/aspm: Remove CONFIG_PCIEASPM_DEBUG

2018-07-30 Thread Sinan Kaya
On 7/30/2018 7:14 AM, Bjorn Helgaas wrote: However, the end of sec 5.4.1 does make it clear that the functions need not have the same ASPM configuration, and it gives rules for how those different settings should affect the shared link. Since it mentions different ASPM Control fields for the dif

Re: [PATCH v2 4/4] ALSA: usb-audio: Operate UAC3 Power Domains in PCM callbacks

2018-07-30 Thread Jorge
On 30/07/18 14:13, Takashi Iwai wrote: > On Mon, 30 Jul 2018 11:23:36 +0200, > Jorge Sanjuan wrote: >> >> Make use of UAC3 Power Domains associated to an Audio Streaming >> path within the PCM's logic. This means, when there is no audio >> being transferred (pcm is closed), the host will set the

Re: [PATCH 0/9] Add Reset Controller support for Actions Semi Owl SoCs

2018-07-30 Thread Manivannan Sadhasivam
Hi Philipp, On Mon, Jul 30, 2018 at 05:38:31PM +0200, Philipp Zabel wrote: > On Mon, 2018-07-30 at 20:41 +0530, Manivannan Sadhasivam wrote: > > Hi Andreas, > > > > On Mon, Jul 30, 2018 at 12:26:07PM +0200, Andreas Färber wrote: > > > Hi Mani, > > > > > > Am 27.07.2018 um 20:45 schrieb Manivanna

Re: [PATCH v6 3/4] Bluetooth: mediatek: Add protocol support for MediaTek serial devices

2018-07-30 Thread Sean Wang
Hi, Marcel All suggestions seem reasonable for me in order to make code style aligned with the other drivers and code better to read, and it looks like no any big problem, so I'll start to work on the next version immediately. And I also add a few explanations inline about questions about the d

Re: [tip:locking/urgent] i2c/mux, locking/core: Annotate the nested rt_mutex usage

2018-07-30 Thread Peter Rosin
On 2018-07-25 16:19, tip-bot for Peter Rosin wrote: > Commit-ID: 7b94ea50514d1a0dc94f02723b603c27bc0ea597 > Gitweb: > https://git.kernel.org/tip/7b94ea50514d1a0dc94f02723b603c27bc0ea597 > Author: Peter Rosin > AuthorDate: Fri, 20 Jul 2018 10:39:14 +0200 > Committer: Ingo Molnar > Commi

Re: [PATCH v2 1/4] ALSA: usb-audio: Initial Power Domain support

2018-07-30 Thread Takashi Iwai
On Mon, 30 Jul 2018 18:05:47 +0200, Jorge wrote: > > > > On 30/07/18 14:03, Takashi Iwai wrote: > > On Mon, 30 Jul 2018 11:23:33 +0200, > > Jorge Sanjuan wrote: > >> > >> diff --git a/include/linux/usb/audio-v3.h b/include/linux/usb/audio-v3.h > >> index 334bfa6dfb47..786e5939d831 100644 > >> --

Re: [PATCH v2 4/4] ALSA: usb-audio: Operate UAC3 Power Domains in PCM callbacks

2018-07-30 Thread Takashi Iwai
On Mon, 30 Jul 2018 18:09:38 +0200, Jorge wrote: > > > > On 30/07/18 14:13, Takashi Iwai wrote: > > On Mon, 30 Jul 2018 11:23:36 +0200, > > Jorge Sanjuan wrote: > >> > >> Make use of UAC3 Power Domains associated to an Audio Streaming > >> path within the PCM's logic. This means, when there is n

Re: [PATCH] selftests: membarrier: fix test by checking supported commands

2018-07-30 Thread Mathieu Desnoyers
- On Jul 30, 2018, at 12:05 PM, Rafael David Tinoco rafael.tin...@linaro.org wrote: > Makes membarrier_test compatible with older kernels (LTS) by checking if > the membarrier features exist before running the tests. > > Link: https://bugs.linaro.org/show_bug.cgi?id=3771 > Signed-off-by: Raf

Re: [PATCH 1/1] arm64: kexec: machine_kexec should call __flush_icache_range

2018-07-30 Thread Catalin Marinas
On Mon, Jul 30, 2018 at 10:29:21AM -0500, Dave Kleikamp wrote: > machine_kexec flushes the reboot_code_buffer from the icache > after stopping the other cpus. > > Commit 3b8c9f1cdfc5 ("arm64: IPI each CPU after invalidating the I-cache > for kernel mappings") added an IPI call to flush_icache_rang

Re: [PATCH] x86/MCE: Fix CPU microcode version output

2018-07-30 Thread Borislav Petkov
On Mon, Jul 30, 2018 at 11:23:18AM -0400, Prarit Bhargava wrote: > Filippo & Borislav, did the patch get committed to a -next tree? No, I'm still waiting for it - looks like Filippo is busy. Care to send one instead as suggested here? https://lore.kernel.org/lkml/20180601121939.ga23...@nazgul.tn

Re: [PATCH v2] perf/x86/intel: Add support for MISPREDICT bit on Knights Landing cpus

2018-07-30 Thread Peter Zijlstra
On Mon, Jul 30, 2018 at 10:28:13PM +0800, Jacek Tomaka wrote: > From: Jacek Tomaka > > Problem: perf did not show branch predicted/mispredicted bit in brstack. > > Output of perf -F brstack for profile collected > > Before: > 0x4fdbcd/0x4fdc03/-/-/-/0 > 0x45f4c1/0x4fdba0/-/-/-/0 > 0x45f544/0x4

Re: [PATCH v2] pci/aspm: Remove CONFIG_PCIEASPM_DEBUG

2018-07-30 Thread Rajat Jain
On Fri, Jul 27, 2018 at 1:26 PM, Bjorn Helgaas wrote: > [+cc Rafael, Richard, Carlos, Pali, Takashi, Andy, Colin for question > about how to expose ASPM power management in sysfs] > > On Thu, May 10, 2018 at 04:39:12PM -0700, Rajat Jain wrote: >> ... >> And some suggestions from Bjorn here: >> htt

Re: [RFC PATCH v4 12/12] OPTIONAL: cpufreq: dt: Register an Energy Model

2018-07-30 Thread Quentin Perret
Hi Vincent, On Monday 30 Jul 2018 at 17:53:23 (+0200), Vincent Guittot wrote: [...] > ok, so you copy/paste what is done in cpu cooling device ? > > Nevertheless I still have some concerns with the formula used here and > in cpu cooling device: > > https://elixir.bootlin.com/linux/latest/source/

Re: [PATCH 1/1] arm64: kexec: machine_kexec should call __flush_icache_range

2018-07-30 Thread Will Deacon
On Mon, Jul 30, 2018 at 05:16:42PM +0100, Catalin Marinas wrote: > On Mon, Jul 30, 2018 at 10:29:21AM -0500, Dave Kleikamp wrote: > > machine_kexec flushes the reboot_code_buffer from the icache > > after stopping the other cpus. > > > > Commit 3b8c9f1cdfc5 ("arm64: IPI each CPU after invalidating

[PATCH] MAINTAINERS: Add .clang-format entry

2018-07-30 Thread Miguel Ojeda
As discussed in https://lkml.org/lkml/2018/6/25/877 Signed-off-by: Miguel Ojeda --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0fe4228f78cb..2352788d6852 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3514,6 +3514,11 @@ M: Dave Good

Re: candidates for @devel-rt localversion-rt++

2018-07-30 Thread Mike Galbraith
On Sun, 2018-07-29 at 13:47 +0200, Mike Galbraith wrote: > FYI, per kvm unit tests, 4.16-rt definitely has more kvm issues. > > huawei5:/abuild/mike/kvm-unit-tests # uname -r > 4.16.18-rt11-rt > huawei5:/abuild/mike/kvm-unit-tests # ./run_tests.sh > PASS selftest-setup (2 tests) > FAIL selftest-ve

Re: [PATCH] clk: scmi: Fix the rounding of clock rate

2018-07-30 Thread Stephen Boyd
Quoting Sudeep Holla (2018-07-30 04:40:56) > On Mon, Jul 30, 2018 at 11:03:51AM +0530, Amit Daniel Kachhap wrote: > > Hi, > > > > On Fri, Jul 27, 2018 at 10:07 PM, Stephen Boyd wrote: > > > Quoting Amit Daniel Kachhap (2018-07-27 07:01:52) > > >> This fix rounds the clock rate properly by using q

[PATCH v2 1/4] ARC: DTS: mark DMA devices connected through IOC port as dma-coherent

2018-07-30 Thread Eugeniy Paltsev
Mark DMA devices on AXS103 and HSDK boards connected through IOC port as dma-coherent. Signed-off-by: Eugeniy Paltsev --- Changes v1->v2: * None. arch/arc/boot/dts/axc003.dtsi | 26 ++ arch/arc/boot/dts/axc003_idu.dtsi | 26 ++ arch/arc/boot/

Re: [PATCH v2 11/11] mm,sched: conditionally skip lazy TLB mm refcounting

2018-07-30 Thread Peter Zijlstra
On Mon, Jul 30, 2018 at 10:30:11AM -0400, Rik van Riel wrote: > > What happened to the rework I did there? That not only avoided > > fiddling > > with active_mm, but also avoids grab/drop cycles for the other > > architectures when doing task->kthread->kthread->task things. > > I don't think I sa

Re: [PATCH v2] RFC: clear 1G pages with streaming stores on x86

2018-07-30 Thread Borislav Petkov
On Tue, Jul 24, 2018 at 07:37:28PM -0700, Cannon Matthews wrote: > diff --git a/arch/x86/lib/clear_page_64.S b/arch/x86/lib/clear_page_64.S > index 88acd349911b..81a39804ac72 100644 > --- a/arch/x86/lib/clear_page_64.S > +++ b/arch/x86/lib/clear_page_64.S > @@ -49,3 +49,23 @@ ENTRY(clear_page_erms)

Re: [PATCH v2] perf/x86/intel: Add support for MISPREDICT bit on Knights Landing cpus

2018-07-30 Thread Jacek Tomaka
I do not understand the difference between linear address vs effective address but LBR_FORMAT_EIP_FLAGS implies effective address, no? On Tue, Jul 31, 2018 at 12:17 AM, Peter Zijlstra wrote: > On Mon, Jul 30, 2018 at 10:28:13PM +0800, Jacek Tomaka wrote: > > From: Jacek Tomaka > > > > Problem:

Re: checkpatch: SPDX integration breaks --root

2018-07-30 Thread Joe Perches
On Mon, 2018-07-30 at 17:52 +0200, Charlemagne Lasse wrote: > > Does this work for you: > > --- > > scripts/checkpatch.pl | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > > index f25f708cd2a7..f0e6913c5cc1 100755 > > --

Re: [PATCH 1/4] file: export __alloc_fd()

2018-07-30 Thread Christoph Hellwig
On Mon, Jul 30, 2018 at 04:37:07PM +0200, Christian Brauner wrote: > The Android binder driver will be turned into a module. Since it uses > __alloc_fd() we need to export this function. Err, hell no. It should be using an anon fd probably.

Re: [GIT PULL] tpmdd 4.19 updates

2018-07-30 Thread James Morris
On Sat, 28 Jul 2018, Jarkko Sakkinen wrote: > Hi James, > > Sorry, I pressed send before writing anything. Here is the summary: > > * Migrated away from PM runtime as explicit cmdReady/goIdle trasactions > for every command is a spec requirement. PM runtime adds only a layer of > complexity

Re: [PATCH 2/4] file: export __fd_install()

2018-07-30 Thread Christoph Hellwig
On Mon, Jul 30, 2018 at 04:37:08PM +0200, Christian Brauner wrote: > The Android binder driver will be turned into a module. Since it > uses __fd_install() we need to export this function. Same as the previous one. No driver should be pooking this deep into fd internals (not even non-modular ones

Re: [PATCH 3/4] file: export get_files_struct()

2018-07-30 Thread Christoph Hellwig
On Mon, Jul 30, 2018 at 04:37:09PM +0200, Christian Brauner wrote: > The Android binder driver will be turned into a module. Since it uses > get_files_struct() we need to export this function. Hell no. Please explain why so that we can find a better way.

Re: [PATCH 4/4] file: export put_files_struct()

2018-07-30 Thread Christoph Hellwig
On Mon, Jul 30, 2018 at 04:37:10PM +0200, Christian Brauner wrote: > The Android binder driver will be turned into a module. Since it uses > put_files_struct() we need to export this function. Same as above.

Re: [PATCH v2] perf/x86/intel: Add support for MISPREDICT bit on Knights Landing cpus

2018-07-30 Thread Jacek Tomaka
Ah, right: /* * Due to lack of segmentation in Linux the effective address (offset) * is the same as the linear address, allowing us to merge the LIP and EIP * LBR formats. */ Yeah, LBR_FORMAT_EIP_FLAGS is ok as well. Would it be preffered? On Tue, Jul 31, 2018 at 12:29 AM, Jacek Tomaka wrot

Re: [RFC PATCH 0/4] file: export functions for binder module

2018-07-30 Thread Christoph Hellwig
On Mon, Jul 30, 2018 at 04:37:06PM +0200, Christian Brauner wrote: > Hey, > > We currently plan on turning the Android binder and ashmem driver into a > module. We have seen more and more requests by users to be able to use > the binder and ashmem features without wanting to convince each distro >

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

2018-07-30 Thread Will Deacon
Hi Laura, On Mon, Jul 30, 2018 at 07:47:52AM -0700, Laura Abbott wrote: > On 07/30/2018 12:33 AM, Stephen Rothwell wrote: > >On Fri, 27 Jul 2018 13:55:22 +0100 Will Deacon wrote: > >>On Fri, Jul 27, 2018 at 08:55:11PM +1000, Stephen Rothwell wrote: > >>>Actually, it may have been caused by commit

RE: [PATCH v3 1/2] clk: Add of_clk_get_by_name_optional() function

2018-07-30 Thread Phil Edworthy
Hi Andy, On 30 July 2018 17:04, Andy Shevchenko wrote: > On Mon, 2018-07-30 at 14:31 +0100, Phil Edworthy wrote: > > Quite a few drivers get an optional clock, e.g. a clock required to > > access peripheral's registers that is always enabled on some devices. > > > > This function behaves the same

Re: [PATCH 1/1] arm64: kexec: machine_kexec should call __flush_icache_range

2018-07-30 Thread Catalin Marinas
On Mon, Jul 30, 2018 at 05:22:35PM +0100, Will Deacon wrote: > On Mon, Jul 30, 2018 at 05:16:42PM +0100, Catalin Marinas wrote: > > On Mon, Jul 30, 2018 at 10:29:21AM -0500, Dave Kleikamp wrote: > > > machine_kexec flushes the reboot_code_buffer from the icache > > > after stopping the other cpus.

Re: [PATCH RFC tip/core/rcu] Avoid resched_cpu() when rescheduling the current CPU

2018-07-30 Thread Peter Zijlstra
On Mon, Jul 30, 2018 at 07:59:33AM -0700, Paul E. McKenney wrote: > > Something that might be more in line with > > resched_curr(smp_processor_id()) would be: > > > > preempt_disable(); > > if (!test_tsk_need_resched(current)) { > > set_tsk_need_resched(current); > >

Re: [PATCH v2 01/17] x86/cpu: create Dhyana init file and register new cpu_dev to system

2018-07-30 Thread Pu Wen
On 2018-07-29 07:42, Paolo Bonzini wrote: If the maintainers are okay with X86_FEATURE_HYGON that's certainly fine, however I think you can improve the consistency of the patches in a few ways. Thanks for your suggestion. To improve code consistency , will rework the patches. Lack of SME/SEV

Re: [PATCH 06/11] sched/irq: add irq utilization tracking

2018-07-30 Thread Vincent Guittot
Hi Wanpeng, On Thu, 26 Jul 2018 at 05:09, Wanpeng Li wrote: > > Hi Vincent, > On Fri, 29 Jun 2018 at 03:07, Vincent Guittot > wrote: > > > > interrupt and steal time are the only remaining activities tracked by > > rt_avg. Like for sched classes, we can use PELT to track their average > > utiliz

Re: [PATCH v2 16/17] driver/edac: enable Hygon support to AMD64 EDAC driver

2018-07-30 Thread Pu Wen
On 2018-07-29 07:42, Paolo Bonzini wrote: On 23/07/2018 15:20, Pu Wen wrote: scrubval = scrubrates[i].scrubval; - if (pvt->fam == 0x17) { + if (pvt->fam == 0x17 || pvt->fam == 0x18) { __f17h_set_scrubval(pvt, scrubval); } else if (pvt->fam == 0x15 && pvt->model == 0x60) { f15h_s

Re: [PATCH 1/1] arm64: kexec: machine_kexec should call __flush_icache_range

2018-07-30 Thread Dave Kleikamp
On 07/30/2018 11:22 AM, Will Deacon wrote: > On Mon, Jul 30, 2018 at 05:16:42PM +0100, Catalin Marinas wrote: >> On Mon, Jul 30, 2018 at 10:29:21AM -0500, Dave Kleikamp wrote: >>> machine_kexec flushes the reboot_code_buffer from the icache >>> after stopping the other cpus. >>> >>> Commit 3b8c9f1c

Re: linux-next: Signed-off-by missing for commit in the arc-current tree

2018-07-30 Thread Vineet Gupta
On 07/28/2018 07:14 PM, Stephen Rothwell wrote: > Hi Vineet, > > Commit > > fa52704e2816 ("ARC: add SMP_CACHE_BYTES value validate") > > is missing a Signed-off-by from its committer. Thx for the report Stephen. This is now fixed/pushed. -Vineet

Re: [PATCH v2 4/4] ALSA: usb-audio: Operate UAC3 Power Domains in PCM callbacks

2018-07-30 Thread Jorge
On 30/07/18 17:12, Takashi Iwai wrote: > On Mon, 30 Jul 2018 18:09:38 +0200, > Jorge wrote: >> >> >> >> On 30/07/18 14:13, Takashi Iwai wrote: >>> On Mon, 30 Jul 2018 11:23:36 +0200, >>> Jorge Sanjuan wrote: Make use of UAC3 Power Domains associated to an Audio Streaming path with

Re: [RFC PATCH net-next v2 09/17] ethtool: implement GET_DRVINFO message

2018-07-30 Thread Michal Kubecek
On Mon, Jul 30, 2018 at 05:48:03PM +0200, Andrew Lunn wrote: > > For the statistics, it is a bit of a corner case. One of the Ethernet > switches in DSA can have two different PHYs linked to one MAC. One PHY > is built in, the second is connected via a SERDES interface. Which > every gets link fir

Re: [PATCH v2] perf/x86/intel: Add support for MISPREDICT bit on Knights Landing cpus

2018-07-30 Thread Peter Zijlstra
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?On Tue, Jul 31, 2018 at 12:34:02AM +0800, Jacek Tomaka wrote: > Ah, right: > /* > * Due to lack of segmentation in Linux th

Re: [PATCH RESEND 1/1] x86: tsc: avoid system instability in hibernation

2018-07-30 Thread Eduardo Valentin
Hey Peter, On Mon, Jul 30, 2018 at 10:53:54AM +0200, Peter Zijlstra wrote: > On Thu, Jul 26, 2018 at 08:56:56AM -0700, Eduardo Valentin wrote: > > System instability are seen during resume from hibernation when system > > is under heavy CPU load. This is due to the lack of update of sched > > cloc

Re: [PATCH RESEND 1/1] x86: tsc: avoid system instability in hibernation

2018-07-30 Thread Eduardo Valentin
On Mon, Jul 30, 2018 at 09:15:48AM +0200, Rafael J. Wysocki wrote: > On Thu, Jul 26, 2018 at 5:56 PM, Eduardo Valentin wrote: > > System instability are seen during resume from hibernation when system > > is under heavy CPU load. This is due to the lack of update of sched > > clock data, > > Isn'

Re: [PATCH 1/1] arm64: kexec: machine_kexec should call __flush_icache_range

2018-07-30 Thread Will Deacon
On Mon, Jul 30, 2018 at 11:46:24AM -0500, Dave Kleikamp wrote: > On 07/30/2018 11:22 AM, Will Deacon wrote: > > On Mon, Jul 30, 2018 at 05:16:42PM +0100, Catalin Marinas wrote: > >> On Mon, Jul 30, 2018 at 10:29:21AM -0500, Dave Kleikamp wrote: > >>> machine_kexec flushes the reboot_code_buffer fro

Re: [PATCH] x86/speculation: Support Enhanced IBRS on future CPUs

2018-07-30 Thread Thomas Gleixner
On Mon, 30 Jul 2018, Dave Hansen wrote: > On 07/30/2018 05:25 AM, Thomas Gleixner wrote: > > On Tue, 24 Jul 2018, Sai Praneeth Prakhya wrote: > >> From: Sai Praneeth > >> Some future Intel processors may support "Enhanced IBRS" which is an > >> "always on" mode i.e. IBRS bit in SPEC_CTRL MSR is en

Re: [PATCH 1/1] arm64: kexec: machine_kexec should call __flush_icache_range

2018-07-30 Thread Dave Kleikamp
On 07/30/2018 11:57 AM, Will Deacon wrote: > On Mon, Jul 30, 2018 at 11:46:24AM -0500, Dave Kleikamp wrote: >> On 07/30/2018 11:22 AM, Will Deacon wrote: >>> On Mon, Jul 30, 2018 at 05:16:42PM +0100, Catalin Marinas wrote: On Mon, Jul 30, 2018 at 10:29:21AM -0500, Dave Kleikamp wrote: > ma

[PATCH] thermal: of-thermal: disable passive polling when thermal zone is disabled

2018-07-30 Thread Anson Huang
When thermal zone is in passive mode, disabling its mode from sysfs is NOT taking effect at all, it is still polling the temperature of the disabled thermal zone and handling all thermal trips, it makes user confused. The disabling operation should disable the thermal zone behavior completely, for

Re: linux-next: manual merge of the akpm-current tree with the xen-tip tree

2018-07-30 Thread Boris Ostrovsky
On 07/30/2018 05:02 AM, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the akpm-current tree got a conflict in: > > drivers/xen/gntdev.c > > between commit: > > 1d3145675538 ("xen/gntdev: Make private routines/structures accessible") > > from the xen-tip tree and commit: > >

[PATCH] kernel.h: Disable -Wreturn-stack-address for _THIS_IP_

2018-07-30 Thread Nick Desaulniers
Starting with Clang-7.0, _THIS_IP_ generates -Wreturn-stack-address warnings for almost every translation unit. In general, I'd prefer to leave this on (returning the address of a stack allocated variable is in general a bad idea) and disable it only at whitelisted call sites. We can't do somethin

RE: [PATCH] x86/speculation: Support Enhanced IBRS on future CPUs

2018-07-30 Thread Prakhya, Sai Praneeth
> > >> From: Sai Praneeth Some future > > >> Intel processors may support "Enhanced IBRS" which is an "always > > >> on" mode i.e. IBRS bit in SPEC_CTRL MSR is enabled once and never > > >> disabled. According to specification[1], this should simplify > > >> software enabling and improve performan

Re: [PATCH 2/2] iio: dac: ad5770r: Add AD5770R support

2018-07-30 Thread Andy Shevchenko
On Mon, Jul 30, 2018 at 5:02 PM, Mircea Caprioru wrote: > The AD5770R is a 6-channel, 14-bit resolution, low noise, programmable > current output digital-to-analog converter (DAC) for photonics control > applications. > > It contains five 14-bit resolution current sourcing DAC channels and one > 1

Re: [PATCH v7 0/6] Add Actions Semiconductor Owl S900 I2C support

2018-07-30 Thread Manivannan Sadhasivam
On Thu, Jul 26, 2018 at 09:15:57PM +0530, Manivannan Sadhasivam wrote: > This patchset adds I2C controller support for Actions Semiconductor S900 SoC. > This driver has been structured in a way such that there will be only > one controller driver for the whole Owl family series (S500, S700 and > S9

RE: [PATCH] x86/speculation: Support Enhanced IBRS on future CPUs

2018-07-30 Thread Thomas Gleixner
On Mon, 30 Jul 2018, Prakhya, Sai Praneeth wrote: > > > >> From: Sai Praneeth Some future > > > >> Intel processors may support "Enhanced IBRS" which is an "always > > > >> on" mode i.e. IBRS bit in SPEC_CTRL MSR is enabled once and never > > > >> disabled. According to specification[1], this shou

Re: [PATCH] stop_machine: Disable preemption after queueing stopper threads

2018-07-30 Thread Sodagudi Prasad
On 2018-07-30 05:41, Thomas Gleixner wrote: On Mon, 30 Jul 2018, Peter Zijlstra wrote: On Mon, Jul 30, 2018 at 12:20:57PM +0200, Thomas Gleixner wrote: > On Tue, 24 Jul 2018, Sebastian Andrzej Siewior wrote: > > On 2018-07-23 18:13:48 [-0700], isa...@codeaurora.org wrote: > > > Hi all, > > Hi,

Re: [PATCH 8/8] staging: rtl8188eu: use is_broadcast_ether_addr

2018-07-30 Thread Michael Straube
On 07/29/18 22:05, Joe Perches wrote: On Sun, 2018-07-29 at 20:21 +0200, Michael Straube wrote: On 07/29/18 19:59, Joe Perches wrote: On Sun, 2018-07-29 at 19:42 +0200, Michael Straube wrote: On 07/29/18 19:21, Joe Perches wrote: On Sun, 2018-07-29 at 19:08 +0200, Michael Straube wrote: Use

Re: [PATCH RFC tip/core/rcu] Avoid resched_cpu() when rescheduling the current CPU

2018-07-30 Thread Paul E. McKenney
On Mon, Jul 30, 2018 at 06:42:47PM +0200, Peter Zijlstra wrote: > On Mon, Jul 30, 2018 at 07:59:33AM -0700, Paul E. McKenney wrote: > > > > Something that might be more in line with > > > resched_curr(smp_processor_id()) would be: > > > > > > preempt_disable(); > > > if (!test_tsk_need_resche

Re: [PATCH v1 1/1] gpio: mmio: add inverted direction get_set io support

2018-07-30 Thread Andy Shevchenko
On Mon, Jul 30, 2018 at 12:34 PM, Tomer Maimon wrote: > Add get_set_inv_dir and get_set_multiple_inv_dir I/O functions > to call the data register when the dirction is input and > set register when the direction is output. > the functions will linked to the I/O get functions if the user set > BGPI

Re: [PATCH v7 1/4] i2c: i2c-qcom-geni: Add bus driver for the Qualcomm GENI I2C controller

2018-07-30 Thread Karthik Ramasubramanian
On 7/29/2018 4:32 AM, Wolfram Sang wrote: > On Tue, Jun 12, 2018 at 11:09:05AM -0600, Karthikeyan Ramasubramanian wrote: >> This bus driver supports the GENI based i2c hardware controller in the >> Qualcomm SOCs. The Qualcomm Generic Interface (GENI) is a programmable >> module supporting a wide

Re: [PATCH] stop_machine: Disable preemption after queueing stopper threads

2018-07-30 Thread Thomas Gleixner
On Mon, 30 Jul 2018, Sodagudi Prasad wrote: > How about including below change as well? Currently, there is no way to That would be a completely separate change. > identify thread migrations completed or not. When we observe this issue, the > symptom was work queue lock up. It is better to have

Re: [tip:locking/urgent] i2c/mux, locking/core: Annotate the nested rt_mutex usage

2018-07-30 Thread Ingo Molnar
* Peter Rosin wrote: > On 2018-07-25 16:19, tip-bot for Peter Rosin wrote: > > Commit-ID: 7b94ea50514d1a0dc94f02723b603c27bc0ea597 > > Gitweb: > > https://git.kernel.org/tip/7b94ea50514d1a0dc94f02723b603c27bc0ea597 > > Author: Peter Rosin > > AuthorDate: Fri, 20 Jul 2018 10:39:14 +02

Hey! Here I find a new way for car care! 68157469-1AEC-4502-B61A-2169EB6DB7AF

2018-07-30 Thread arthur_king...@sina.com
Dear manager, We are KingKar ECO. Technology Co. Ltd. from China, I think our new machine may related to your business, here are some information for your reference: Machine own benefits: A:360°comprehensive cleaning. Especially in Car wash, including the car chair , carpet ,car air-con

Re: [Linux-kernel] [PATCH 0/4] ASoC: Tegra30 TDM support

2018-07-30 Thread Ben Dooks
On 2018-07-27 13:59, Jorge Sanjuan wrote: This patchset adds support for TDM audio on Tegra30 hardware. It adds the DAI's `set_tdm_slot` callback and enables a tegra pcm to have up to 8 channels. It also includes support for other audio formats supported by the Tegra30 HW and fixes a broken m

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

2018-07-30 Thread Rob Herring
On Fri, Jul 27, 2018 at 8:14 AM Yixun Lan wrote: > > > HI Rob > > On 07/25/2018 07:29 AM, Rob Herring wrote: > > On Thu, Jul 12, 2018 at 09:12:43PM +, Yixun Lan wrote: > >> Document the MMC sub clock controller driver, the potential consumer > >> of this driver is MMC or NAND. Also add three c

[PATCH v8 0/2] Introduce GENI SE Controller Driver

2018-07-30 Thread Karthikeyan Ramasubramanian
Generic Interface (GENI) firmware based Qualcomm Universal Peripheral (QUP) Wrapper is a next generation programmable module for supporting a wide range of serial interfaces like UART, SPI, I2C, I3C, etc. A single QUP module can provide upto 8 Serial Interfaces using its internal Serial Engines (SE

<    1   2   3   4   5   6   7   8   >