Re: WARN_ON_ONCE() hit at kernel/events/core.c:330

2019-04-09 Thread Thomas-Mich Richter
On 4/8/19 11:50 AM, Peter Zijlstra wrote: > On Mon, Apr 08, 2019 at 10:22:29AM +0200, Peter Zijlstra wrote: >> On Mon, Apr 08, 2019 at 09:12:28AM +0200, Thomas-Mich Richter wrote: > >>> very good news, your fix ran over the weekend without any hit!!! >>> >>> Thanks very much for your help. Do you

Re: [PATCH v3 00/28] userfaultfd: write protection support

2019-04-09 Thread Peter Xu
On Wed, Mar 20, 2019 at 10:06:14AM +0800, Peter Xu wrote: > This series implements initial write protection support for > userfaultfd. Currently both shmem and hugetlbfs are not supported > yet, but only anonymous memory. This is the 3nd version of it. > > The latest code can also be found at:

Re: [PATCH v2 2/2] mm, memory_hotplug: provide a more generic restrictions for memory hotplug

2019-04-09 Thread Michal Hocko
On Mon 08-04-19 21:30:41, Andrew Morton wrote: > On Mon, 8 Apr 2019 10:26:33 +0200 Oscar Salvador wrote: > > > arch_add_memory, __add_pages take a want_memblock which controls whether > > the newly added memory should get the sysfs memblock user API (e.g. > > ZONE_DEVICE users do not want/need

[PATCH v2 0/2] Hugetlbfs support for riscv

2019-04-09 Thread Alexandre Ghiti
This series introduces hugetlbfs support for both riscv 32/64. Riscv32 is architecturally limited to huge pages of size 4MB whereas riscv64 has 2MB/1G huge pages support. Transparent huge page support is not implemented here, I will submit another series

[PATCH v2 1/2] x86, arm64: Move ARCH_WANT_HUGE_PMD_SHARE config in arch/Kconfig

2019-04-09 Thread Alexandre Ghiti
ARCH_WANT_HUGE_PMD_SHARE config was declared in both architectures: move this declaration in arch/Kconfig and make those architectures select it. Signed-off-by: Alexandre Ghiti --- arch/Kconfig | 3 +++ arch/arm64/Kconfig | 2 +- arch/x86/Kconfig | 4 +--- 3 files changed, 5

[PATCH v2 2/2] riscv: Introduce huge page support for 32/64bit kernel

2019-04-09 Thread Alexandre Ghiti
This patch implements both 4MB huge page support for 32bit kernel and 2MB/1GB huge pages support for 64bit kernel. Signed-off-by: Alexandre Ghiti --- arch/riscv/Kconfig | 8 ++ arch/riscv/include/asm/hugetlb.h | 18 + arch/riscv/include/asm/page.h| 10

Re: [PATCH] apparmor: Restore Y/N in /sys for apparmor's "enabled"

2019-04-09 Thread David Rheinsberg
Hi On Mon, Apr 8, 2019 at 6:07 PM Kees Cook wrote: > > Before commit c5459b829b71 ("LSM: Plumb visibility into optional "enabled" > state"), /sys/module/apparmor/parameters/enabled would show "Y" or "N" > since it was using the "bool" handler. After being changed to "int", > this switched to "1"

[PATCH] perf scripts python: export-to-sqlite.py: Fix use of parent_id in calls_view

2019-04-09 Thread Adrian Hunter
Fix following error using calls_view: Query failed: ambiguous column name: parent_id Unable to execute statement Signed-off-by: Adrian Hunter Fixes: 8ce9a7251d11 ("perf scripts python: export-to-sqlite.py: Export calls parent_id") --- tools/perf/scripts/python/export-to-sqlite.py | 2 +- 1

linux-next: build failure after merge of the scsi-mkp tree

2019-04-09 Thread Stephen Rothwell
Hi all, After merging the scsi-mkp tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/scsi/qla2xxx/tcm_qla2xxx.c: In function 'tcm_qla2xxx_init_lport': drivers/scsi/qla2xxx/tcm_qla2xxx.c:1614:3: error: implicit declaration of function 'vzalloc'; did you mean

Re: [PATCH v4 1/3] firmware: xilinx: Add fpga API's

2019-04-09 Thread Michal Simek
On 08. 04. 19 19:14, Moritz Fischer wrote: > Hi Nava, > > On Tue, Apr 02, 2019 at 06:01:21PM +0530, Nava kishore Manne wrote: >> This Patch Adds fpga API's to support the Bitstream loading >> by using firmware interface. >> >> Signed-off-by: Nava kishore Manne >> --- >> Changes for v4: >>

Re: [PATCH v4 3/3] fpga manager: Adding FPGA Manager support for Xilinx zynqmp

2019-04-09 Thread Michal Simek
On 08. 04. 19 22:27, Alan Tull wrote: > On Mon, Apr 8, 2019 at 11:51 AM Moritz Fischer wrote: >> >> Hi Michal, >> >> On Mon, Apr 08, 2019 at 04:36:15PM +0200, Michal Simek wrote: >>> On 08. 04. 19 16:17, Alan Tull wrote: On Mon, Apr 8, 2019 at 7:39 AM Nava kishore Manne wrote: > >

Re: [PATCH 03/12] s390: purgatory: pass --target option to clang

2019-04-09 Thread Arnd Bergmann
On Tue, Apr 9, 2019 at 12:03 AM Nathan Chancellor wrote: > > On Mon, Apr 08, 2019 at 11:26:16PM +0200, Arnd Bergmann wrote: > > The purgatory Makefile does not inherit the original cflags, > > so clang falls back to the default target architecture when > > building it, typically this would be x86

Re: [PATCH 04/12] s390: qeth: address type mismatch warning

2019-04-09 Thread Arnd Bergmann
On Tue, Apr 9, 2019 at 12:16 AM Nathan Chancellor wrote: > > On Mon, Apr 08, 2019 at 11:26:17PM +0200, Arnd Bergmann wrote: > > clang produces a harmless warning for each use for the qeth_adp_supported > > macro: > > > > drivers/s390/net/qeth_l2_main.c:559:31: warning: implicit conversion from >

RE: [EXT] Re: [v7 3/3] ahci: qoriq: add lx2160 platforms support

2019-04-09 Thread Peng Ma
Hi Axboe, Patch link: http://patchwork.ozlabs.org/patch/1055028/ http://patchwork.ozlabs.org/patch/1054189/ Best Regards, Peng >-Original Message- >From: Jens Axboe >Sent: 2019年4月8日 23:21 >To: Peng Ma ; robh...@kernel.org; >mark.rutl...@arm.com; shawn...@kernel.org; Leo Li >Cc:

Re: [PATCH V10 2/5] pwm: Add i.MX TPM PWM driver support

2019-04-09 Thread Uwe Kleine-König
On Tue, Mar 26, 2019 at 06:52:33AM +, Anson Huang wrote: > i.MX7ULP has TPM(Low Power Timer/Pulse Width Modulation Module) > inside, it can support multiple PWM channels, all the channels > share same counter and period setting, but each channel can > configure its duty and polarity

RE: [PATCH v4 3/3] fpga manager: Adding FPGA Manager support for Xilinx zynqmp

2019-04-09 Thread Nava kishore Manne
Hi Alan, Thanks for the response. Please find my response inline. > -Original Message- > From: Alan Tull [mailto:at...@kernel.org] > Sent: Tuesday, April 9, 2019 1:57 AM > To: Moritz Fischer > Cc: Michal Simek ; Nava kishore Manne > ; Rob Herring ; Mark Rutland > ; Rajan Vaja ; Jolly

Re: [PATCH 05/22] watchdog: bcm2835_wdt: drop platform_set_drvdata

2019-04-09 Thread Stefan Wahren
Am 08.04.19 um 21:38 schrieb Guenter Roeck: > There is no call to platform_get_drvdata() in the driver, > so platform_set_drvdata() is unnecessary and can be dropped. > > The conversion was done automatically with coccinelle using the > following semantic patches. The semantic patches and the

Basics : Memory Configuration

2019-04-09 Thread Pankaj Suryawanshi
Hello, I am confuse about memory configuration and I have below questions 1. if 32-bit os maximum virtual address is 4GB, When i have 4 gb of ram for 32-bit os, What about the virtual memory size ? is it required virtual memory(disk space) or we can directly use physical memory ? 2. In 32-bit

Re: [PATCH -next] pinctrl: artpec6: Make two functions static

2019-04-09 Thread Jesper Nilsson
On Mon, Apr 08, 2019 at 11:01:10AM -0700, Nathan Chancellor wrote: > On Thu, Mar 21, 2019 at 11:09:09PM +0800, Yue Haibing wrote: > > From: YueHaibing > > -void artpec6_pmx_disable(struct pinctrl_dev *pctldev, unsigned int > > function, > > -unsigned int group) > > +static

Re: [PATCH] mtd: rawnand: Add Macronix NAND read retry and randomizer support

2019-04-09 Thread Boris Brezillon
On Tue, 9 Apr 2019 11:22:52 +0800 Mason Yang wrote: > Add a driver for Macronix NAND read retry and randomizer. These are 2 orthogonal changes, and should thus bit split in 2 patches. > > Signed-off-by: Mason Yang > --- > drivers/mtd/nand/raw/nand_macronix.c | 169 >

Re: Thoughts on simple scanner approach for free page hinting

2019-04-09 Thread David Hildenbrand
On 09.04.19 04:44, Michael S. Tsirkin wrote: > On Fri, Apr 05, 2019 at 05:09:45PM -0700, Alexander Duyck wrote: >> In addition we will need some way to identify which pages have been >> hinted on and which have not. The way I believe easiest to do this >> would be to overload the PageType value so

RE: [PATCH V2 2/5] can: flexcan: add CAN FD mode support

2019-04-09 Thread Stefan-gabriel Mirea
> From: Joakim Zhang > Sent: Tuesday, April 9, 2019 5:07 AM > Hi Stefan, > > Thanks for your validation! Could you add your test tag if you can > successfully validated? Sure, no problem. Please note that I needed to replace "flexcan_read" and "flexcan_write" with "priv->read" and

Re: [PATCH 3/3] ARM: omap2: move platform-specific asm-offset.h to arch/arm/mach-omap2

2019-04-09 Thread Masahiro Yamada
On Tue, Apr 9, 2019 at 2:17 PM Keerthy wrote: > > > > On 09/04/19 10:37 AM, Masahiro Yamada wrote: > > On Tue, Apr 9, 2019 at 2:00 PM Keerthy wrote: > >> > >> > >> > >> On 08/04/19 9:48 PM, Tony Lindgren wrote: > >>> Hi, > >>> > >>> * Masahiro Yamada [190408 07:56]: > is only generated

KASAN: use-after-free Read in snd_timer_process_callbacks

2019-04-09 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:ac5b84a1 Add linux-next specific files for 20190408 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=10ae80b720 kernel config: https://syzkaller.appspot.com/x/.config?x=42a33a21877c9c95

[PATCH v5 0/9] Introduce STMFX I2C Multi-Function eXpander

2019-04-09 Thread Amelie Delaunay
This series adds support for STMicroelectronics Multi-Function eXpander (STMFX), used on some STM32 discovery and evaluation boards. STMFX is an STM32L152 slave controller whose firmware embeds the following features: - I/O expander (16 GPIOs + 8 extra if the other features are not enabled), -

[PATCH v5 8/9] ARM: dts: stm32: add STMFX support on stm32mp157c-ev1

2019-04-09 Thread Amelie Delaunay
This patch adds support for STMicroelectronics Multi-Function eXpander (STMFX) on stm32mp157c-ev1. It is connected on i2c2. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157c-ev1.dts | 16 1 file changed, 16 insertions(+) diff --git

[PATCH v5 9/9] ARM: dts: stm32: add joystick support on stm32mp157c-ev1

2019-04-09 Thread Amelie Delaunay
The joystick (B1) on stm32mp157c-ev1 uses gpios on STMFX gpio expander. These gpios need a pin configuration (push-pull and bias-pull-down), described under stmfx_pinctrl node. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157c-ev1.dts | 44 +++ 1

[PATCH v5 4/9] pinctrl: Add STMFX GPIO expander Pinctrl/GPIO driver

2019-04-09 Thread Amelie Delaunay
This patch adds pinctrl/GPIO driver for STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander. STMFX is an I2C slave controller, offering up to 24 GPIOs. The driver relies on generic pin config interface to configure the GPIOs. Signed-off-by: Amelie Delaunay ---

[PATCH v5 6/9] ARM: dts: stm32: add joystick support on stm32746g-eval

2019-04-09 Thread Amelie Delaunay
The joystick (B3) on stm32746g-eval uses gpios on STMFX gpio expander. These gpios need a pin configuration (push-pull and bias-pull-up), described under stmfx_pinctrl node. Signed-off-by: Amelie Delaunay Acked-by: Linus Walleij --- arch/arm/boot/dts/stm32746g-eval.dts | 43

[PATCH v5 7/9] ARM: dts: stm32: add orange and blue leds on stm32746g-eval

2019-04-09 Thread Amelie Delaunay
Orange (LD2) and blue (LD4) leds on stm32746g-eval are connected on STMFX gpio expander, offset 17 and 19. Signed-off-by: Amelie Delaunay Acked-by: Linus Walleij --- arch/arm/boot/dts/stm32746g-eval.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v5 1/9] dt-bindings: mfd: Add ST Multi-Function eXpander (STMFX) core bindings

2019-04-09 Thread Amelie Delaunay
This patch adds documentation of device tree bindings for the STMicroelectronics Multi-Function eXpander (STMFX) MFD core. Signed-off-by: Amelie Delaunay Reviewed-by: Linus Walleij Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones --- Documentation/devicetree/bindings/mfd/stmfx.txt | 28

[PATCH v5 2/9] mfd: Add ST Multi-Function eXpander (STMFX) core driver

2019-04-09 Thread Amelie Delaunay
STMicroelectronics Multi-Function eXpander (STMFX) is a slave controller using I2C for communication with the main MCU. Main features are: - 16 fast GPIOs individually configurable in input/output - 8 alternate GPIOs individually configurable in input/output when other STMFX functions are not used

[PATCH v5 3/9] dt-bindings: pinctrl: document the STMFX pinctrl bindings

2019-04-09 Thread Amelie Delaunay
This patch adds documentation of device tree bindings for the STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander. Signed-off-by: Amelie Delaunay Reviewed-by: Linus Walleij Reviewed-by: Rob Herring --- .../devicetree/bindings/pinctrl/pinctrl-stmfx.txt | 116 +

[PATCH v5 5/9] ARM: dts: stm32: add STMFX support on stm32746g-eval

2019-04-09 Thread Amelie Delaunay
This patch adds support for STMicroelectronics Multi-Function eXpander (STMFX) on stm32746g-eval. It is connected on i2c1. Signed-off-by: Amelie Delaunay Acked-by: Linus Walleij --- arch/arm/boot/dts/stm32746g-eval.dts | 17 + 1 file changed, 17 insertions(+) diff --git

Re: [PATCH 24/27] x86/fpu: Add a fastpath to __fpu__restore_sig()

2019-04-09 Thread Thomas Gleixner
On Mon, 8 Apr 2019, Sebastian Andrzej Siewior wrote: > On 2019-04-08 19:05:56 [+0200], Thomas Gleixner wrote: > > > diff --git a/arch/x86/kernel/fpu/signal.c b/arch/x86/kernel/fpu/signal.c > > > index a5b086ec426a5..f20e1d1fffa29 100644 > > > --- a/arch/x86/kernel/fpu/signal.c > > > +++

Re: [PATCH 2/2] tty: add rpmsg driver

2019-04-09 Thread Arnaud Pouliquen
On 4/8/19 3:29 PM, xiang xiao wrote: > On Mon, Apr 8, 2019 at 8:05 PM Arnaud Pouliquen > wrote: >> >> >> >> On 4/6/19 9:56 AM, xiang xiao wrote: >>> On Sat, Apr 6, 2019 at 12:08 AM Arnaud Pouliquen >>> wrote: On 4/5/19 4:03 PM, xiang xiao wrote: > On Fri, Apr 5, 2019

Re: [PATCH V10 1/4] dt-bindings: fsl: scu: add thermal binding

2019-04-09 Thread Zhang Rui
On 二, 2019-04-09 at 05:28 +, Anson Huang wrote: > Ping... > Can anyone provide some suggestion about how to proceed next? > Hi, Eduardo, I guess you will comment on this patch, right? Or else I will take the patch following Rob' suggestion. thanks, rui > Best Regards! > Anson Huang > > >

[V3 2/2] dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs

2019-04-09 Thread Peng Ma
DPPA2(Data Path Acceleration Architecture 2) qDMA The qDMA supports channel virtualization by allowing DMA jobs to be enqueued into different frame queues. Core can initiate a DMA transaction by preparing a frame descriptor(FD) for each DMA job and enqueuing this job to a frame queue. through a

[V3 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-04-09 Thread Peng Ma
The MC exports the DPDMAI object as an interface to operate the DPAA2 QDMA Engine. The DPDMAI enables sending frame-based requests to QDMA and receiving back confirmation response on transaction completion, utilizing the DPAA2 QBMan infrastructure. DPDMAI object provides up to two priorities for

Re: [PATCH RFC 2/3] mm/memory_hotplug: Create memory block devices after arch_add_memory()

2019-04-09 Thread David Hildenbrand
On 08.04.19 12:12, David Hildenbrand wrote: > Only memory added via add_memory() and friends will need memory > block devices - only memory to be used via the buddy and to be onlined/ > offlined by user space in memory block granularity. > > Move creation of memory block devices out of

Re: [PATCH 2/2] sched: Distangle worker accounting from rq lock

2019-04-09 Thread Sebastian Andrzej Siewior
On 2019-04-08 12:45:05 [-0700], Tejun Heo wrote: > Hello, Hi, … > This looks good from wq side. Peter, are you okay with routing this > through the wq tree? If you wanna take it through the sched tree, > please feel free to add Thank you. > Acked-by: Tejun Heo > > Thanks. Sebastian

Re: [PATCH v2] kbuild: use -flive-patching when CONFIG_LIVEPATCH is enabled

2019-04-09 Thread Petr Mladek
On Thu 2019-04-04 15:18:55, Josh Poimboeuf wrote: > On Thu, Apr 04, 2019 at 08:44:11PM +0200, Miroslav Benes wrote: > > GCC 9 introduces a new option, -flive-patching. It disables certain > > optimizations which could make a compilation unsafe for later live > > patching of the running kernel. > >

RE: [PATCH v1 bitops] bitops: Fix UBSAN undefined behavior warning for rotation right

2019-04-09 Thread Vadim Pasternak
> -Original Message- > From: Andrew Morton > Sent: Tuesday, April 09, 2019 1:52 AM > To: Vadim Pasternak > Cc: jacek.anaszew...@gmail.com; pa...@ucw.cz; linux-kernel@vger.kernel.org; > linux-l...@vger.kernel.org; Ido Schimmel ; Andrey > Ryabinin > Subject: Re: [PATCH v1 bitops]

Re: [PATCH 2/7] watchdog/sbsa: Use arch_timer_read_counter instead of arch_counter_get_cntvct

2019-04-09 Thread Marc Zyngier
On 08/04/2019 19:07, Guenter Roeck wrote: > On Mon, Apr 08, 2019 at 04:49:02PM +0100, Marc Zyngier wrote: >> Only arch_timer_read_counter will guarantee that workarounds are >> applied. So let's use this one instead of arch_counter_get_cntvct. >> >> Signed-off-by: Marc Zyngier > > Reviewed-by:

Re: [PATCH RESEND v4 3/4] ARM: dts: sunxi: Add R_LRADC support for A83T

2019-04-09 Thread Maxime Ripard
On Mon, Apr 08, 2019 at 02:09:01PM +0200, Ondřej Jirman wrote: > Hello Maxime, > > On Mon, Apr 08, 2019 at 10:00:56AM +0200, Maxime Ripard wrote: > > On Wed, Mar 27, 2019 at 03:33:38AM +0100, meg...@megous.com wrote: > > > From: Ziping Chen > > > > > > Allwinner A83T SoC has a low res adc like

Re: [PATCH 4/4] mm: swapoff: shmem_unuse() stop eviction without igrab()

2019-04-09 Thread Konstantin Khlebnikov
On 08.04.2019 23:01, Hugh Dickins wrote: The igrab() in shmem_unuse() looks good, but we forgot that it gives no protection against concurrent unmounting: a point made by Konstantin Khlebnikov eight years ago, and then fixed in 2.6.39 by 778dd893ae78 ("tmpfs: fix race between umount and

Re: [PATCH][next] acpi/hmat: fix uninitialized pointer dereference on pointer 'target'

2019-04-09 Thread Rafael J. Wysocki
On Fri, Apr 5, 2019 at 4:12 PM Colin King wrote: > > From: Colin Ian King > > The pointer 'target' is not initialized and is only assigned when the > ACPI_HMAT_MEMORY_PD_VALID bit in p->flags is set. There is a later null > check on target that leads to an uninitialized pointer read and >

Re: [PATCH 1/2] dt-bindings: clock: Add binding documentation for TI syscon gate clock

2019-04-09 Thread Vignesh Raghavendra
Hi Rob, On 28/03/19 6:01 PM, Rob Herring wrote: > On Tue, Mar 12, 2019 at 02:35:17PM +0530, Vignesh Raghavendra wrote: >> Add dt bindings for TI syscon gate clock. >> >> Signed-off-by: Vignesh Raghavendra >> --- >> .../bindings/clock/ti,syscon-gate-clock.txt | 35 +++ >> 1

Re: [PATCH linux-next v9 1/7] nds32: fix asm/syscall.h

2019-04-09 Thread Greentime Hu
Dmitry V. Levin 於 2019年4月9日 週二 上午1:41寫道: > > All syscall_get_*() and syscall_set_*() functions must be defined > as static inline as on all other architectures, otherwise asm/syscall.h > cannot be included in more than one compilation unit. > > This bug has to be fixed in order to extend the

linux-next: Tree for Apr 9

2019-04-09 Thread Stephen Rothwell
Hi all, Changes since 20190408: The mac80211-next tree gained a conflict against the mac80211 tree. The drm tree still had its build failure for which I disabled a driver. The drm-misc tree gained conflicts against the drm tree and also a build failure for which I marked a driver as BROKEN.

Re: [PATCH v1 bitops] bitops: Fix UBSAN undefined behavior warning for rotation right

2019-04-09 Thread Rasmus Villemoes
On 09/04/2019 00.52, Andrew Morton wrote: > (resend, cc Andrey) > > On Sun, 7 Apr 2019 12:53:25 + Vadim Pasternak > wrote: > >> The warning is caused by call to rorXX(), if the second parameters of >> this function "shift" is zero. In such case UBSAN reports the warning >> for the next

Re: [PATCH 2/2] dt-bindings: cpufreq: Document operating-points-v2-sunxi-cpu

2019-04-09 Thread Maxime Ripard
On Tue, Apr 09, 2019 at 12:13:58AM +0800, Frank Lee wrote: > On Fri, Apr 5, 2019 at 10:55 PM Maxime Ripard > wrote: > > > > Hi, > > > > On Fri, Apr 05, 2019 at 06:24:55AM -0400, Yangtao Li wrote: > > > Allwinner Process Voltage Scaling Tables defines the voltage and > > > frequency value based

Re: [PATCH 2/2] sched: Distangle worker accounting from rq lock

2019-04-09 Thread Peter Zijlstra
On Mon, Apr 08, 2019 at 12:45:05PM -0700, Tejun Heo wrote: > Hello, > > On Wed, Mar 13, 2019 at 05:55:48PM +0100, Sebastian Andrzej Siewior wrote: > > From: Thomas Gleixner > > > > The worker accounting for CPU bound workers is plugged into the core > > scheduler code and the wakeup code. This

Re: [PATCH v3 0/3] arm64: dts: g12a: Add peripherals

2019-04-09 Thread Neil Armstrong
On 01/04/2019 13:51, Neil Armstrong wrote: > On 25/03/2019 11:03, Neil Armstrong wrote: >> Add following peripherals : >> - SAR-ADC >> - USB >> - Mali GPU >> >> Dependencies : >> - ADC >> >> Depends on CLKID_AO_SAR_ADC_SEL, stable clk headers tags will be >> available after v5.1-rc4 >> >> Bindings

Re: Tracehooks in scheduler

2019-04-09 Thread Qais Yousef
(+ LKML) Apologies forgot to CC the list. On 04/07/19 18:52, Qais Yousef wrote: > Hi Steve, Peter > > I know the topic has sprung up in the past but I couldn't find anything that > points into any conclusion. > > As far as I understand new TRACE_EVENTS() in the scheduler (and probably other >

Re: [PATCH -next] acpi/hmat: fix memory leaks in hmat_init()

2019-04-09 Thread Rafael J. Wysocki
On Sat, Apr 6, 2019 at 8:18 PM Qian Cai wrote: > > The commit 665ac7e92757 ("acpi/hmat: Register processor domain to its > memory") introduced some memory leaks below due to it fails to release > the heap memory in an error path, and then the stack __initdata memory > which reference them get

Re: WARN_ON_ONCE() hit at kernel/events/core.c:330

2019-04-09 Thread Peter Zijlstra
On Tue, Apr 09, 2019 at 08:07:49AM +0200, Thomas-Mich Richter wrote: > On 4/8/19 11:50 AM, Peter Zijlstra wrote: > > On Mon, Apr 08, 2019 at 10:22:29AM +0200, Peter Zijlstra wrote: > >> On Mon, Apr 08, 2019 at 09:12:28AM +0200, Thomas-Mich Richter wrote: > > > >>> very good news, your fix ran

RE: [PATCH 04/12] misc: xilinx_sdfec: Add open, close and ioctl

2019-04-09 Thread Dragan Cvetic
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Tuesday 19 March 2019 19:46 > To: Dragan Cvetic > Cc: gregkh ; Michal Simek ; > Derek Kiernan ; Linux ARM > ; Linux Kernel Mailing List > > Subject: Re: [PATCH 04/12] misc: xilinx_sdfec: Add open, close and

Re: [PATCH] x86: mm: Do not use set_{pud,pmd}_safe when splitting the large page

2019-04-09 Thread Peter Zijlstra
On Mon, Apr 08, 2019 at 07:11:21PM +, Singh, Brijesh wrote: > The following commit 0a9fe8ca844d ("x86/mm: Validate > kernel_physical_mapping_init() > PTE population") triggers the below warning in the SEV guest. > > WARNING: CPU: 0 PID: 0 at arch/x86/include/asm/pgalloc.h:87 >

Re: [PATCH 4/6] ARM: dts: sun8i: a83t: Add device node for CSI (Camera Sensor Interface)

2019-04-09 Thread Chen-Yu Tsai
On Tue, Apr 9, 2019 at 4:28 PM Maxime Ripard wrote: > > On Tue, Apr 09, 2019 at 04:07:34PM +0800, Chen-Yu Tsai wrote: > > On Tue, Apr 9, 2019 at 3:58 PM Maxime Ripard > > wrote: > > > On Tue, Apr 09, 2019 at 12:57:42AM +0800, Chen-Yu Tsai wrote: > > > > From: Chen-Yu Tsai > > > > > > > > The

[PATCH v2] cpufreq: stats: Use lock by stat to replace global spin lock

2019-04-09 Thread Kyle Lin
Stats is updated by each policy, using the lock by stat can reduce the contention. Signed-off-by: Kyle Lin --- Changes in v2: - Drop the comment of the lock. drivers/cpufreq/cpufreq_stats.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git

RE: [EXT] Re: [PATCH V10 2/5] pwm: Add i.MX TPM PWM driver support

2019-04-09 Thread Anson Huang
Hi, Uwe Best Regards! Anson Huang > -Original Message- > From: Uwe Kleine-König [mailto:u.kleine-koe...@pengutronix.de] > Sent: 2019年4月9日 14:48 > To: Anson Huang > Cc: thierry.red...@gmail.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; s.ha...@pengutronix.de;

Re: WARN_ON_ONCE() hit at kernel/events/core.c:330

2019-04-09 Thread Mark Rutland
On Mon, Apr 08, 2019 at 11:50:31AM +0200, Peter Zijlstra wrote: > On Mon, Apr 08, 2019 at 10:22:29AM +0200, Peter Zijlstra wrote: > > On Mon, Apr 08, 2019 at 09:12:28AM +0200, Thomas-Mich Richter wrote: > > > > very good news, your fix ran over the weekend without any hit!!! > > > > > > Thanks

RE: [PATCH v4 1/3] firmware: xilinx: Add fpga API's

2019-04-09 Thread Nava kishore Manne
Hi Moritz, Thanks for the quick response. Please find my response inline > -Original Message- > From: Michal Simek [mailto:michal.si...@xilinx.com] > Sent: Tuesday, April 9, 2019 12:04 PM > To: Moritz Fischer ; Nava kishore Manne > > Cc: at...@kernel.org; robh...@kernel.org;

Re: [PATCH v3 1/7] clkdev: Hold clocks_mutex while iterating clocks list

2019-04-09 Thread Russell King - ARM Linux admin
On Tue, Apr 09, 2019 at 05:31:48AM +, Vaittinen, Matti wrote: > On Mon, 2019-04-08 at 23:21 +0100, Russell King - ARM Linux admin > wrote: > > On Mon, Apr 08, 2019 at 10:00:02AM -0700, Stephen Boyd wrote: > > > Quoting Matti Vaittinen (2019-04-08 03:49:41) > > > > On Fri, Apr 05, 2019 at

Re: [PATCH v1 bitops] bitops: Fix UBSAN undefined behavior warning for rotation right

2019-04-09 Thread Rasmus Villemoes
On 09/04/2019 10.08, Rasmus Villemoes wrote: > one could do > > u32 ror32(u32 x, unsigned s) > { > return (x >> (s&31)) | (x << ((32-s)&31)); > } > > to make the shifts always well-defined and also work as expected for s > >= 32... if only gcc recognized that the masking is redundant, so

Re: [PATCH v2 17/21] drivers: Remove explicit invocations of mmiowb()

2019-04-09 Thread Nicholas Piggin
Linus Torvalds's on April 6, 2019 1:50 am: > On Fri, Apr 5, 2019 at 4:01 AM Will Deacon wrote: >> >> mmiowb() is now implied by spin_unlock() on architectures that require >> it, so there is no reason to call it from driver code. This patch was >> generated using coccinelle: >> >>

Re: [PATCH] modpost: make KBUILD_MODPOST_WARN also configurable for external modules

2019-04-09 Thread Masahiro Yamada
Hi. On Mon, Apr 8, 2019 at 5:03 PM Wiebe, Wladislav (Nokia - DE/Ulm) wrote: > > Hi! > > On 07.04.2019 11:04, Masahiro Yamada wrote: > > (+CC Jonas Gorski) > > > > > > On Tue, Mar 26, 2019 at 6:58 PM Wiebe, Wladislav (Nokia - DE/Ulm) > > wrote: > >> > >> Commit ea837f1c0503 ("kbuild: make

[PATCH v2 1/3] ARM: dts: stm32: add stpmic1 support on stm32mp157c ed1 board

2019-04-09 Thread Pascal PAILLET-LME
This patch adds stpmic1 support on stm32mp157c ed1 board. The STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. The DMAs are disabled because the PMIC generates a very few traffic and DMA channels may lack

[PATCH v2 0/3] Add support for STPMIC1

2019-04-09 Thread Pascal PAILLET-LME
Add support for STPMIC1 on: - stm32mp157c ed1 board - stm32mp157a dk1 board - arm multi_v7_defconfig Pascal Paillet (3): changes in v2: * Describe why we disable the DMAs for PMIC ARM: dts: stm32: add stpmic1 support on stm32mp157c ed1 board ARM: dts: stm32: add stpmic1 support on

[PATCH v2 3/3] ARM: multi_v7_defconfig: Enable support for STPMIC1

2019-04-09 Thread Pascal PAILLET-LME
STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. Signed-off-by: Pascal Paillet --- arch/arm/configs/multi_v7_defconfig | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v2 2/3] ARM: dts: stm32: add stpmic1 support on stm32mp157a dk1 board

2019-04-09 Thread Pascal PAILLET-LME
This patch adds stpmic1 support on stm32mp157a dk1 board. The STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. The DMAs are disabled because the PMIC generates a very few traffic and DMA channels may lack

[PATCH] tools lib traceevent: Fix missing equality check for strcmp

2019-04-09 Thread Rikard Falkeborn
There was a missing comparison with 0 when checking if type is "s64" or "u64". Therefore, the body of the if-statement was entered if "type" was "u64" or not "s64", which made the first strcmp() redundant since if type is "u64", it's not "s64". If type is "s64", the body of the if-statement is

Re: [PATCH RFC 3/3] mm/memory_hotplug: Remove memory block devices before arch_remove_memory()

2019-04-09 Thread Oscar Salvador
On Mon, Apr 08, 2019 at 12:12:26PM +0200, David Hildenbrand wrote: > Let's factor out removing of memory block devices, which is only > necessary for memory added via add_memory() and friends that created > memory block devices. Remove the devices before calling > arch_remove_memory(). > > TODO:

Re: [PATCH 09/11] drm/meson: Add G12A Video Clock setup

2019-04-09 Thread Neil Armstrong
On 09/04/2019 10:46, Jerome Brunet wrote: > On Mon, 2019-03-25 at 15:18 +0100, Neil Armstrong wrote: >> While switching to the Common Clock Framework is still Work In Progress, >> this patch adds the corresponding G12A HDMI PLL setup to be on-par >> with the other SoCs support. >> >> The G12A has

Re: Thoughts on simple scanner approach for free page hinting

2019-04-09 Thread David Hildenbrand
> With that said I have a few ideas that may help to address the 4 > issues called out above. The basic idea is simple. We use a high water > mark based on zone->free_area[order].nr_free to determine when to wake > up a thread to start hinting memory out of a given free area. From > there we

Re: [PATCH 0/4] Allow CPU0 to be nohz full

2019-04-09 Thread Nicholas Piggin
Thomas Gleixner's on April 6, 2019 3:54 am: > On Fri, 5 Apr 2019, Nicholas Piggin wrote: >> Thomas Gleixner's on April 5, 2019 12:36 am: >> > On Thu, 4 Apr 2019, Nicholas Piggin wrote: >> > >> >> I've been looking at ways to fix suspend breakage with CPU0 as a >> >> nohz CPU. I started looking at

Re: [RFC PATCH 6/9] dt-bindings: opp: Add qcom-opp bindings with properties needed for CPR

2019-04-09 Thread Viresh Kumar
On 04-04-19, 07:09, Niklas Cassel wrote: > Add qcom-opp bindings with properties needed for Core Power Reduction (CPR). > > CPR is included in a great variety of Qualcomm SoC, e.g. msm8916 and msm8996, > and was first introduced in msm8974. > > Co-developed-by: Jorge Ramirez-Ortiz >

Re: [PATCH RFC 3/3] mm/memory_hotplug: Remove memory block devices before arch_remove_memory()

2019-04-09 Thread David Hildenbrand
On 09.04.19 11:18, Oscar Salvador wrote: > On Mon, Apr 08, 2019 at 12:12:26PM +0200, David Hildenbrand wrote: >> Let's factor out removing of memory block devices, which is only >> necessary for memory added via add_memory() and friends that created >> memory block devices. Remove the devices

Re: [PATCH v2] cpufreq: stats: Use lock by stat to replace global spin lock

2019-04-09 Thread Viresh Kumar
On 09-04-19, 16:43, Kyle Lin wrote: > Stats is updated by each policy, using the lock by stat can > reduce the contention. > > Signed-off-by: Kyle Lin > --- > Changes in v2: > - Drop the comment of the lock. > > drivers/cpufreq/cpufreq_stats.c | 15 --- > 1 file changed, 8

Re: [PATCH] afs: Mark expected switch fall-throughs

2019-04-09 Thread David Howells
Kees Cook wrote: > These look good to me. Gets us another step to finishing this. :) Can we fix the compiler, please, to say that *every* case (perhaps barring the last) is expected to fall through? David

Re: [EXT] Re: [PATCH V10 2/5] pwm: Add i.MX TPM PWM driver support

2019-04-09 Thread Uwe Kleine-König
Hello, On Tue, Apr 09, 2019 at 08:51:48AM +, Anson Huang wrote: > > On Tue, Mar 26, 2019 at 06:52:33AM +, Anson Huang wrote: > > > + /* get polarity */ > > > + if (chan) { > > > + state->polarity = chan->polarity; > > > + } else { > > > + /* in case no

Re: [Xen-devel][PATCH] xen/cameraif: add ABI for para-virtual camera

2019-04-09 Thread Juergen Gross
On 09/04/2019 11:15, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > This is the ABI for the two halves of a para-virtualized > camera driver which extends Xen's reach multimedia capabilities even > further enabling it for video conferencing, In-Vehicle Infotainment, > high

Re: [PATCH 1/4] glibc: Perform rseq(2) registration at C startup and thread creation (v7)

2019-04-09 Thread Alan Modra
On Tue, Apr 09, 2019 at 02:23:53PM +1000, Michael Ellerman wrote: > I'd much rather we use a trap with a specific immediate value. Otherwise > someone's going to waste time one day puzzling over why userspace is > doing mtmsr. It's data. We have other data in executable sections. Anyone who

Dear Friend (Assalamu Alaikum),

2019-04-09 Thread AISHA GADDAFI
-- Dear Friend (Assalamu Alaikum), I came across your e-mail contact prior a private search while in need of your assistance. My name is Aisha Al-Qaddafi a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan President (Late Colonel Muammar Gaddafi).

[PATCH] irq_work: Do not raise an IPI when queueing work on the local CPU

2019-04-09 Thread Nicholas Piggin
The QEMU powerpc/pseries machine model was not expecting a self-IPI, and it may be a bit surprising thing to do, so have irq_work_queue_on do local queueing when target is the current CPU. Reported-by: Sebastian Andrzej Siewior Tested-by: Sebastian Andrzej Siewior Suggested-by: Steven Rostedt

Re: [PATCH] afs: Mark expected switch fall-throughs

2019-04-09 Thread David Howells
Gustavo A. R. Silva wrote: Please fix the compiler so that you can annotate a switch-statement to say that every case must fall through (except, perhaps, the last). > /* extract the FID array and its count in two steps */ > + /* fall through */ > case 1:

Re: [PATCH] x86: mm: Do not use set_{pud,pmd}_safe when splitting the large page

2019-04-09 Thread Peter Zijlstra
On Tue, Apr 09, 2019 at 10:40:31AM +0200, Peter Zijlstra wrote: > On Mon, Apr 08, 2019 at 07:11:21PM +, Singh, Brijesh wrote: > > The following commit 0a9fe8ca844d ("x86/mm: Validate > > kernel_physical_mapping_init() > > PTE population") triggers the below warning in the SEV guest. > > > >

Re: [PATCH v11 1/4] dmaengine: 8250_mtk_dma: add MediaTek uart DMA support

2019-04-09 Thread Long Cheng
On Sun, 2019-03-10 at 19:15 +0800, Nicolas Boichat wrote: > On Thu, Mar 7, 2019 at 9:45 AM Long Cheng wrote: > > > > In DMA engine framework, add 8250 uart dma to support MediaTek uart. > > If MediaTek uart enabled(SERIAL_8250_MT6577), and want to improve > > the performance, can enable the

Re: [PATCH v4 1/3] mm/vmap: keep track of free blocks for vmap allocation

2019-04-09 Thread Uladzislau Rezki
Hello, Roman. > > Reviewed-by: Roman Gushchin > > Thanks! I appreciate your effort in reviewing to make it better. Thank you! -- Uladzislau Rezki

Re: [PATCH] mtd: rawnand: Add Macronix NAND read retry and randomizer support

2019-04-09 Thread Boris Brezillon
On Tue, 9 Apr 2019 17:35:39 +0800 masonccy...@mxic.com.tw wrote: > > > + > > > +static const struct kobj_attribute sysfs_mxic_nand = > > > + __ATTR(nand_random, S_IRUGO | S_IWUSR, > > > + mxic_nand_rand_type_show, > > > + mxic_nand_rand_type_store); > > > > No, we don't

Re: [Xen-devel][PATCH] xen/cameraif: add ABI for para-virtual camera

2019-04-09 Thread Juergen Gross
On 09/04/2019 11:33, Oleksandr Andrushchenko wrote: > On 4/9/19 12:28 PM, Juergen Gross wrote: >> On 09/04/2019 11:15, Oleksandr Andrushchenko wrote: >>> From: Oleksandr Andrushchenko >>> >>> This is the ABI for the two halves of a para-virtualized >>> camera driver which extends Xen's reach

Re: [PATCH v1 bitops] bitops: Fix UBSAN undefined behavior warning for rotation right

2019-04-09 Thread Pavel Machek
Hi! > (resend, cc Andrey) > > On Sun, 7 Apr 2019 12:53:25 + Vadim Pasternak > wrote: > > > The warning is caused by call to rorXX(), if the second parameters of > > this function "shift" is zero. In such case UBSAN reports the warning > > for the next expression: (word << (XX - shift),

Re: [PATCH] mtd: rawnand: constify elements of NAND_OP_PARSER(_PATTERN)

2019-04-09 Thread Boris Brezillon
On Tue, 9 Apr 2019 13:53:32 +0900 Masahiro Yamada wrote: > Currently, drivers are able to constify a nand_op_parser array, > but not nand_op_parser_pattern and nand_op_parser_pattern_elem > since they are instantiated by using the NAND_OP_PARSER(_PATTERN). > > Add 'const' to them in order to

Re: [PATCH 05/12] s390: zcrypt: initialize variables before_use

2019-04-09 Thread Harald Freudenberger
On 08.04.19 23:26, Arnd Bergmann wrote: > The 'func_code' variable gets printed in debug statements without > a prior initialization in multiple functions, as reported when building > with clang: > > drivers/s390/crypto/zcrypt_api.c:659:6: warning: variable 'func_code' is used > uninitialized

Re: [PATCH v6] platform/chrome: Add Wilco EC keyboard backlight LEDs support

2019-04-09 Thread Pavel Machek
> The EC is in charge of controlling the keyboard backlight on > the Wilco platform. We expose a standard LED class device at > /sys/class/leds/chromeos::kbd_backlight. This driver is modeled As discussed, please use platform::.

pull request: Linux-firmware: Update cxgb4 firmware

2019-04-09 Thread Vishal Kulkarni
Hi, Kindly pull the new firmware from the following URL: git://git.chelsio.net/pub/git/linux-firmware.git for-upstream Thanks, Vishal The following changes since commit 67b75798ea88f4b1d6ee6a3b5a0634d29620c094: linux-firmware: add firmware for MT7615E (2019-04-02 08:00:12 -0400) are

[PATCH] perf stat: Disable DIR_FORMAT feature for record

2019-04-09 Thread Jiri Olsa
Arnaldo reported assertion in perf stat record: assertion failed at util/header.c:875 There's no support for this in perf state record command, disabling the feature. Reported-by: Arnaldo Carvalho de Melo Link: http://lkml.kernel.org/n/tip-2uhyh815jfwikg5uhve8l...@git.kernel.org

[PATCH v1 2/4] mm/memory_hotplug: Make unregister_memory_section() never fail

2019-04-09 Thread David Hildenbrand
Failing while removing memory is mostly ignored and cannot really be handled. Let's treat errors in unregister_memory_section() in a nice way, warning, but continuing. Cc: Greg Kroah-Hartman Cc: "Rafael J. Wysocki" Cc: Ingo Molnar Cc: Andrew Banman Cc: "mike.tra...@hpe.com" Cc: David

[PATCH v1 0/4] mm/memory_hotplug: Better error handling when removing memory

2019-04-09 Thread David Hildenbrand
Error handling when removing memory is somewhat messed up right now. Some errors result in warnings, others are completely ignored. Memory unplug code can essentially not deal with errors properly as of now. remove_memory() will never fail. We have basically two choices: 1. Allow

  1   2   3   4   5   6   >