[PATCH] MAINTAINERS: altera-sysmgr: Fix typo in a filepath

2019-08-12 Thread Denis Efremov
Fix typo (s/sysgmr/sysmgr/) in the header filepath. Cc: Thor Thayer Cc: Arnd Bergmann Cc: Lee Jones Fixes: f36e789a1f8d ("mfd: altera-sysmgr: Add SOCFPGA System Manager") Signed-off-by: Denis Efremov --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

linux-next: manual merge of the driver-core tree with the rcu tree

2019-08-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the driver-core tree got a conflict in: drivers/base/power/runtime.c between commit: 4a3a5474b4c1 ("driver/core: Convert to use built-in RCU list checking") from the rcu tree and commit: 515db266a9da ("driver core: Remove device link creation

Re: [PATCH v4 13/14] net: phy: adin: add ethtool get_stats support

2019-08-12 Thread Ardelean, Alexandru
On Mon, 2019-08-12 at 16:33 +0200, Andrew Lunn wrote: > [External] > > > +static int adin_read_mmd_stat_regs(struct phy_device *phydev, > > + struct adin_hw_stat *stat, > > + u32 *val) > > +{ > > + int ret; > > + > > + ret =

Re: [PATCH v6 4/8] KVM: VMX: Pass through CET related MSRs to Guest

2019-08-12 Thread Yang Weijiang
On Mon, Aug 12, 2019 at 04:53:41PM -0700, Sean Christopherson wrote: > On Thu, Jul 25, 2019 at 11:12:42AM +0800, Yang Weijiang wrote: > > CET MSRs pass through Guest directly to enhance performance. > > CET runtime control settings are stored in MSR_IA32_{U,S}_CET, > > Shadow Stack Pointer(SSP)

Re: How to add multiple example with conflicting includes

2019-08-12 Thread Maxime Ripard
Hi Rob, On Fri, Jul 26, 2019 at 08:11:08PM +0200, Corentin Labbe wrote: > When I try to check the following examples of a devicetree schema: > examples: > - | > #include > #include > #include > > crypto: crypto@1c15000 { > compatible = "allwinner,sun8i-h3-crypto"; >

Re: [PATCH v4 10/14] net: phy: adin: implement PHY subsystem software reset

2019-08-12 Thread Ardelean, Alexandru
On Mon, 2019-08-12 at 16:19 +0200, Andrew Lunn wrote: > [External] > > > +static int adin_reset(struct phy_device *phydev) > > +{ > > + /* If there is a reset GPIO just exit */ > > + if (!IS_ERR_OR_NULL(phydev->mdio.reset_gpio)) > > + return 0; > > I'm not so happy with this. > >

Re: [PATCH v6 8/8] KVM: x86: Add user-space access interface for CET MSRs

2019-08-12 Thread Yang Weijiang
On Mon, Aug 12, 2019 at 04:43:36PM -0700, Sean Christopherson wrote: > On Thu, Jul 25, 2019 at 11:12:46AM +0800, Yang Weijiang wrote: > > There're two different places storing Guest CET states, the states > > managed with XSAVES/XRSTORS, as restored/saved > > in previous patch, can be read/write

Re: [PATCH v2] gpiolib: Take MUX usage into account

2019-08-12 Thread Stefan Wahren
Hi Ramon, On 13.08.19 03:42, Ramon Fried wrote: > From: Stefan Wahren > > The user space like gpioinfo only see the GPIO usage but not the > MUX usage (e.g. I2C or SPI usage) of a pin. As a user we want to know which > pin is free/safe to use. So take the MUX usage of strict pinmux controllers >

Re: [PATCH v6 5/8] KVM: VMX: Load Guest CET via VMCS when CET is enabled in Guest

2019-08-12 Thread Yang Weijiang
On Mon, Aug 12, 2019 at 04:56:32PM -0700, Sean Christopherson wrote: > On Thu, Jul 25, 2019 at 11:12:43AM +0800, Yang Weijiang wrote: > > "Load Guest CET state" bit controls whether Guest CET states > > will be loaded at Guest entry. Before doing that, KVM needs > > to check if CPU CET feature is

Re: [PATCH RFC v1 1/2] rcu/tree: Add basic support for kfree_rcu batching

2019-08-12 Thread Byungchul Park
On Mon, Aug 12, 2019 at 09:12:34AM -0400, Joel Fernandes wrote: > On Mon, Aug 12, 2019 at 07:10:52PM +0900, Byungchul Park wrote: > > On Sun, Aug 11, 2019 at 04:49:39PM -0700, Paul E. McKenney wrote: > > > Maybe. Note well that I said "potential issue". When I checked a few > > > years ago, none

Re: [PATCH 4/7] pwm: jz4740: Improve algorithm of clock calculation

2019-08-12 Thread Uwe Kleine-König
Hello Paul, [adding Stephen Boyd to Cc] On Tue, Aug 13, 2019 at 12:16:23AM +0200, Paul Cercueil wrote: > Le lun. 12 août 2019 à 23:48, Uwe Kleine-König a écrit : > > On Mon, Aug 12, 2019 at 10:43:10PM +0200, Paul Cercueil wrote: > > > Le lun. 12 août 2019 à 8:15, Uwe Kleine-König a écrit : > > >

Re: [PATCH] mm/mmap.c: rb_parent is not necessary in __vma_link_list

2019-08-12 Thread Wei Yang
On Mon, Aug 12, 2019 at 08:39:58PM -0700, Matthew Wilcox wrote: >On Tue, Aug 13, 2019 at 11:26:56AM +0800, Wei Yang wrote: >> Now we use rb_parent to get next, while this is not necessary. >> >> When prev is NULL, this means vma should be the first element in the >> list. Then next should be

Re: [PATCH v6 3/8] KVM: x86: Implement CET CPUID enumeration for Guest

2019-08-12 Thread Yang Weijiang
On Mon, Aug 12, 2019 at 05:06:04PM -0700, Sean Christopherson wrote: > On Thu, Jul 25, 2019 at 11:12:41AM +0800, Yang Weijiang wrote: > > diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c > > index 652b3876ea5c..ce1d6fe21780 100644 > > --- a/arch/x86/kvm/vmx/vmx.c > > +++

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

2019-08-12 Thread Stephen Rothwell
Hi Paul, On Mon, 12 Aug 2019 09:19:34 -0700 "Paul E. McKenney" wrote: > > Huh. "It has been building fine for me." I added > > #include > #include > > to include/linux/rcu_segcblist.h, which hopefully fixes it at your end. That did not work as I got a lot of errors from

[PATCH] tools build: Fix clang detection with clang >= 8.0

2019-08-12 Thread Matthew Dawson
The 8.0 release of clang/llvm moved the VirtualFileSystem.h header to from clang to llvm. This change causes a compile error, causing perf to not detect clang/llvm. Fix by including the right header for the different versions of llvm, using the older header for llvm < 8, and the new header for

Re: [PATCH 5/5] memremap: provide a not device managed memremap_pages

2019-08-12 Thread Bharata B Rao
On Mon, Aug 12, 2019 at 05:00:12PM +0200, Christoph Hellwig wrote: > On Mon, Aug 12, 2019 at 08:20:58PM +0530, Bharata B Rao wrote: > > On Sun, Aug 11, 2019 at 10:12:47AM +0200, Christoph Hellwig wrote: > > > The kvmppc ultravisor code wants a device private memory pool that is > > > system wide

Re: [PATCH v12 03/18] kunit: test: add string_stream a std::stream like string builder

2019-08-12 Thread Stephen Boyd
Quoting Brendan Higgins (2019-08-12 17:41:05) > On Mon, Aug 12, 2019 at 4:59 PM Stephen Boyd wrote: > > > > > kunit_resource_destroy (respective equivalents to devm_kfree, and > > > devres_destroy) and use kunit_kfree here? > > > > > > > Yes, or drop the API entirely? Does anything need this

[PATCH v2 2/4] drm/komeda: Introduce komeda_color_manager/state

2019-08-12 Thread james qian wang (Arm Technology China)
Many komeda component support color management like layer and IPS, so komeda_color_manager/state are introduced to manager gamma, csc and degamma together for easily share it to multiple componpent. And for komeda_color_manager which: - convert drm 3d gamma lut to komeda specific gamma coeffs -

Re: [PATCH] libnvdimm: change disk name of virtio pmem disk

2019-08-12 Thread Pankaj Gupta
Ping. > > This patch adds prefix 'v' in disk name for virtio pmem. > This differentiates virtio-pmem disks from the pmem disks. > > Signed-off-by: Pankaj Gupta > --- > drivers/nvdimm/namespace_devs.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git

[PATCH] x86/cpu: Add Atom Tremont (Elkhart Lake)

2019-08-12 Thread Kyung Min Park
Add the Atom Tremont model number to the Intel family list. Signed-off-by: Kyung Min Park --- arch/x86/include/asm/intel-family.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h index 0278aa6..02d675d 100644 ---

Re: [PATCH v9 1/7] powerpc/mce: Schedule work from irq_work

2019-08-12 Thread Mahesh Jagannath Salgaonkar
On 8/12/19 2:52 PM, Santosh Sivaraj wrote: > schedule_work() cannot be called from MCE exception context as MCE can > interrupt even in interrupt disabled context. > > fixes: 733e4a4c ("powerpc/mce: hookup memory_failure for UE errors") > Suggested-by: Mahesh Salgaonkar > Signed-off-by: Santosh

Re: [PATCH linux-next] drivers: dma: Fix sparse warning for mux_configure32

2019-08-12 Thread Vinod Koul
On 12-08-19, 15:42, Mao Wenan wrote: Patch title is incorrect, it should mention the changes in patch, for example make mux_configure32 static Do read up on Documentation/process/submitting-patches.rst again! > There is one sparse warning in drivers/dma/fsl-edma-common.c, It will help to

Re: [PATCH] dmaengine: fsldma: Mark expected switch fall-through

2019-08-12 Thread Vinod Koul
On 11-08-19, 19:22, Gustavo A. R. Silva wrote: > Mark switch cases where we are expecting to fall through. > > Fix the following warning (Building: powerpc-ppa8548_defconfig powerpc): > > drivers/dma/fsldma.c: In function ‘fsl_dma_chan_probe’: > drivers/dma/fsldma.c:1165:26: warning: this

Re: [PATCHv4 1/2] PCI: layerscape: Add the bar_fixed_64bit property in EP driver.

2019-08-12 Thread Kishon Vijay Abraham I
On 13/08/19 8:23 AM, Xiaowei Bao wrote: > The PCIe controller of layerscape just have 4 BARs, BAR0 and BAR1 > is 32bit, BAR3 and BAR4 is 64bit, this is determined by hardware, Do you mean BAR2 instead of BAR3 here? Thanks Kishon > so set the bar_fixed_64bit with 0x14. > > Signed-off-by:

Re: [PATCH] [v2] dma: ti: unexport filter functions

2019-08-12 Thread Vinod Koul
On 12-08-19, 12:11, Arnd Bergmann wrote: > The two filter functions are now marked static, but still exported, > which triggers a coming build-time check: > > WARNING: "omap_dma_filter_fn" [vmlinux] is a static EXPORT_SYMBOL_GPL > WARNING: "edma_filter_fn" [vmlinux] is a static EXPORT_SYMBOL > >

Re: [PATCH 1/4] dt-bingings: PCI: Remove the num-lanes from Required properties

2019-08-12 Thread Kishon Vijay Abraham I
Hi, On 13/08/19 8:37 AM, Z.q. Hou wrote: > Hi Andrew, > > Thanks a lot for your comments! > >> -Original Message- >> From: Andrew Murray >> Sent: 2019年8月12日 16:45 >> To: Z.q. Hou >> Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; >> linux-kernel@vger.kernel.org;

Re: [PATCH v2 1/2] serial: 8250_pci: Add support for Sunix serial boards

2019-08-12 Thread Kai-Heng Feng
Hi Andy, at 21:18, Andy Shevchenko wrote: On Fri, Aug 9, 2019 at 10:05 PM Kai-Heng Feng wrote: Add support to Sunix serial boards with up to 16 ports. Sunix board need its own setup callback instead of using Timedia's, to properly support more than 4 ports. Can you, please, split out the

Re: [PATCH] bus: ti-sysc: Remove if-block in sysc_check_children()

2019-08-12 Thread Nishka Dasgupta
On 08/08/19 7:25 PM, Roger Quadros wrote: Nishka, On 08/08/2019 10:40, Nishka Dasgupta wrote: In function sysc_check_children, there is an if-statement checking whether the value returned by function sysc_check_one_child is non-zero. However, sysc_check_one_child always returns 0, and hence

Re: [PATCH 3/7] dma: iop-adma: use correct printk format strings

2019-08-12 Thread Vinod Koul
On 09-08-19, 18:33, Arnd Bergmann wrote: > When compile-testing on other architectures, we get lots of warnings > about incorrect format strings, like: > >drivers/dma/iop-adma.c: In function 'iop_adma_alloc_slots': >drivers/dma/iop-adma.c:307:6: warning: format '%x' expects argument of >

Re: [PATCH 2/7] dma: iop-adma: include prefetch.h

2019-08-12 Thread Vinod Koul
On 09-08-19, 18:33, Arnd Bergmann wrote: > Compile-testing this driver fails on m68k without the > extra header inclusion. Please change title to "dmaengine: iop-adma: include prefetch.h" After that: Acked-by: Vinod Koul > Reported-by: kbuild test robot > Signed-off-by: Arnd Bergmann > ---

Re: [PATCH v2] regulator: core: Add of_node_put() before return

2019-08-12 Thread Nishka Dasgupta
On 08/08/19 5:57 PM, Mark Brown wrote: On Thu, Aug 08, 2019 at 12:35:53PM +0530, Nishka Dasgupta wrote: In function of_get_child_regulator(), the loop for_each_child_of_node() contains two mid-loop return statements. Ordinarily the loop gets the node child at the beginning of every iteration

Re: [PATCH] nbd: add a missed nbd_config_put() in nbd_xmit_timeout()

2019-08-12 Thread sunke (E)
Thanks for your review. 在 2019/8/12 23:34, Mike Christie 写道: On 08/12/2019 07:31 AM, Sun Ke wrote: When try to get the lock failed, before return, execute the nbd_config_put() to decrease the nbd->config_refs. If the nbd->config_refs is added but not decreased. Then will not execute

[PATCH] staging: rtl8723bs: Remove debugging information exposed via procfs

2019-08-12 Thread Kai-Heng Feng
The procfs provides many useful information for debugging, but it may be too much for normal usage, routines like proc_get_sec_info() reports various security related information. So let's remove it. Signed-off-by: Kai-Heng Feng --- drivers/staging/rtl8723bs/Makefile|1 -

Re: [PATCH v5 4/7] PCI/ATS: Add PRI support for PCIe VF devices

2019-08-12 Thread Bjorn Helgaas
On Thu, Aug 01, 2019 at 05:06:01PM -0700, sathyanarayanan.kuppusw...@linux.intel.com wrote: > From: Kuppuswamy Sathyanarayanan > > When IOMMU tries to enable Page Request Interface (PRI) for VF device > in iommu_enable_dev_iotlb(), it always fails because PRI support for > PCIe VF device is

Re: [PATCH v3] perf diff: Report noisy for cycles diff

2019-08-12 Thread Jin, Yao
On 8/12/2019 4:35 PM, Jiri Olsa wrote: On Sat, Aug 10, 2019 at 07:30:29AM +0800, Jin Yao wrote: SNIP + if (vals[i] != 0) + return 0; + return 1; +} + +static int print_cycles_spark(char *bf, int size, unsigned long *svals, u64 n) +{ + int len

Re: [PATCH v5 2/7] PCI/ATS: Initialize PRI in pci_ats_init()

2019-08-12 Thread Bjorn Helgaas
On Mon, Aug 12, 2019 at 02:35:32PM -0700, sathyanarayanan kuppuswamy wrote: > On 8/12/19 1:04 PM, Bjorn Helgaas wrote: > > On Thu, Aug 01, 2019 at 05:05:59PM -0700, > > sathyanarayanan.kuppusw...@linux.intel.com wrote: > > > From: Kuppuswamy Sathyanarayanan > > > > > > > > > Currently, PRI

Re: [PATCH 3.16 043/157] ext4: brelse all indirect buffer inext4_ind_remove_space()

2019-08-12 Thread Jari Ruusu
Ben Hutchings wrote: > From: "zhangyi (F)" > > commit 674a2b27234d1b7afcb0a9162e81b2e53aeef217 upstream. [snip] > --- a/fs/ext4/indirect.c > +++ b/fs/ext4/indirect.c > @@ -1481,10 +1481,14 @@ end_range: >partial->p + 1, >

Re: [PATCH v5 1/7] PCI/ATS: Fix pci_prg_resp_pasid_required() dependency issues

2019-08-12 Thread Bjorn Helgaas
On Mon, Aug 12, 2019 at 01:20:55PM -0700, sathyanarayanan kuppuswamy wrote: > On 8/12/19 1:04 PM, Bjorn Helgaas wrote: > > On Thu, Aug 01, 2019 at 05:05:58PM -0700, > > sathyanarayanan.kuppusw...@linux.intel.com wrote: > > > From: Kuppuswamy Sathyanarayanan > > > > > > > > > Since

[PATCH] ASoC: ti: Fix typos in ti/Kconfig

2019-08-12 Thread Masanari Iida
This patch fixes some spelling typo in Kconfig. Signed-off-by: Masanari Iida --- sound/soc/ti/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/ti/Kconfig b/sound/soc/ti/Kconfig index 2197f3e1eaed..87a9b9dd4e98 100644 --- a/sound/soc/ti/Kconfig +++

Re: [PATCH] mm/mmap.c: rb_parent is not necessary in __vma_link_list

2019-08-12 Thread Matthew Wilcox
On Tue, Aug 13, 2019 at 11:26:56AM +0800, Wei Yang wrote: > Now we use rb_parent to get next, while this is not necessary. > > When prev is NULL, this means vma should be the first element in the > list. Then next should be current first one (mm->mmap), no matter > whether we have parent or not.

[patch] mm, page_alloc: move_freepages should not examine struct page of reserved memory

2019-08-12 Thread David Rientjes
After commit 907ec5fca3dc ("mm: zero remaining unavailable struct pages"), struct page of reserved memory is zeroed. This causes page->flags to be 0 and fixes issues related to reading /proc/kpageflags, for example, of reserved memory. The VM_BUG_ON() in move_freepages_block(), however, assumes

[PATCH] mm/mmap.c: rb_parent is not necessary in __vma_link_list

2019-08-12 Thread Wei Yang
Now we use rb_parent to get next, while this is not necessary. When prev is NULL, this means vma should be the first element in the list. Then next should be current first one (mm->mmap), no matter whether we have parent or not. After removing it, the code shows the beauty of symmetry.

[rcu:dev.2019.08.09a 65/67] ERROR: "tick_nohz_full_running" [kernel/rcu/rcutorture.ko] undefined!

2019-08-12 Thread kbuild test robot
Hi Paul, First bad commit (maybe != root cause): tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2019.08.09a head: 8997cc705c8156fd638c6296c800ceb4f2cd4eb0 commit: 7bcd11ce830f32631a378ff0e75836f27b202f1b [65/67] squash! idle: Prevent late-arriving

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

2019-08-12 Thread Stephen Rothwell
Hi all, On Fri, 9 Aug 2019 13:08:11 +1000 Stephen Rothwell wrote: > > After merging the sound-asoc tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > In file included from include/linux/kobject.h:19, > from include/linux/device.h:16, >

RE: [PATCH 4/4] arm64: dts: fsl: Remove num-lanes property from PCIe nodes

2019-08-12 Thread Z.q. Hou
Hi Andrew, Thanks a lot for your review! Regards, Zhiqiang > -Original Message- > From: Andrew Murray > Sent: 2019年8月12日 16:36 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; gustavo.pimen...@synopsys.com; >

RE: [PATCH 3/4] ARM: dts: ls1021a: Remove num-lanes property from PCIe nodes

2019-08-12 Thread Z.q. Hou
Hi Andrew, Thanks a lot for your review! Regards, Zhiqiang > -Original Message- > From: Andrew Murray > Sent: 2019年8月12日 16:35 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; gustavo.pimen...@synopsys.com; >

RE: [PATCH 2/4] PCI: dwc: Return directly when num-lanes is not found

2019-08-12 Thread Z.q. Hou
Hi Andrew, Thanks a lot for your review! B.R, Zhiqiang > -Original Message- > From: Andrew Murray > Sent: 2019年8月12日 16:34 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; gustavo.pimen...@synopsys.com; > jingooh...@gmail.com;

[v7,1/2] rtc/fsl: add FTM alarm driver as the wakeup source

2019-08-12 Thread Biwen Li
For the paltforms including LS1012A, LS1021A, LS1028A, LS1043A, LS1046A, LS1088A, LS208xA that has the FlexTimer module, implementing alarm functions within RTC subsystem to wakeup the system when system going to sleep (work with RCPM driver). Signed-off-by: Biwen Li --- Change in v7: - None

[v7,2/2] dt-bindings: rtc: add bindings for FlexTimer Module

2019-08-12 Thread Biwen Li
The patch adds bindings for FlexTimer Module Signed-off-by: Biwen Li --- Change in v7: - delete aliases Change in v6: - correct subject - delete note - remove reg property about IP Powerdown exception register Change in v5: - None Change in v4: - add note about dts and

RE: [PATCH 1/4] dt-bingings: PCI: Remove the num-lanes from Required properties

2019-08-12 Thread Z.q. Hou
Hi Andrew, Thanks a lot for your comments! > -Original Message- > From: Andrew Murray > Sent: 2019年8月12日 16:45 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; gustavo.pimen...@synopsys.com; > jingooh...@gmail.com;

Re: [PATCH v3] trace:Add "gfp_t" support in synthetic_events

2019-08-12 Thread Steven Rostedt
On Tue, 13 Aug 2019 09:04:28 +0800 Xing Zhengjun wrote: > Hi Steve, > > Could you help to review? Thanks. Thanks for the ping. Yes, I'll take a look at it. I'll be pulling in a lot of patches that have queued up. -- Steve > > On 7/13/2019 12:05 AM, Tom Zanussi wrote: > > Hi Zhengjun, >

[PATCHv4 2/2] PCI: layerscape: Add CONFIG_PCI_LAYERSCAPE_EP to build EP/RC separately

2019-08-12 Thread Xiaowei Bao
Add CONFIG_PCI_LAYERSCAPE_EP to build EP/RC separately. Signed-off-by: Xiaowei Bao --- v2: - No change. v3: - modify the commit message. v4: - send the patch again with '--to'. drivers/pci/controller/dwc/Kconfig | 20 ++-- drivers/pci/controller/dwc/Makefile |3 ++- 2

[PATCHv4 1/2] PCI: layerscape: Add the bar_fixed_64bit property in EP driver.

2019-08-12 Thread Xiaowei Bao
The PCIe controller of layerscape just have 4 BARs, BAR0 and BAR1 is 32bit, BAR3 and BAR4 is 64bit, this is determined by hardware, so set the bar_fixed_64bit with 0x14. Signed-off-by: Xiaowei Bao --- v2: - Replace value 0x14 with a macro. v3: - No change. v4: - send the patch again with

RE: [EXT] Re: [v6,2/2] dt-bindings: rtc: add bindings for FlexTimer Module

2019-08-12 Thread Biwen Li
> > On Fri, Jul 19, 2019 at 11:54:00AM +0800, Biwen Li wrote: > > The patch adds bindings for FlexTimer Module > > > > Signed-off-by: Biwen Li > > --- > > Change in v6: > > - correct subject > > - delete note > > - remove reg property about IP Powerdown exception register > > > >

Re: [PATCH v10 01/15] clk: tegra20/30: Add custom EMC clock implementation

2019-08-12 Thread Dmitry Osipenko
13.08.2019 2:12, Michał Mirosław пишет: > On Mon, Aug 12, 2019 at 12:00:29AM +0300, Dmitry Osipenko wrote: >> A proper External Memory Controller clock rounding and parent selection >> functionality is required by the EMC drivers, it is not available using >> the generic clock implementation

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-08-12 Thread Aaron Lu
On 2019/8/12 23:38, Vineeth Remanan Pillai wrote: >> I have two other small changes that I think are worth sending out. >> >> The first simplify logic in pick_task() and the 2nd avoid task pick all >> over again when max is preempted. I also refined the previous hack patch to >> make schedule

Re: [PATCH] scsi: use __u{8,16,32,64} instead of uint{8,16,32,64}_t in uapi headers

2019-08-12 Thread Martin K. Petersen
Masahiro, > When CONFIG_UAPI_HEADER_TEST=y, exported headers are compile-tested to > make sure they can be included from user-space. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH v2] arm64: dts: ls1088a: fix gpio node

2019-08-12 Thread Hui Song
From: Song Hui Update the nodes to include little-endian property to be consistent with the hardware and add ls1088a gpio specify compatible. Signed-off-by: Song Hui --- arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff

[PATCH] irqchip/irq-ingenic-tcu: Fix COMPILE_TEST building

2019-08-12 Thread YueHaibing
While do COMPILE_TEST building, if GENERIC_IRQ_CHIP is not selected, it fails: drivers/irqchip/irq-ingenic-tcu.o: In function `ingenic_tcu_intc_cascade': irq-ingenic-tcu.c:(.text+0x13f): undefined reference to `irq_get_domain_generic_chip' drivers/irqchip/irq-ingenic-tcu.o: In function

RE: [EXT] Re: [PATCHv3 1/2] PCI: layerscape: Add the bar_fixed_64bit property in EP driver.

2019-08-12 Thread Xiaowei Bao
> -Original Message- > From: Lorenzo Pieralisi > Sent: 2019年8月12日 19:36 > To: Xiaowei Bao > Cc: kis...@ti.com; bhelg...@google.com; robh...@kernel.org; > mark.rutl...@arm.com; shawn...@kernel.org; Leo Li > ; a...@arndb.de; gre...@linuxfoundation.org; M.h. > Lian ; Mingkai Hu ; Roy >

[PATCH] mm/hotplug: prevent memory leak when reuse pgdat

2019-08-12 Thread Wei Yang
When offline a node in try_offline_node, pgdat is not released. So that pgdat could be reused in hotadd_new_pgdat. While we re-allocate pgdat->per_cpu_nodestats if this pgdat is reused. This patch prevents the memory leak by just allocate per_cpu_nodestats when it is a new pgdat. NOTE: This is

Re: [PATCH] scsi: csiostor: Prefer pcie_capability_read_word()

2019-08-12 Thread Martin K. Petersen
Frederick, > Commit 8c0d3a02c130 ("PCI: Add accessors for PCI Express Capability") > added accessors for the PCI Express Capability so that drivers didn't > need to be aware of differences between v1 and v2 of the PCI Express > Capability. > > Replace pci_read_config_word() and

Re: [PATCH] scsi: esas2r: Prefer pcie_capability_read_word()

2019-08-12 Thread Martin K. Petersen
Frederick, > Commit 8c0d3a02c130 ("PCI: Add accessors for PCI Express Capability") > added accessors for the PCI Express Capability so that drivers didn't > need to be aware of differences between v1 and v2 of the PCI > Express Capability. > > Replace pci_read_config_word() and

Re: [PATCH] scsi: sym53c8xx_2: remove redundant assignment to retv

2019-08-12 Thread Martin K. Petersen
Colin, > Variable retv is initialized to a value that is never read and it is > re-assigned later. The initialization is redundant and can be removed. Applied to 5.4/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: pmcraid: Fix a typo - pcmraid --> pmcraid

2019-08-12 Thread Martin K. Petersen
Christophe, > This should be 'pmcraid', not 'pcmraid' Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: fas216: Mark expected switch fall-throughs

2019-08-12 Thread Martin K. Petersen
Gustavo, > Mark switch cases where we are expecting to fall through. Applied to 5.4/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

[RFC PATCH 2/2] mm/vmscan: Add fragmentation and page starvation prediction to kswapd

2019-08-12 Thread Khalid Aziz
This patch adds proactive memory reclamation to kswapd using the free page exhaustion/fragmentation prediction based upon memory consumption trend. It uses the least squares fit algorithm introduced earlier for this prediction. A new function node_trend_analysis() iterates through all zones and

[PATCH v2] gpiolib: Take MUX usage into account

2019-08-12 Thread Ramon Fried
From: Stefan Wahren The user space like gpioinfo only see the GPIO usage but not the MUX usage (e.g. I2C or SPI usage) of a pin. As a user we want to know which pin is free/safe to use. So take the MUX usage of strict pinmux controllers into account to get a more realistic view for ioctl

[RFC PATCH 0/2] Add predictive memory reclamation and compaction

2019-08-12 Thread Khalid Aziz
Page reclamation and compaction is triggered in response to reaching low watermark. This makes reclamation/compaction reactive based upon a snapshot of the system at a point in time. When that point is reached, system is already suffering from free memory shortage and must now try to recover.

[RFC PATCH 1/2] mm: Add trend based prediction algorithm for memory usage

2019-08-12 Thread Khalid Aziz
Direct page reclamation and compaction have high and unpredictable latency costs for applications. This patch adds code to predict if system is about to run out of free memory by watching the historical memory consumption trends. It computes a best fit line to this historical data using method of

Re: [PATCH RFC tip/core/rcu 14/14] rcu/nohz: Make multi_cpu_stop() enable tick on all online CPUs

2019-08-12 Thread Joel Fernandes
On Mon, Aug 12, 2019 at 7:23 PM Paul E. McKenney wrote: > > On Mon, Aug 12, 2019 at 11:02:33PM +0200, Frederic Weisbecker wrote: > > On Fri, Aug 02, 2019 at 08:15:01AM -0700, Paul E. McKenney wrote: > > > The multi_cpu_stop() function relies on the scheduler to gain control from > > > whatever is

Re: [PATCH v4 03/10] livepatch: Add klp-convert tool

2019-08-12 Thread Masahiro Yamada
On Sat, Aug 10, 2019 at 3:42 AM Joe Lawrence wrote: > > > > diff --git a/scripts/livepatch/Makefile b/scripts/livepatch/Makefile > > > > new file mode 100644 > > > > index ..2842ecdba3fd > > > > --- /dev/null > > > > +++ b/scripts/livepatch/Makefile > > > > @@ -0,0 +1,7 @@ > > > >

Re: [PATCH] riscv: dts: sifive: Add missing "clock-frequency" to cpu0/cpu1 nodes

2019-08-12 Thread Bin Meng
On Wed, Aug 7, 2019 at 2:22 PM Bin Meng wrote: > > Add the missing "clock-frequency" property to the cpu0/cpu1 nodes > for consistency with other cpu nodes. > > Signed-off-by: Bin Meng > --- > > arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > ping

Re: [PATCH v3] trace:Add "gfp_t" support in synthetic_events

2019-08-12 Thread Xing Zhengjun
Hi Steve, Could you help to review? Thanks. On 7/13/2019 12:05 AM, Tom Zanussi wrote: Hi Zhengjun, On Fri, 2019-07-12 at 09:53 +0800, Zhengjun Xing wrote: Add "gfp_t" support in synthetic_events, then the "gfp_t" type parameter in some functions can be traced. Prints the gfp flags as hex

Re: [PATCH 0/3] Collapse vimc into single monolithic driver

2019-08-12 Thread Shuah Khan
On 8/12/19 5:41 PM, Helen Koike wrote: Hi Shuah, On 8/12/19 7:14 PM, Shuah Khan wrote: On 8/12/19 1:10 PM, Shuah Khan wrote: On 8/12/19 12:52 PM, André Almeida wrote: Hi Shuah, On 8/12/19 11:08 AM, Shuah Khan wrote: On 8/9/19 9:51 PM, Helen Koike wrote: Hi Andre, Thanks for testing this.

Re: [PATCH] cpuidle-haltpoll: Enable kvm guest polling when dedicated physical CPUs are available

2019-08-12 Thread Wanpeng Li
On Sun, 4 Aug 2019 at 04:21, Marcelo Tosatti wrote: > > On Thu, Aug 01, 2019 at 06:54:49PM +0200, Paolo Bonzini wrote: > > On 01/08/19 18:51, Rafael J. Wysocki wrote: > > > On 8/1/2019 9:06 AM, Wanpeng Li wrote: > > >> From: Wanpeng Li > > >> > > >> The downside of guest side polling is that

Re: BUG: corrupted list in rxrpc_local_processor

2019-08-12 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer still triggered crash: KASAN: use-after-free Read in rxrpc_queue_local == BUG: KASAN: use-after-free in atomic_read include/asm-generic/atomic-instrumented.h:26

Re: [PATCH v3] perf diff: Report noisy for cycles diff

2019-08-12 Thread Jin, Yao
On 8/12/2019 4:35 PM, Jiri Olsa wrote: On Sat, Aug 10, 2019 at 07:30:29AM +0800, Jin Yao wrote: SNIP + + init_stats(>diff.stats); + init_spark_values(pair->diff.svals, NUM_SPARKS); + + for (int i = 0; i < pair->block_info->num; i++) { +

Re: [PATCH] `iwlist scan` fails with many networks available

2019-08-12 Thread James Nylen
>I suppose we could consider applying a workaround like this if it has a >condition checking that the buffer passed in is the maximum possible >buffer (65535 bytes, due to iw_point::length being u16) This is what the latest patch does (attached to my email from yesterday /

Re: [PATCH v3] perf diff: Report noisy for cycles diff

2019-08-12 Thread Jin, Yao
On 8/12/2019 4:35 PM, Jiri Olsa wrote: On Sat, Aug 10, 2019 at 07:30:29AM +0800, Jin Yao wrote: SNIP static int process_block_per_sym(struct hist_entry *he) @@ -684,6 +694,21 @@ static struct hist_entry *get_block_pair(struct hist_entry *he, return NULL; } +static void

Re: [PATCH v2 bpf-next 1/4] tracing/probe: Add PERF_EVENT_IOC_QUERY_PROBE ioctl

2019-08-12 Thread Daniel Xu
On Mon, Aug 12, 2019, at 8:57 AM, Andrii Nakryiko wrote: > On Fri, Aug 9, 2019 at 2:47 PM Daniel Xu wrote: > > > > It's useful to know [uk]probe's nmissed and nhit stats. For example with > > tracing tools, it's important to know when events may have been lost. > > debugfs currently exposes a

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

2019-08-12 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer still triggered crash: KASAN: use-after-free Read in rxrpc_queue_local == BUG: KASAN: use-after-free in atomic_read include/asm-generic/atomic-instrumented.h:26

Re: [PATCH] mm: memcontrol: flush percpu vmevents before releasing memcg

2019-08-12 Thread Roman Gushchin
On Mon, Aug 12, 2019 at 04:37:54PM -0700, Roman Gushchin wrote: > Similar to vmstats, percpu caching of local vmevents leads to an > accumulation of errors on non-leaf levels. This happens because > some leftovers may remain in percpu caches, so that they are > never propagated up by the cgroup

Re: [PATCH] RISC-V: Issue a local tlb flush if possible.

2019-08-12 Thread Atish Patra
On Mon, 2019-08-12 at 07:56 -0700, Christoph Hellwig wrote: > I agree with the comment that we really should move this out of line > now, and sure. > also that we can simplify it further, which also includes > not bothering with the SBI call if we were the only online CPU. I already had that

[rcu:rcu/next 47/86] include/asm-generic/atomic-long.h:17:9: error: unknown type name 'atomic_t'

2019-08-12 Thread kbuild test robot
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next head: eee850b8c265f38ab5feeb8fe6793b1b86eb77c7 commit: d3e83668c4df523f74ddf8c1eb8660f625713b87 [47/86] rcu/nocb: Use separate flag to indicate disabled ->cblist config: sh-allmodconfig (attached

Re: [RFC PATCH 2/2] mm/gup: introduce vaddr_pin_pages_remote()

2019-08-12 Thread John Hubbard
On 8/12/19 4:49 PM, Ira Weiny wrote: On Sun, Aug 11, 2019 at 06:50:44PM -0700, john.hubb...@gmail.com wrote: From: John Hubbard ... diff --git a/drivers/infiniband/core/umem_odp.c b/drivers/infiniband/core/umem_odp.c index 53085896d718..fdff034a8a30 100644 ---

Re: [PATCH v6 3/8] KVM: x86: Implement CET CPUID enumeration for Guest

2019-08-12 Thread Sean Christopherson
On Thu, Jul 25, 2019 at 11:12:41AM +0800, Yang Weijiang wrote: > diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c > index 652b3876ea5c..ce1d6fe21780 100644 > --- a/arch/x86/kvm/vmx/vmx.c > +++ b/arch/x86/kvm/vmx/vmx.c > @@ -1637,6 +1637,11 @@ static inline bool >

Re: [PATCH 4.19 04/74] ARM: dts: rockchip: Mark that the rk3288 timer might stop in suspend

2019-08-12 Thread Doug Anderson
Hi, On Mon, Aug 5, 2019 at 7:47 AM Pavel Machek wrote: > > On Mon 2019-08-05 15:02:17, Greg Kroah-Hartman wrote: > > [ Upstream commit 8ef1ba39a9fa53d2205e633bc9b21840a275908e ] > > > > This is similar to commit e6186820a745 ("arm64: dts: rockchip: Arch > > counter doesn't tick in system

Re: [PATCH 4.19 03/74] ARM: dts: rockchip: Make rk3288-veyron-mickeys emmc work again

2019-08-12 Thread Doug Anderson
Hi, On Mon, Aug 5, 2019 at 7:45 AM Pavel Machek wrote: > > On Mon 2019-08-05 15:02:16, Greg Kroah-Hartman wrote: > > [ Upstream commit 99fa066710f75f18f4d9a5bc5f6a711968a581d5 ] > > > > When I try to boot rk3288-veyron-mickey I totally fail to make the > > eMMC work. Specifically my logs (on

[PATCH v2 2/3] soundwire: cadence_master: add debugfs register dump

2019-08-12 Thread Pierre-Louis Bossart
Add debugfs file to dump the Cadence master registers. Credits: this patch is based on an earlier internal contribution by Vinod Koul, Sanyog Kale, Shreyas Nc and Hardik Shah. Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/cadence_master.c | 107 +

[PATCH v2 3/3] soundwire: intel: add debugfs register dump

2019-08-12 Thread Pierre-Louis Bossart
Add debugfs file to dump the Intel SoundWire registers Credits: this patch is based on an earlier internal contribution by Vinod Koul, Sanyog Kale, Shreyas Nc and Hardik Shah. Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/intel.c | 121 ++ 1 file

[PATCH v2 1/3] soundwire: add debugfs support

2019-08-12 Thread Pierre-Louis Bossart
Add base debugfs mechanism for SoundWire bus by creating soundwire root and master-N and slave-x hierarchy. Also add SDW Slave SCP, DP0 and DP-N register debug file. Registers not implemented will print as "XX" Credits: this patch is based on an earlier internal contribution by Vinod Koul,

Re: [PATCH v12 03/18] kunit: test: add string_stream a std::stream like string builder

2019-08-12 Thread Stephen Boyd
Quoting Brendan Higgins (2019-08-12 16:33:36) > On Mon, Aug 12, 2019 at 03:55:19PM -0700, Stephen Boyd wrote: > > Quoting Brendan Higgins (2019-08-12 11:24:06) > > > +void string_stream_clear(struct string_stream *stream) > > > +{ > > > + struct string_stream_fragment *frag_container, > > >

[PATCH v2 0/3] soundwire: debugfs support for 5.4

2019-08-12 Thread Pierre-Louis Bossart
This patchset enables debugfs support and corrects all the feedback provided on an earlier RFC ('soundwire: updates for 5.4') There is one remaining hard-coded value in intel.c that will need to be fixed in a follow-up patchset not specific to debugfs: we need to remove hard-coded Intel-specific

Re: [PATCH] /dev/kmem : Debug preadv() progress.

2019-08-12 Thread kbuild test robot
Hi Tetsuo, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [cannot apply to v5.3-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v6 5/8] KVM: VMX: Load Guest CET via VMCS when CET is enabled in Guest

2019-08-12 Thread Sean Christopherson
On Thu, Jul 25, 2019 at 11:12:43AM +0800, Yang Weijiang wrote: > "Load Guest CET state" bit controls whether Guest CET states > will be loaded at Guest entry. Before doing that, KVM needs > to check if CPU CET feature is enabled on host and available > to Guest. > > Note: SHSTK and IBT features

Re: [PATCH v5 08/18] thermal: sun8i: support mod clocks

2019-08-12 Thread Vasily Khoruzhick
On Mon, Aug 12, 2019 at 4:46 PM Frank Lee wrote: > > HI Vasily, > > On Sat, Aug 10, 2019 at 2:17 PM Vasily Khoruzhick wrote: > > > > On Fri, Aug 9, 2019 at 10:31 PM Yangtao Li wrote: > > > > > > H3 has extra clock, so introduce something in ths_thermal_chip/ths_device > > > and adds the process

Re: [PATCH v6 4/8] KVM: VMX: Pass through CET related MSRs to Guest

2019-08-12 Thread Sean Christopherson
On Thu, Jul 25, 2019 at 11:12:42AM +0800, Yang Weijiang wrote: > CET MSRs pass through Guest directly to enhance performance. > CET runtime control settings are stored in MSR_IA32_{U,S}_CET, > Shadow Stack Pointer(SSP) are stored in MSR_IA32_PL{0,1,2,3}_SSP, > SSP table base address is stored in

Re: [PATCH 1/5] power: reset: Add UART-based MCU poweroff DT bindings

2019-08-12 Thread Rob Herring
On Mon, Jul 22, 2019 at 09:53:01PM +0200, Evgeny Kolesnikov wrote: > This adds device tree bindings of the poweroff driver > for power managing micro controller units that are connected > to a board via the UART interface. > > Signed-off-by: Evgeny Kolesnikov > --- >

Re: [RFC PATCH 2/2] mm/gup: introduce vaddr_pin_pages_remote()

2019-08-12 Thread Ira Weiny
On Sun, Aug 11, 2019 at 06:50:44PM -0700, john.hubb...@gmail.com wrote: > From: John Hubbard > > This is the "vaddr_pin_pages" corresponding variant to > get_user_pages_remote(), but with FOLL_PIN semantics: the implementation > sets FOLL_PIN. That, in turn, means that the pages must ultimately

  1   2   3   4   5   6   7   8   9   10   >