Re: [PATCH v6 36/57] pwm: Remove dev_err() usage after platform_get_irq()

2019-07-30 Thread Uwe Kleine-König
On Tue, Jul 30, 2019 at 11:15:36AM -0700, Stephen Boyd wrote: > We don't need dev_err() messages when platform_get_irq() fails now that > platform_get_irq() prints an error message itself when something goes > wrong. Let's remove these prints with a simple semantic patch. Looking at v5.3-rc2 it's

Re: [RFC PATCH 13/16] RISC-V: KVM: Add timer functionality

2019-07-30 Thread Paolo Bonzini
On 31/07/19 03:55, Atish Patra wrote: > On Tue, 2019-07-30 at 13:26 +0200, Paolo Bonzini wrote: >> On 29/07/19 13:57, Anup Patel wrote: >>> + if (delta_ns > VCPU_TIMER_PROGRAM_THRESHOLD_NS) { >>> + hrtimer_start(&t->hrt, ktime_add_ns(ktime_get(), >>> delta_ns), >> >> I think the guest w

Re: [PATCH 12/22] ARM: dts: imx6: Add touchscreens used on Toradex eval boards

2019-07-30 Thread Michal Vokáč
On 31. 07. 19 8:43, Philippe Schenker wrote: On Tue, 2019-07-30 at 17:46 -0300, Fabio Estevam wrote: On Tue, Jul 30, 2019 at 11:57 AM Philippe Schenker wrote: + /* Atmel maxtouch controller */ + atmel_mxt_ts: atmel_mxt_ts@4a { Generic node names, please: touchscreen@4a +

Re: [linux-sunxi] Re: [PATCH 4/6] pwm: sun4i: Add support for H6 PWM

2019-07-30 Thread Uwe Kleine-König
On Tue, Jul 30, 2019 at 07:06:01PM +0200, Maxime Ripard wrote: > On Tue, Jul 30, 2019 at 10:09:00AM +0200, Uwe Kleine-König wrote: > > Hello Rob and Frank, > > > > Maxime and Jernej on one side and me on the other cannot agree about a > > detail in the change to the bindings here. I'm trying to obj

Re: ARM: multi_v7_defconfig: Enable SPI_STM32_QSPI support

2019-07-30 Thread Alexandre Torgue
Hi Olof On 7/30/19 7:36 PM, Olof Johansson wrote: Hi Patrice, If you cc s...@kernel.org on patches you want us to apply, you'll get them automatically tracked by patchwork. Does it means that you will take it directly in arm-soc tree ? I mean, I used to take this kind of patch (multi-v7_defc

Re: [RFC PATCH v3 2/2] printk-rb: add test module

2019-07-30 Thread John Ogness
Add missing includes and exports. Signed-off-by: John Ogness --- In case anyone wants to build/run my test module, this patch needs to be applied. For my arm64 tests I need to build the module slightly different, which is why I didn't catch this. Sorry. Tested on 5.3-rc2. kernel/printk/dat

Re: [PATCH 5/6] drm: uapi: add gdepaper uapi header

2019-07-30 Thread Daniel Vetter
On Wed, Jul 31, 2019 at 4:01 AM Jan Sebastian Götte wrote: > > On 7/31/19 1:49 AM, Emil Velikov wrote: > > On 2019/07/31, Jan Sebastian Götte wrote: > >> Hi Emil, > >> > >> thank you for your comments. > >> > >> On 7/30/19 11:08 PM, Emil Velikov wrote: > >>> On 2019/07/30, Jan Sebastian Götte wrot

Re: [PATCH v2 5/5] dt-bindings: Update the isa string description

2019-07-30 Thread Atish Patra
On 7/30/19, 9:52 PM, "Paul Walmsley" wrote: On Tue, 30 Jul 2019, Atish Patra wrote: > The yaml documentation description of isa strings section doesn't > specify anything about the case sensitiveness of the isa strings. > The RISC-V specification clearly specifies it to be

Re: [PATCH 12/22] ARM: dts: imx6: Add touchscreens used on Toradex eval boards

2019-07-30 Thread Philippe Schenker
On Tue, 2019-07-30 at 17:46 -0300, Fabio Estevam wrote: > On Tue, Jul 30, 2019 at 11:57 AM Philippe Schenker wrote: > > > + /* Atmel maxtouch controller */ > > + atmel_mxt_ts: atmel_mxt_ts@4a { > > Generic node names, please: > > touchscreen@4a > > > + compatible = "a

Re: [PATCH 02/22] staging: erofs: rename source files for better understanding

2019-07-30 Thread Chao Yu
On 2019/7/29 14:51, Gao Xiang wrote: > Keep in line with erofs-outofstaging patchset as well, see > https://lore.kernel.org/linux-fsdevel/20190725095658.155779-1-gaoxian...@huawei.com/ > > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,

Re: [PATCH v6 19/57] iio: Remove dev_err() usage after platform_get_irq()

2019-07-30 Thread Phil Reid
G'day Stephen, A comment unrelated to your change. On 31/07/2019 02:15, Stephen Boyd wrote: diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c index 32f1c4a33b20..abe99856c823 100644 --- a/drivers/iio/adc/at91_adc.c +++ b/drivers/iio/adc/at91_adc.c @@ -1179,10 +1179,8 @@

Re: [PATCH v11 2/4] uprobe: use original page when all uprobes are removed

2019-07-30 Thread Srikar Dronamraju
* Song Liu [2019-07-30 12:30:59]: > Currently, uprobe swaps the target page with a anonymous page in both > install_breakpoint() and remove_breakpoint(). When all uprobes on a page > are removed, the given mm is still using an anonymous page (not the > original page). > > This patch allows uprob

linux-next: Tree for Jul 31

2019-07-30 Thread Stephen Rothwell
Hi all, Changes since 20190730: New tree: fpga-fixes My fixes tree contains: 15b9fc624ba4 ("drivers/macintosh/smu.c: Mark expected switch fall-through") The fsverity tree gained a conflict against the f2fs tree. The pm tree gained a build failure for which I applied a patch.

Re: [PATCH v2 1/3] kasan: support backing vmalloc space with real shadow memory

2019-07-30 Thread Daniel Axtens
Daniel Axtens writes: > Hi Mark, > > Thanks for your email - I'm very new to mm stuff and the feedback is > very helpful. > >>> +#ifndef CONFIG_KASAN_VMALLOC >>> int kasan_module_alloc(void *addr, size_t size) >>> { >>> void *ret; >>> @@ -603,6 +604,7 @@ void kasan_free_shadow(const struct

[PATCH v2] powerpc/32: activate ARCH_HAS_PMEM_API and ARCH_HAS_UACCESS_FLUSHCACHE

2019-07-30 Thread Christophe Leroy
PPC32 also have flush_dcache_range() so it can also support ARCH_HAS_PMEM_API and ARCH_HAS_UACCESS_FLUSHCACHE without changes. Signed-off-by: Christophe Leroy --- v2: moved pmem.o from obj64-y to obj-y arch/powerpc/Kconfig | 4 ++-- arch/powerpc/lib/Makefile | 4 ++-- 2 files changed, 4 i

Re: [PATCH v4 2/2] RISC-V: Implement sparsemem

2019-07-30 Thread Greentime Hu
Hi Logan, Logan Gunthorpe 於 2019年1月10日 週四 上午5:07寫道: > > This patch implements sparsemem support for risc-v which helps pave the > way for memory hotplug and eventually P2P support. > > We introduce Kconfig options for virtual and physical address bits which > are used to calculate the size of the

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

2019-07-30 Thread Miles Chen
On Wed, 2019-07-31 at 16:11 +1000, Stephen Rothwell wrote: > Hi all, > > After merging the akpm-current tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: > > mm/memcontrol.c: In function 'invalidate_reclaim_iterators': > mm/memcontrol.c:1160:11: warning: suggest pa

Re: [PATCH v2 2/5] RISC-V: Add riscv_isa reprensenting ISA features common across CPUs

2019-07-30 Thread Atish Patra
On 7/30/19, 9:23 PM, "Paul Walmsley" wrote: On Tue, 30 Jul 2019, Atish Patra wrote: > From: Anup Patel > > This patch adds riscv_isa integer to represent ISA features common > across all CPUs. The riscv_isa is not same as elf_hwcap because > elf_hwcap will only h

[GIT PULL] Please pull FPGA Manager changes for 5.4

2019-07-30 Thread Moritz Fischer
The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mdf/linux-fpga.git tags/fpga-for-5.4 for you to fetch changes up to 2949dc443116a66fd

Re: [PATCH] drm: use trace_printk rather than printk in drm_dbg.

2019-07-30 Thread Fuqian Huang
Joe Perches 於 2019年7月31日週三 下午2:06寫道: > > On Wed, 2019-07-31 at 10:45 +0800, Fuqian Huang wrote: > > In drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c, > > amdgpu_ih_process calls DRM_DEBUG which calls drm_dbg and > > finally calls printk. > > As amdgpu_ih_process is called from an interrupt handler, > > a

Re: [PATCH v2 0/5] mm: Enable CONFIG_NODES_SPAN_OTHER_NODES by default for NUMA

2019-07-30 Thread Mike Rapoport
[ sorry for a late reply too, somehow I missed this thread before ] On Tue, Jul 30, 2019 at 10:14:15AM +0200, Michal Hocko wrote: > [Sorry for a late reply] > > On Mon 15-07-19 17:55:07, Hoan Tran OS wrote: > > Hi, > > > > On 7/12/19 10:00 PM, Michal Hocko wrote: > [...] > > > Hmm, I thought thi

Re: [PATCH v2 1/2] mtd: spi-nor: Move m25p80 code in spi-nor.c

2019-07-30 Thread Tudor.Ambarus
On 07/30/2019 09:04 PM, Vignesh Raghavendra wrote: >>> + */ >>> +static int spi_nor_exec_op(struct spi_nor *nor, struct spi_mem_op *op, >>> + u64 *addr, void *buf, size_t len) >>> +{ >>> + int ret; >>> + bool usebouncebuf = false; >> I don't think we need a bounce buffer

linux-next: build warning after merge of the akpm-current tree

2019-07-30 Thread Stephen Rothwell
Hi all, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) produced this warning: fs/ocfs2/xattr.c:1493:13: warning: 'ocfs2_xa_add_entry' defined but not used [-Wunused-function] static void ocfs2_xa_add_entry(struct ocfs2_xa_loc *loc, u32 name_hash)

Re: [PATCH] xen/gntdev.c: Replace vm_map_pages() with vm_map_pages_zero()

2019-07-30 Thread Juergen Gross
On 30.07.19 20:34, Souptick Joarder wrote: 'commit df9bde015a72 ("xen/gntdev.c: convert to use vm_map_pages()")' breaks gntdev driver. If vma->vm_pgoff > 0, vm_map_pages() will: - use map->pages starting at vma->vm_pgoff instead of 0 - verify map->count against vma_pages()+vma->vm_pgoff inste

Re: [PATCH] [v3] xen: avoid link error on ARM

2019-07-30 Thread Juergen Gross
On 22.07.19 09:46, Arnd Bergmann wrote: Building the privcmd code as a loadable module on ARM, we get a link error due to the private cache management functions: ERROR: "__sync_icache_dcache" [drivers/xen/xen-privcmd.ko] undefined! Move the code into a new that is always built in when Xen is en

Re: [PATCH] mm: release the spinlock on zap_pte_range

2019-07-30 Thread Minchan Kim
On Tue, Jul 30, 2019 at 12:42:07PM -0700, Andrew Morton wrote: > On Mon, 29 Jul 2019 17:20:52 +0900 Minchan Kim wrote: > > > > > @@ -1022,7 +1023,16 @@ static unsigned long zap_pte_range(struct > > > > mmu_gather *tlb, > > > > flush_tlb_batched_pending(mm); > > > > arch_enter_laz

[PATCH] kbuild: add [M] marker for build log of *.mod.o

2019-07-30 Thread Masahiro Yamada
This builds module objects, so [M] makes sense. Signed-off-by: Masahiro Yamada --- scripts/Makefile.modpost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index 6e328190d609..6c237af41417 100644 --- a/scripts/Makefile.modp

linux-next: build warning after merge of the akpm-current tree

2019-07-30 Thread Stephen Rothwell
Hi all, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: mm/memcontrol.c: In function 'invalidate_reclaim_iterators': mm/memcontrol.c:1160:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } whil

Re: [PATCH 1/2] printk/panic: Access the main printk log in panic() only when safe

2019-07-30 Thread Sergey Senozhatsky
Sorry for the delayed response. On (07/24/19 14:27), Petr Mladek wrote: [..] > > And this is where the idea of "disconnecting" those CPUs from main > > logbuf come from. > > > > So what we can do: > > - smp_send_stop() > > - disconnect all-but-self from logbuf (via printk-safe) > > printk_safe i

Re: [alsa-devel] [PATCH v2 2/3] ASoC: Add codec driver for ST TDA7802

2019-07-30 Thread Marco Felsch
Hi Thomas, again sorry for jumping in.. On 19-07-30 18:26, Thomas Preston wrote: > On 30/07/2019 15:58, Mark Brown wrote: > > On Tue, Jul 30, 2019 at 01:09:36PM +0100, Thomas Preston wrote: > > > >> index ..0f82a88bc1a4 > >> --- /dev/null > >> +++ b/sound/soc/codecs/tda7802.c > >> @@

xilinx_uartps.c: suppress "may be used uninitialised" warning

2019-07-30 Thread Stephen Rothwell
From 31753a44c62c4fdf6e8a72994ae6861dbde49c11 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Wed, 31 Jul 2019 16:00:52 +1000 Subject: [PATCH] xilinx_uartps.c: suppress "may be used uninitialised" warning A powerpc allyesconfig build produces this warning: In file included from include/lin

Re: [PATCHv9 1/3] arm64: dts: qcom: sdm845: Add Coresight support

2019-07-30 Thread Sai Prakash Ranjan
Hi Suzuki, On 7/31/2019 11:28 AM, Sai Prakash Ranjan wrote: Add coresight components found on Qualcomm SDM845 SoC. Signed-off-by: Sai Prakash Ranjan Reviewed-by: Mathieu Poirier Acked-by: Suzuki K Poulose --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 451 +++ 1 file c

Re: [PATCH v5 14/14] riscv: Make mmap allocation top-down by default

2019-07-30 Thread Alex Ghiti
On 7/30/19 1:51 AM, Alexandre Ghiti wrote: In order to avoid wasting user address space by using bottom-up mmap allocation scheme, prefer top-down scheme when possible. Before: root@qemuriscv64:~# cat /proc/self/maps 0001-00016000 r-xp fe:00 6389 /bin/cat.coreutils 00016000-00

Re: lift the xfs writepage code into iomap v3

2019-07-30 Thread Damien Le Moal
Darrick, On 2019/07/30 10:17, Darrick J. Wong wrote: > On Mon, Jul 22, 2019 at 11:50:12AM +0200, Christoph Hellwig wrote: >> Hi all, >> >> this series cleans up the xfs writepage code and then lifts it to >> fs/iomap.c so that it could be use by other file system. I've been >> wanting to this for

[PATCH] powerpc/kasan: fix early boot failure on PPC32

2019-07-30 Thread Christophe Leroy
Due to commit 4a6d8cf90017 ("powerpc/mm: don't use pte_alloc_kernel() until slab is available on PPC32"), pte_alloc_kernel() cannot be used during early KASAN init. Fix it by using memblock_alloc() instead. Reported-by: Erhard F. Fixes: 2edb16efc899 ("powerpc/32: Add KASAN support") Signed-off-b

Re: [PATCH net-next 1/2] net: phy: broadcom: set features explicitly for BCM54616S

2019-07-30 Thread Tao Ren
On 7/30/19 10:53 PM, Heiner Kallweit wrote: > On 31.07.2019 02:12, Tao Ren wrote: >> On 7/29/19 11:00 PM, Heiner Kallweit wrote: >>> On 30.07.2019 07:05, Tao Ren wrote: On 7/29/19 8:35 PM, Andrew Lunn wrote: > On Mon, Jul 29, 2019 at 05:25:32PM -0700, Tao Ren wrote: >> BCM54616S featur

Re: [RFC] net: phy: read link status twice when phy_check_link_status()

2019-07-30 Thread liuyonglong
On 2019/7/31 13:44, Heiner Kallweit wrote: > On 31.07.2019 05:33, liuyonglong wrote: >> >> >> On 2019/7/31 3:04, Heiner Kallweit wrote: >>> On 30.07.2019 08:35, liuyonglong wrote: :/sys/kernel/debug/tracing$ cat trace # tracer: nop # # entries-in-buffer/entries-written: 45/45

Re: [PATCH v4 06/10] modpost: Add modinfo flag to livepatch modules

2019-07-30 Thread Masahiro Yamada
Hi Joe, On Thu, May 9, 2019 at 11:39 PM Joe Lawrence wrote: > > From: Miroslav Benes > > Currently, livepatch infrastructure in the kernel relies on > MODULE_INFO(livepatch, "Y") statement in a livepatch module. Then the > kernel module loader knows a module is indeed livepatch module and can >

[PATCHv9 3/3] arm64: dts: qcom: msm8996: Add Coresight support

2019-07-30 Thread Sai Prakash Ranjan
From: Vivek Gautam Enable coresight support by adding device nodes for the available source, sinks and channel blocks on msm8996. This also adds coresight cpu debug nodes. Signed-off-by: Vivek Gautam Signed-off-by: Sai Prakash Ranjan Reviewed-by: Mathieu Poirier Acked-by: Suzuki K Poulose -

[PATCHv9 0/3] Add coresight support for SDM845, MSM8998 and MSM8996

2019-07-30 Thread Sai Prakash Ranjan
This patch series adds support for coresight on SDM845, MSM8998, and MSM8996. * Patch 1 adds device tree nodes for SDM845 coresight components. * Patch 2 adds device tree nodes for MSM8998 coresight components. * Patch 3 adds device tree nodes for MSM8996 coresight components. All the previous

[PATCHv9 1/3] arm64: dts: qcom: sdm845: Add Coresight support

2019-07-30 Thread Sai Prakash Ranjan
Add coresight components found on Qualcomm SDM845 SoC. Signed-off-by: Sai Prakash Ranjan Reviewed-by: Mathieu Poirier Acked-by: Suzuki K Poulose --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 451 +++ 1 file changed, 451 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/

[PATCHv9 2/3] arm64: dts: qcom: msm8998: Add Coresight support

2019-07-30 Thread Sai Prakash Ranjan
Enable coresight support by adding device nodes for the available source, sinks and channel blocks on MSM8998. Signed-off-by: Sai Prakash Ranjan Reviewed-by: Mathieu Poirier Acked-by: Suzuki K Poulose --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 435 ++ 1 file changed, 4

Re: [PATCH net-next 2/2] net: phy: broadcom: add 1000Base-X support for BCM54616S

2019-07-30 Thread Tao Ren
On 7/30/19 7:34 PM, Andrew Lunn wrote: >> Hi Andrew, >> >> The BCM54616S PHY on my machine is connected to a BCM5396 switch chip over >> backplane (1000Base-KX). > > Ah, that is different. So the board is using it for RGMII to 1000Base-KX? > > phy-mode is about the MAC-PHY link. So in this case

Re: [PATCH net-next 1/2] net: phy: broadcom: set features explicitly for BCM54616S

2019-07-30 Thread Heiner Kallweit
On 31.07.2019 02:12, Tao Ren wrote: > On 7/29/19 11:00 PM, Heiner Kallweit wrote: >> On 30.07.2019 07:05, Tao Ren wrote: >>> On 7/29/19 8:35 PM, Andrew Lunn wrote: On Mon, Jul 29, 2019 at 05:25:32PM -0700, Tao Ren wrote: > BCM54616S feature "PHY_GBIT_FEATURES" was removed by commit dcdecdc

Re: [RFC] net: phy: read link status twice when phy_check_link_status()

2019-07-30 Thread Heiner Kallweit
On 31.07.2019 05:33, liuyonglong wrote: > > > On 2019/7/31 3:04, Heiner Kallweit wrote: >> On 30.07.2019 08:35, liuyonglong wrote: >>> :/sys/kernel/debug/tracing$ cat trace >>> # tracer: nop >>> # >>> # entries-in-buffer/entries-written: 45/45 #P:128 >>> # >>> # _--

[PATCH v2 0/1] x86/boot: save fields explicitly, zero out everything else

2019-07-30 Thread john . hubbard
From: John Hubbard Hi, This uses the "save each field explicitly" approach that we discussed during the first review [1]. As in [1], this is motivated by a desire to clear the compiler warnings when building with gcc 9. This is difficult to properly test. I've done a basic boot test, but if the

[PATCH v2] x86/boot: save fields explicitly, zero out everything else

2019-07-30 Thread john . hubbard
From: John Hubbard Recent gcc compilers (gcc 9.1) generate warnings about an out of bounds memset, if you trying memset across several fields of a struct. This generated a couple of warnings on x86_64 builds. Fix this by explicitly saving the fields in struct boot_params that are intended to be

Re: [PATCH] mm: release the spinlock on zap_pte_range

2019-07-30 Thread Minchan Kim
On Tue, Jul 30, 2019 at 02:57:51PM +0200, Michal Hocko wrote: > [Cc Nick - the email thread starts > http://lkml.kernel.org/r/20190729071037.241581-1-minc...@kernel.org > A very brief summary is that mark_page_accessed seems to be quite > expensive and the question is whether we still need it an

[PATCH net-next v2 0/4] net: phy: Add AST2600 MDIO support

2019-07-30 Thread Andrew Jeffery
Hello, v2 of the ASPEED MDIO series addresses comments from Rob on the devicetree bindings and Andrew on the driver itself. v1 of the series can be found here: http://patchwork.ozlabs.org/cover/1138140/ Please review! Andrew Andrew Jeffery (4): dt-bindings: net: Add aspeed,ast2600-mdio bind

[PATCH net-next v2 2/4] net: phy: Add mdio-aspeed

2019-07-30 Thread Andrew Jeffery
The AST2600 design separates the MDIO controllers from the MAC, which is where they were placed in the AST2400 and AST2500. Further, the register interface is reworked again, so now we have three possible different interface implementations, however this driver only supports the interface provided

[PATCH net-next v2 3/4] net: ftgmac100: Add support for DT phy-handle property

2019-07-30 Thread Andrew Jeffery
phy-handle is necessary for the AST2600 which separates the MDIO controllers from the MAC. I've tried to minimise the intrusion of supporting the AST2600 to the FTGMAC100 by leaving in place the existing MDIO support for the embedded MDIO interface. The AST2400 and AST2500 continue to be supported

[PATCH net-next v2 4/4] net: ftgmac100: Select ASPEED MDIO driver for the AST2600

2019-07-30 Thread Andrew Jeffery
Ensures we can talk to a PHY via MDIO on the AST2600, as the MDIO controller is now separate from the MAC. Signed-off-by: Andrew Jeffery --- drivers/net/ethernet/faraday/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/faraday/Kconfig b/drivers/net/ethernet/farad

[PATCH] ASoC: max98383: add 88200 and 96000 sampling rate support

2019-07-30 Thread chunguo feng
From: fengchunguo 88200 and 96000 sampling rate was not enabled on driver, so can't be played. The error information: max98373 3-0031:rate 96000 not supported max98373 3-0031:ASoC: can't set max98373-aif1 hw params: -22 Signed-off-by: fengchunguo --- sound/soc/codecs/max98373.c | 6 ++ so

[PATCH net-next v2 1/4] dt-bindings: net: Add aspeed,ast2600-mdio binding

2019-07-30 Thread Andrew Jeffery
The AST2600 splits out the MDIO bus controller from the MAC into its own IP block and rearranges the register layout. Add a new binding to describe the new hardware. Signed-off-by: Andrew Jeffery --- v2: * aspeed: Utilise mdio.yaml * aspeed: Drop status from example --- .../bindings/net/aspeed,

[RFC PATCH] compiler_attributes.h: Add 'fallthrough' pseudo keyword for switch/case use

2019-07-30 Thread Joe Perches
Reserve the pseudo keyword 'fallthrough' for the ability to convert the various case block /* fallthrough */ style comments to appear to be an actual reserved word with the same gcc case block missing fallthrough warning capability. All switch/case blocks now must end in one of: break;

Re: "mm: account nr_isolated_xxx in [isolate|putback]_lru_page" breaks OOM with swap

2019-07-30 Thread Minchan Kim
imes, it prints those > message > while hanging. > > [  509.983393][  T711] INFO: task oom01:5331 blocked for more than 122 > seconds. > [  509.983431][  T711]   Not tainted 5.3.0-rc2-next-20190730 #7 > [  509.983447][  T711] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs&qu

linux-next: build failure after merge of the pm tree

2019-07-30 Thread Stephen Rothwell
Hi all, After merging the pm tree, today's linux-next build (x86_64 allnoconfig) failed like this: x86_64-linux-gnu-ld: kernel/sched/core.o: in function `cpuidle_poll_time': core.c:(.text+0x230): multiple definition of `cpuidle_poll_time'; arch/x86/kernel/process.o:process.c:(.text+0xc0): first

Re: [PATCH 4.14 000/293] 4.14.135-stable review

2019-07-30 Thread Kelsey Skunberg
On Mon, Jul 29, 2019 at 09:18:11PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.135 release. > There are 293 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kn

Re: [PATCH 4.19 000/113] 4.19.63-stable review

2019-07-30 Thread Kelsey Skunberg
On Mon, Jul 29, 2019 at 09:21:27PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.63 release. > There are 113 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

Re: [PATCH 5.2 000/215] 5.2.5-stable review

2019-07-30 Thread Kelsey Skunberg
On Mon, Jul 29, 2019 at 09:19:56PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.2.5 release. > There are 215 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

[PATCH v2] watchdog: pc87413: Rewriting of pc87413_wdt driver to use watchdog subsystem

2019-07-30 Thread Mark Balantzyan
This patch rewrites the pc87413_wdt driver to use the watchdog subsystem. In doing so, it also addresses a potential race condition owing from the swc_base_addr variable being used before being set. Signed-off-by: Mark Balantzyan --- drivers/watchdog/Kconfig | 1 + drivers/watchdog/pc87

Re: [PATCH] watchdog: pc87413: Rewriting of pc87413_wdt driver to use watchdog subsystem

2019-07-30 Thread Mark Balantzyan
Hi all, Guenter, Thank you for your email. Unfortunately, on my end, the indentation is straight and perhaps through protocol transfer there was stray modification. I've made the other changes as indicated that I'll submit in a v2 patch shortly. Is 'v2' permissible to include in the title in th

Re: [PATCH] PM/sleep: Expose suspend stats in sysfs

2019-07-30 Thread Greg KH
On Tue, Jul 30, 2019 at 03:52:28PM -0700, Kalesh Singh wrote: > +#define suspend_attr(_name) \ > +static ssize_t _name##_show(struct kobject *kobj,\ > + struct kobj_attribute *attr, char *buf) \ > +{

[PATCH] net: sctp: Rename fallthrough label to unhandled

2019-07-30 Thread Joe Perches
fallthrough may become a pseudo reserved keyword so this only use of fallthrough is better renamed to allow it. Signed-off-by: Joe Perches --- net/sctp/sm_make_chunk.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chu

Re: [PATCH v8 00/14] Rockchip ISP1 Driver

2019-07-30 Thread Hans Verkuil
On 7/31/19 6:33 AM, Hans Verkuil wrote: > On 7/31/19 6:29 AM, Hans Verkuil wrote: >> On 7/31/19 2:08 AM, Helen Koike wrote: >>> >>> >>> On 7/30/19 5:50 PM, Helen Koike wrote: On 7/30/19 5:15 PM, Hans Verkuil wrote: > On 7/30/19 8:42 PM, Helen Koike wrote: >> Hello, >> >>>

Re: [PATCH v2 5/5] dt-bindings: Update the isa string description

2019-07-30 Thread Paul Walmsley
On Tue, 30 Jul 2019, Atish Patra wrote: > The yaml documentation description of isa strings section doesn't > specify anything about the case sensitiveness of the isa strings. > The RISC-V specification clearly specifies it to be case insensitive. > However, Linux kernel supports only lower case i

Re: [PATCH] watchdog: pc87413: Rewriting of pc87413_wdt driver to use watchdog subsystem

2019-07-30 Thread Guenter Roeck
On 7/30/19 8:22 PM, Mark Balantzyan wrote: This patch rewrites the pc87413_wdt driver to use the watchdog subsystem. In doing so, it also addresses a potential race condition owing from the swc_base_addr variable being used before being set. Signed-off-by: Mark Balantzyan --- drivers/watchdo

[PATCH v2] MIPS: Ingenic: Fix bugs when detecting X1000's parameters.

2019-07-30 Thread Zhou Yanjie
1.fix bugs when detecting L2 cache sets value. 2.fix bugs when detecting L2 cache ways value. 3.fix bugs when calculate bogoMips and loops_per_jiffy. Signed-off-by: Zhou Yanjie --- arch/mips/include/asm/mipsregs.h | 1 + arch/mips/kernel/cpu-probe.c | 7 +++ arch/mips/mm/sc-mips.c

MIPS: Ingenic: Fix bugs when detecting X1000's parameters v2.

2019-07-30 Thread Zhou Yanjie
v1->v2: Use "set_c0_config7(BIT(4))" to simplify code and add comment.

[PATCH V2] IB/core: Add mitigation for Spectre V1

2019-07-30 Thread Luck, Tony
Some processors may mispredict an array bounds check and speculatively access memory that they should not. With a user supplied array index we like to play things safe by masking the value with the array size before it is used as an index. Signed-off-by: Tony Luck --- V2: Mask the index *AFTER

mmotm 2019-07-30-21-37 uploaded

2019-07-30 Thread akpm
The mm-of-the-moment snapshot 2019-07-30-21-37 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

Re: [PATCH] ext4: Fix deadlock on page reclaim

2019-07-30 Thread Damien Le Moal
Dave, On 2019/07/31 8:48, Dave Chinner wrote: > On Tue, Jul 30, 2019 at 02:06:33AM +, Damien Le Moal wrote: >> If we had a pread_nofs()/pwrite_nofs(), that would work. Or we could define a >> RWF_NORECLAIM flag for pwritev2()/preadv2(). This last one could actually be >> the >> cleanest appro

Re: media: mtk-vcodec: Handle H264 error bitstreams

2019-07-30 Thread gtk_ruiwang
Dear Mauro, patch v2 uploaded. Thanks, Best Regards On Tue, 2019-07-30 at 13:15 -0300, Mauro Carvalho Chehab wrote: > Em Fri, 26 Jul 2019 16:54:33 +0800 > escreveu: > > > From: gtk_ruiwang > > ... > > > Signed-off-by: gtk_ruiwang > > Please use your real name on your SOB and at the From:

Re: [PATCH v8 00/14] Rockchip ISP1 Driver

2019-07-30 Thread Hans Verkuil
On 7/31/19 6:29 AM, Hans Verkuil wrote: > On 7/31/19 2:08 AM, Helen Koike wrote: >> >> >> On 7/30/19 5:50 PM, Helen Koike wrote: >>> >>> >>> On 7/30/19 5:15 PM, Hans Verkuil wrote: On 7/30/19 8:42 PM, Helen Koike wrote: > Hello, > > I'm re-sending a new version of ISP(Camera) v4l2

Re: [PATCH] MIPS: Ingenic: Fix bugs when detecting X1000's parameters.

2019-07-30 Thread Zhou Yanjie
Hi Paul, On 2019年07月31日 02:02, Paul Cercueil wrote: Hi Zhou, Le mar. 30 juil. 2019 à 10:55, Zhou Yanjie a écrit : 1.fix bugs when detecting L2 cache sets value. 2.fix bugs when detecting L2 cache ways value. 3.fix bugs when calculate bogoMips and loops_per_jiffy. Signed-off-by: Zhou Yanjie

Re: [PATCH v8 00/14] Rockchip ISP1 Driver

2019-07-30 Thread Hans Verkuil
On 7/31/19 2:08 AM, Helen Koike wrote: > > > On 7/30/19 5:50 PM, Helen Koike wrote: >> >> >> On 7/30/19 5:15 PM, Hans Verkuil wrote: >>> On 7/30/19 8:42 PM, Helen Koike wrote: Hello, I'm re-sending a new version of ISP(Camera) v4l2 driver for rockchip rk3399 SoC. I d

Re: [PATCH 4/4] net: dsa: mv88e6xxx: add PTP support for MV88E6250 family

2019-07-30 Thread Richard Cochran
On Tue, Jul 30, 2019 at 11:46:51PM +0300, Vladimir Oltean wrote: > Technically it is not "not true". [Sigh] The statement was: The adjfine API clamps ppb between [-32,768,000, 32,768,000] The adjfine API does NOT clamp to that range. That statement is simply false. > And what is the reas

[v2] media: mtk-vcodec: Handle H264 error bitstreams

2019-07-30 Thread gtk_ruiwang
From: Rui Wang Error h264 bitstreams which picture info are out range of decoder hardware specification, and no nal start code at the beginning of the buffer, stop decoding and exit. Signed-off-by: Rui Wang --- Change note: Updata commint message with Mauro's comment: use real name on SOB and F

Re: [PATCH] IB/core: Add mitigation for Spectre V1

2019-07-30 Thread Ira Weiny
On Tue, Jul 30, 2019 at 06:52:12PM -0500, Gustavo A. R. Silva wrote: > > > On 7/30/19 3:24 PM, Tony Luck wrote: > > Some processors may mispredict an array bounds check and > > speculatively access memory that they should not. With > > a user supplied array index we like to play things safe > > b

Re: [PATCH v2 2/5] RISC-V: Add riscv_isa reprensenting ISA features common across CPUs

2019-07-30 Thread Paul Walmsley
On Tue, 30 Jul 2019, Atish Patra wrote: > From: Anup Patel > > This patch adds riscv_isa integer to represent ISA features common > across all CPUs. The riscv_isa is not same as elf_hwcap because > elf_hwcap will only have ISA features relevant for user-space apps > whereas riscv_isa will have I

[PATCH] Introducing the mask_cstate to disable specific c-states during bootup

2019-07-30 Thread Chen Yu
There is request to disable specific c-states during bootup for debug purpose. For example, deeper c-states except C1,C1E,C10 are disabled during bootup otherwise it might not boot up well due to incorrect setting in FW. For example, intel_idle.mask_cstate=0x3c, would disable cstate 2,3,4,5 in the

Re: [RFC PATCH] ARM: zynq: Use memcpy_toio instead of memcpy on smp bring-up

2019-07-30 Thread Luis Araneda
Hi Russell, Thanks for reviewing. On Tue, Jul 30, 2019 at 6:47 AM Russell King - ARM Linux admin wrote: > > On Tue, Jul 30, 2019 at 12:43:26AM -0400, Luis Araneda wrote: > > This fixes a kernel panic (read overflow) on memcpy when > > FORTIFY_SOURCE is enabled. [...] > > I'm not convinced that t

Re: [PATCH v1 0/2] virtio-mmio: support multiple interrupt vectors

2019-07-30 Thread 李菲
Hi Sergio, Considering your implementing virtio-mmio v2 in Qemu, please help to give some suggestions on this patch series. Thanks :) For web, this link: https://www.spinics.net/lists/kernel/msg3195667.html may help. Have a nice day Fei On Fri, Jul 19, 2019 at 9:31 PM Fei Li wrote: > > Hi, > >

Re: [External Email] Re: [PATCH v1 0/2] virtio-mmio: support multiple interrupt vectors

2019-07-30 Thread 李菲
On Wed, Jul 31, 2019 at 4:26 AM Michael S. Tsirkin wrote: > > On Mon, Jul 22, 2019 at 09:43:18PM +0800, 李菲 wrote: > > On Mon, Jul 22, 2019 at 4:39 PM Michael S. Tsirkin wrote: > > > > > > On Mon, Jul 22, 2019 at 11:22:02AM +0800, 李菲 wrote: > > > > On Fri, Jul 19, 2019 at 11:14 PM Michael S. Tsirk

Dear Friend,

2019-07-30 Thread Aisha Gaddafi
Dear Friend, I came across your e-mail contact prior a private search while in need of your assistance. My name is Aisha Gaddafi a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan President (Late Colonel Muammar Gaddafi). I have investment funds

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

2019-07-30 Thread Masahiro Yamada
On Wed, Jul 31, 2019 at 11:50 AM Masahiro Yamada wrote: > > On Thu, May 9, 2019 at 11:39 PM Joe Lawrence wrote: > > > > From: Josh Poimboeuf > > > > Livepatches may use symbols which are not contained in its own scope, > > and, because of that, may end up compiled with relocations that will > >

Re: [RFC] net: phy: read link status twice when phy_check_link_status()

2019-07-30 Thread liuyonglong
On 2019/7/31 3:04, Heiner Kallweit wrote: > On 30.07.2019 08:35, liuyonglong wrote: >> :/sys/kernel/debug/tracing$ cat trace >> # tracer: nop >> # >> # entries-in-buffer/entries-written: 45/45 #P:128 >> # >> # _-=> irqs-off >> # / _-

Re: [PATCH] ARM: check stmfd instruction using right shift

2019-07-30 Thread Chunyan Zhang
On Tue, 30 Jul 2019 at 19:02, Russell King - ARM Linux admin wrote: > > On Tue, Jul 30, 2019 at 03:18:31PM +0800, Chunyan Zhang wrote: > > Gentle ping > > > > probably this patch was missed or entered into spam? > > Please submit it to the patch system, thanks. Ok, thanks. > > > > > On Mon, 22 J

[PATCH] thp: update split_huge_page_pmd() commnet

2019-07-30 Thread Kefeng Wang
According to 78ddc5347341 ("thp: rename split_huge_page_pmd() to split_huge_pmd()"), update releated comment. Signed-off-by: Kefeng Wang --- arch/powerpc/mm/book3s64/hash_utils.c | 2 +- include/asm-generic/pgtable.h | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git

[PATCH] atm: iphase: Fix Spectre v1 vulnerability

2019-07-30 Thread Gustavo A. R. Silva
board is controlled by user-space, hence leading to a potential exploitation of the Spectre variant 1 vulnerability. This issue was detected with the help of Smatch: drivers/atm/iphase.c:2765 ia_ioctl() warn: potential spectre issue 'ia_dev' [r] (local cap) drivers/atm/iphase.c:2774 ia_ioctl() w

[PATCH] watchdog: pc87413: Rewriting of pc87413_wdt driver to use watchdog subsystem

2019-07-30 Thread Mark Balantzyan
This patch rewrites the pc87413_wdt driver to use the watchdog subsystem. In doing so, it also addresses a potential race condition owing from the swc_base_addr variable being used before being set. Signed-off-by: Mark Balantzyan --- drivers/watchdog/Kconfig | 1 + drivers/watchdog/pc87

Re: [PATCH v3 8/9] x86/mm/tlb: Remove UV special case

2019-07-30 Thread Nadav Amit
> On Jul 18, 2019, at 7:25 PM, Mike Travis wrote: > > It is a fact that the UV is still the UV and SGI is now part of HPE. The > current external product is known as SuperDome Flex. It is both up to date > as well as very well maintained. The ACK I provided was an okay to change > the code, but p

Re: linux-next: build warnings after merge of the keys tree

2019-07-30 Thread Stephen Rothwell
Hi Eric, On Tue, 30 Jul 2019 18:40:34 -0700 Eric Biggers wrote: > > On Tue, Jul 30, 2019 at 01:52:16PM +1000, Stephen Rothwell wrote: > > Hi Eric, > > > > On Mon, 29 Jul 2019 20:47:04 -0700 Eric Biggers > > wrote: > > > > > > On Tue, Jul 30, 2019 at 12:30:42PM +1000, Stephen Rothwell wrote:

[PATCH v3 2/2] iio: tsl2772: Use regulator_bulk_() APIs

2019-07-30 Thread Chuhong Yuan
Use regulator_bulk_() APIs to shrink driver size. Signed-off-by: Chuhong Yuan --- Changes in v3: - Split v2 into two patches. - Add dev_err to log error messages. - Add a check for EPROBE_DEFER. drivers/iio/light/tsl2772.c | 82 +++-- 1 file changed, 24 ins

[PATCH v3 1/2] iio: tsl2772: Use device-managed API

2019-07-30 Thread Chuhong Yuan
Use devm_() APIs to simplify the code. Signed-off-by: Chuhong Yuan --- Changes in v3: - Split v2 into two patches. drivers/iio/light/tsl2772.c | 36 +++- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/drivers/iio/light/tsl2772.c b/drivers/iio/l

Re: [PATCH v5.3-rc2] Bluetooth: hci_uart: check for missing tty operations

2019-07-30 Thread Al Cho
On Tue, 2019-07-30 at 11:33 +0200, Marcel Holtmann wrote: > From: Vladis Dronov > > Certain ttys operations (pty_unix98_ops) lack tiocmget() and > tiocmset() > functions which are called by the certain HCI UART protocols > (hci_ath, > hci_bcm, hci_intel, hci_mrvl, hci_qca) via > hci_uart_set_flow

Re: [PATCH 0/7] media: vimc: Add a V4L2 output device

2019-07-30 Thread André Almeida
On 7/13/19 7:03 AM, Hans Verkuil wrote: > On 7/12/19 5:38 PM, André Almeida wrote: >> Hello, >> >> On 7/10/19 4:33 AM, Hans Verkuil wrote: >>> On 7/10/19 12:19 AM, Helen Koike wrote: Hi André, Thanks for the patches. On 7/2/19 12:47 PM, André Almeida wrote: > Hello, >>>

[PATCH] cpufreq: schedutil: Don't skip freq update when limits change

2019-07-30 Thread Viresh Kumar
To avoid reducing the frequency of a CPU prematurely, we skip reducing the frequency if the CPU had been busy recently. This should not be done when the limits of the policy are changed, for example due to thermal throttling. We should always get the frequency within the new limits as soon as poss

Re: Reminder: 99 open syzbot bugs in net subsystem

2019-07-30 Thread Eric Biggers
On Thu, Jul 25, 2019 at 07:04:47AM +0200, Eric Dumazet wrote: > > > On 7/24/19 11:09 PM, Eric Biggers wrote: > > On Wed, Jul 24, 2019 at 01:09:28PM -0700, David Miller wrote: > >> From: Eric Biggers > >> Date: Wed, 24 Jul 2019 11:37:12 -0700 > >> > >>> We can argue about what words to use to des

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

2019-07-30 Thread Masahiro Yamada
On Thu, May 9, 2019 at 11:39 PM Joe Lawrence wrote: > > From: Josh Poimboeuf > > Livepatches may use symbols which are not contained in its own scope, > and, because of that, may end up compiled with relocations that will > only be resolved during module load. Yet, when the referenced symbols > a

  1   2   3   4   5   6   7   8   9   10   >