[PATCH v4] media: docs-rst: Document m2m stateless video decoder interface

2019-03-06 Thread Alexandre Courbot
Documents the protocol that user-space should follow when communicating with stateless video decoders. The stateless video decoding API makes use of the new request and tags APIs. While it has been implemented with the Cedrus driver so far, it should probably still be considered staging for a

Intel ISH doesn't generate IRQ

2019-03-06 Thread Kai-Heng Feng
Hi, This is an old issue filed at [1]. Few days ago I noticed there’s a new commit 74fbc7d371d9 ("HID: intel-ish-hid: add MSI interrupt support”) that may solve the problem. Unfortunately it the device in question doesn’t support MSI and MSI-X, so the commit doesn’t make any difference.

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

2019-03-06 Thread Peter Xu
On Wed, Mar 06, 2019 at 03:41:06PM +0800, zhong jiang wrote: > On 2019/3/6 14:26, Mike Rapoport wrote: > > Hi, > > > > On Wed, Mar 06, 2019 at 01:53:12PM +0800, zhong jiang wrote: > >> On 2019/3/6 10:05, Andrea Arcangeli wrote: > >>> Hello everyone, > >>> > >>> [ CC'ed Mike and Peter ] > >>> > >>>

Re: [PATCH v5 2/8] clk: samsung: add new clocks for DMC for Exynos5422 SoC

2019-03-06 Thread Chanwoo Choi
Hi Lukasz, You are missing some answer on v4 patch[1] and then send the patch without modification. On many times, I mentioned that please answer from the comment. Please check the comments from reviewers carefully without any lost. - [v4,2/8] clk: samsung: add new clocks for DMC for Exynos5422

Re: [PATCH] vsock/virtio: fix kernel panic from virtio_transport_reset_no_sock

2019-03-06 Thread Stefano Garzarella
Hi Adalbert, thanks for catching this issue, I have a comment below. On Tue, Mar 05, 2019 at 08:01:45PM +0200, Adalbert Lazăr wrote: > Previous to commit 22b5c0b63f32 ("vsock/virtio: fix kernel panic after device > hot-unplug"), > vsock_core_init() was called from virtio_vsock_probe(). Now, >

[PATCH] f2fs: remove wrong comment in f2fs_invalidate_page()

2019-03-06 Thread Chao Yu
Since 8c242db9b8c0 ("f2fs: fix stale ATOMIC_WRITTEN_PAGE private pointer"), we've started to not skip clear private flag for atomic_write page truncation, so removing old wrong comment in f2fs_invalidate_page(). Signed-off-by: Chao Yu --- fs/f2fs/data.c | 1 - 1 file changed, 1 deletion(-)

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

2019-03-06 Thread Mike Rapoport
On Wed, Mar 06, 2019 at 03:41:06PM +0800, zhong jiang wrote: > On 2019/3/6 14:26, Mike Rapoport wrote: > > Hi, > > > > On Wed, Mar 06, 2019 at 01:53:12PM +0800, zhong jiang wrote: > >> On 2019/3/6 10:05, Andrea Arcangeli wrote: > >>> Hello everyone, > >>> > >>> [ CC'ed Mike and Peter ] > >>> > >>>

Re: [PATCH v3] x86/gart/kcore: Exclude GART aperture from kcore

2019-03-06 Thread Kairui Song
On Fri, Mar 1, 2019 at 7:12 AM Jiri Bohac wrote: > > On Wed, Feb 13, 2019 at 04:28:00PM +0800, Kairui Song wrote: > > @@ -465,6 +472,12 @@ read_kcore(struct file *file, char __user *buffer, > > size_t buflen, loff_t *fpos) > > goto out; > > } >

Re: [PATCH] ARM: qcom_defconfig: add options for LG Nexus 5 phone

2019-03-06 Thread Andy Gross
On Sun, Feb 10, 2019 at 07:16:57AM -0500, Brian Masney wrote: > Add wcn36xx wireless, msm vibrator, pm8941 power key, bq24190 charger, > spmi-iadc, spmi-vadc, mpu6515 gyroscope / accelerometer, and tsl2772 > proximity / light drivers as modules to support the LG Nexus 5 > (hammerhead) phone. > >

Re: [PATCH for 5.1 0/3] Restartable Sequences updates for 5.1

2019-03-06 Thread Peter Zijlstra
On Tue, Mar 05, 2019 at 05:32:10PM -0500, Mathieu Desnoyers wrote: > - On Mar 5, 2019, at 4:58 PM, Peter Zijlstra pet...@infradead.org wrote: > > > On Tue, Mar 05, 2019 at 03:18:35PM -0500, Mathieu Desnoyers wrote: > >> * NUMA node ID in TLS > >> > >> Having the NUMA node ID available in a

RE: [PATCH] arm64: dts: ls1028a: add pmu dt nodes

2019-03-06 Thread Alison Wang
Hi, Shawn, > On Wed, Feb 27, 2019 at 09:57:52AM +0800, Alison Wang wrote: > > This patch adds pmu dt nodes for LS1028A. > > > > Signed-off-by: Alison Wang > > --- > > arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi |5 + > > 1 files changed, 5 insertions(+), 0 deletions(-) > > > > diff

[PATCH v2] arm64: dts: ls1028a: Add pmu dt nodes

2019-03-06 Thread Alison Wang
This patch adds pmu dt nodes for LS1028A. Signed-off-by: Alison Wang --- Changes in v2: - Update compatible property. arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

Re: [PATCH for 5.1 0/3] Restartable Sequences updates for 5.1

2019-03-06 Thread Peter Zijlstra
On Tue, Mar 05, 2019 at 05:32:10PM -0500, Mathieu Desnoyers wrote: > >> * Adaptative mutex improvements > >> > >> I have done a prototype using rseq to implement an adaptative mutex which > >> can detect preemption using a rseq critical section. This ensures the > >> thread doesn't continue to

Re: [PATCH] net/sched: avoid unused-label warning

2019-03-06 Thread Arnd Bergmann
On Wed, Mar 6, 2019 at 1:28 AM Cong Wang wrote: > On Mon, Mar 4, 2019 at 12:40 PM Arnd Bergmann wrote: > > diff --git a/net/sched/act_tunnel_key.c b/net/sched/act_tunnel_key.c > > index 2a5f215ae876..3beb4717d3b7 100644 > > --- a/net/sched/act_tunnel_key.c > > +++ b/net/sched/act_tunnel_key.c >

Re: [PATCH] vsock/virtio: fix kernel panic from virtio_transport_reset_no_sock

2019-03-06 Thread Stefan Hajnoczi
On Tue, Mar 05, 2019 at 08:01:45PM +0200, Adalbert Lazăr wrote: Thanks for the patch, Adalbert! Please add a Signed-off-by tag so your patch can be merged (see Documentation/process/submitting-patches.rst Chapter 11 for details on the Developer's Certificate of Origin). > static int

[PATCH v3] posix-cpu-timers: Avoid undefined behaviour in timespec64_to_ns()

2019-03-06 Thread Xiongfeng Wang
When I ran Syzkaller testsuite, I got the following call trace. UBSAN: Undefined behaviour in ./include/linux/time64.h:120:27 signed integer overflow: 8243129037239968815 * 10 cannot be represented in type

Re: False positive "do_IRQ: #.55 No irq handler for vector" messages on AMD ryzen based laptops

2019-03-06 Thread Hans de Goede
Hi, On 05-03-19 20:54, Borislav Petkov wrote: On Tue, Mar 05, 2019 at 08:40:02PM +0100, Hans de Goede wrote: Finger pointing at the firmware if there are multiple vendors involved is really not going to help here. Esp. since most OEMs will just respond with "the machine works fine with

Re: [PATCH v3] io: accel: kxcjk1013: restore the range after resume.

2019-03-06 Thread Hans de Goede
Hi, On 06-03-19 03:32, Chen, Hu wrote: From: "he, bo" On some laptops, kxcjk1013 is powered off when system enters S3. We need restore the range regiter during resume. Otherwise, the sensor doesn't work properly after S3. Signed-off-by: he, bo Signed-off-by: Chen, Hu Thanks, patch looks

[PATCH] sched: fair: fix missed CONFIG_SCHEDSTATS

2019-03-06 Thread Yafang Shao
When I'm using trace_sched_stat_{iowait, blocked, wait, sleep} to measure how long the processes are stalled, there's always no output from trace_pipe while there're really some tasks in uninterruptible sleep state. That makes me confused, so I try to investigate why. Finally I find the reason is

Re: [PATCH v2] x86/gart/kcore: Exclude GART aperture from kcore

2019-03-06 Thread Kairui Song
On Tue, Feb 19, 2019 at 4:00 PM Kairui Song wrote: > > On Thu, Jan 24, 2019 at 10:17 AM Baoquan He wrote: > > > > On 01/23/19 at 10:50pm, Kairui Song wrote: > > > > > int fix_aperture __initdata = 1; > > > > > > > > > > -#ifdef CONFIG_PROC_VMCORE > > > > > +#if defined(CONFIG_PROC_VMCORE) ||

Kernel bug with MPX?

2019-03-06 Thread Richard Biener
Hi, I've reported this internally but got directed here, hopefully the correct forum for bugreporting. When running the gcc.target/i386/mpx/memmove-1.c testcase from the GCC 8 branch on MPX capable hardware the testcase faults and the kernel log reports the following: [1216548.787494] BUG:

[PATCH 8/8] iio: adc: stm32-dfsdm: claim direct mode for raw read and settings

2019-03-06 Thread Fabrice Gasnier
Claim direct mode to ensure no buffer mode is in use for: - single conversion - sample rate setting (must be set when filter isn't enabled). - oversampling ratio (must be set when filter isn't enabled). Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/stm32-dfsdm-adc.c | 17 -

[PATCH 0/8] iio: adc: stm32-dfsdm: add buffer modes

2019-03-06 Thread Fabrice Gasnier
This patchset adds support for buffer modes, scan mode and triggers in STM32 DFSDM ADC driver: - 1st patch is an improvement - Patch 2 to 5 are basically precursor patchs that reworks the way to configure the dfsdm for the audio part, so it can be common with the iio part. - Last patchs add

[PATCH 2/8] iio: adc: stm32-dfsdm: continuous mode depends on current mode

2019-03-06 Thread Fabrice Gasnier
DFSDM regular continuous mode usage depends on current mode (not DMA): - for single conversion, RCONT doesn't need to be set. - for buffer mode, RCONT has to be set (e.g. INDIO_BUFFER_SOFTWARE used by audio currently). This is related to filter configuration, move it to relevant routine. This

[PATCH 6/8] iio: adc: stm32-dfsdm: add support for scan mode

2019-03-06 Thread Fabrice Gasnier
In order to support multiple channels in buffer mode, add support for scan mode. This is precursor patch to ease support of triggered buffer mode. Currently, only audio uses buffer mode: Regular continuous conversions with a single channel (per filter). DFSDM hardware supports scan mode (only)

[PATCH 7/8] iio: adc: stm32-dfsdm: add support for buffer modes

2019-03-06 Thread Fabrice Gasnier
DFSDM can operate using these buffer modes: - INDIO_BUFFER_SOFTWARE: regular continuous conversions (no trigger) but limited to 1 channel. User can set sampling frequency in this case. - INDIO_BUFFER_TRIGGERED: triggered conversions (injected with or without scan mode, resp for one or more

[PATCH 5/8] iio: adc: stm32-dfsdm: enable hw consumer

2019-03-06 Thread Fabrice Gasnier
Optionally enable IIO hw consumer, when provided (e.g. for DFSDM_IIO type). This is precursor patch to introduce buffer modes. Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/stm32-dfsdm-adc.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git

[PATCH 4/8] iio: adc: stm32-dfsdm: move dma slave config to start routine

2019-03-06 Thread Fabrice Gasnier
Move DMA slave configuration to start routine: depending on regular or injected mode is in use, DMA needs to read resp. RDATAR or JDATAR. This is precursor patch to introduce injected mode (used for scan). Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/stm32-dfsdm-adc.c | 31

[PATCH 1/8] iio: adc: stm32-dfsdm: make spi_master_freq more accurate

2019-03-06 Thread Fabrice Gasnier
When SPI clock isn't accurate, 'spi_master_freq' is filled in with expected frequency. Use computed value instead: - e.g. source clock / (CKOUTDIV + 1) Also, current divider may be set to value that makes CKOUT to exceed spi-max-frequency. Rather use lower value (e.g. round up divider when ckout

[PATCH 3/8] iio: adc: stm32-dfsdm: move dma enable from start_conv() to start_dma()

2019-03-06 Thread Fabrice Gasnier
Move DMA enable (e.g. set RDMAEN bit) away from start_conv() that is used for both buffer and single conversions. Thus, single conv rely on interrupt, not dma. Note: take care to prepare all DMA stuff and set RDMAEN before starting filter (can be set only when DFEN=0). This is precursor patch to

[PATCH v2] misc: rtsx: Enable OCP for rts522a rts524a rts525a rts5260

2019-03-06 Thread ricky_wu
From: RickyWu this enables and adds OCP function for Realtek A series cardreader chips and fixes some OCP flow in rts5260.c Signed-off-by: RickyWu --- drivers/misc/cardreader/rts5227.c | 64 +++--- drivers/misc/cardreader/rts5249.c | 32 +-- drivers/misc/cardreader/rts5260.c |

Re: [PATCH] i2c: sis630: correct format strings

2019-03-06 Thread Jean Delvare
Hi Louis, On Sat, 2 Mar 2019 14:18:36 +, Louis Taylor wrote: > When compiling with -Wformat, clang warns: > > drivers/i2c/busses/i2c-sis630.c:482:4: warning: format specifies type > 'unsigned short' but the argument has type 'int' [-Wformat] > smbus_base +

Re: [PATCH 1/4] mmc: mmci: avoid fake busy polling

2019-03-06 Thread Ulf Hansson
On Tue, 5 Mar 2019 at 17:10, Ludovic Barre wrote: > > From: Ludovic Barre > > The busy status bit could occurred even if no busy response is > expected (example cmd11). On sdmmc variant, the busy_detect_flag > reflects inverted value of d0 state, it's sampled at the end of a > CMD response and a

Мотивиран персонал

2019-03-06 Thread Martin Adamov
Здравейте, Ваучерите за храна се нареждат сред любимите социални придобивки на работещите хора и сред най-предпочитаните начини за стимулиране от работодателите. Те подобряват ефективността и производителността на Вашите служители. Благодарение на ваучерите за храна реализирате спестявания –

Re: [PATCH v2] x86/gart/kcore: Exclude GART aperture from kcore

2019-03-06 Thread Baoquan He
On 03/06/19 at 04:48pm, Kairui Song wrote: > On Tue, Feb 19, 2019 at 4:00 PM Kairui Song wrote: > Hi Baoquan, after second thought, vmcore and kcore are doing similar > thing but still quite independent of each, didn't see any simple way > to share the logic. > And for the following naming issue

Re: [PATCH 1/4] mmc: mmci: avoid fake busy polling

2019-03-06 Thread Ludovic BARRE
Hi Ulf On 3/6/19 10:00 AM, Ulf Hansson wrote: On Tue, 5 Mar 2019 at 17:10, Ludovic Barre wrote: From: Ludovic Barre The busy status bit could occurred even if no busy response is expected (example cmd11). On sdmmc variant, the busy_detect_flag reflects inverted value of d0 state, it's

[PATCH 1/2] ASoC: mediatek: Fix UBSAN warning.

2019-03-06 Thread Pi-Hsun Shih
In sound/soc/mediatek/common/mtk-afe-fe-dai.c, when xxx_reg is -1, it's a no-op to call mtk_regmap_update_bits, but since both xxx_reg and xxx_shift are set to -1, the (1 << xxx_shift) in the argument would trigger a UBSAN warning. Fix the warning by setting those xxx_shift to 0 instead. Note

[PATCH 2/2] ASoC: mediatek: Reduce repititive code on mtk_regmap_update_bits.

2019-03-06 Thread Pi-Hsun Shih
Change the signature of mtk_regmap_update_bits to also take a shift, and warn when reg >= 0 but shift < 0. This reduce the code repetition on the calling side, and prevent future UBSAN warning when some of the xxx_shift and xxx_reg are both set to -1. Signed-off-by: Pi-Hsun Shih ---

[PATCH 0/2] Fix UBSAN warning in mtk-afe-fe-dai

2019-03-06 Thread Pi-Hsun Shih
This fix a UBSAN warning on mediatek mtk-afe-fe-dai, and also clean up code to prevent new config introduce the UBSAN warning again. Pi-Hsun Shih (2): ASoC: mediatek: Fix UBSAN warning. ASoC: mediatek: Reduce repititive code on mtk_regmap_update_bits.

Re

2019-03-06 Thread Ms.Ella Golan
I am Ms.Ella Golan, I am the Executive Vice President Banking Division with FIRST INTERNATIONAL BANK OF ISRAEL LTD (FIBI). I am getting in touch with you regarding an extremely important and urgent matter. If you would oblige me the opportunity, I shall provide you with details upon your

Re: [PATCH 2/2] mm/dax: Don't enable huge dax mapping by default

2019-03-06 Thread Aneesh Kumar K.V
Dan Williams writes: > On Thu, Feb 28, 2019 at 1:40 AM Oliver wrote: >> >> On Thu, Feb 28, 2019 at 7:35 PM Aneesh Kumar K.V >> wrote: >> > >> > Add a flag to indicate the ability to do huge page dax mapping. On >> > architecture >> > like ppc64, the hypervisor can disable huge page support in

[GIT PULL] x86/alternatives changes for v5.1

2019-03-06 Thread Ingo Molnar
Linus, Please pull the latest x86-alternatives-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-alternatives-for-linus # HEAD: 093ae8f9a86a974c920b613860f1f7fd5bbd70ab x86/TSC: Use RDTSCP Small RDTSCP opimization, enabled by the newly added

Linux 4.14.105

2019-03-06 Thread Greg KH
I'm announcing the release of the 4.14.105 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

Linux 4.9.162

2019-03-06 Thread Greg KH
I'm announcing the release of the 4.9.162 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.162

2019-03-06 Thread Greg KH
diff --git a/Makefile b/Makefile index 239b74a7147b..fce163d09139 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 161 +SUBLEVEL = 162 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arc/include/asm/bitops.h b/arch/arc/include/asm/bitops.h

Linux 4.19.27

2019-03-06 Thread Greg KH
I'm announcing the release of the 4.19.27 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web

Re: Linux 4.14.105

2019-03-06 Thread Greg KH
diff --git a/Makefile b/Makefile index 967692b8941f..d5375891a7eb 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 104 +SUBLEVEL = 105 EXTRAVERSION = NAME = Petit Gorille diff --git

Re: Linux 4.19.27

2019-03-06 Thread Greg KH
diff --git a/Makefile b/Makefile index b71076cecba9..70ed9a53558a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 26 +SUBLEVEL = 27 EXTRAVERSION = NAME = "People's Front" diff --git

Linux 4.20.14

2019-03-06 Thread Greg KH
I'm announcing the release of the 4.20.14 kernel. All users of the 4.20 kernel series must upgrade. The updated 4.20.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.20.y and can be browsed at the normal kernel.org git web

Re: Linux 4.20.14

2019-03-06 Thread Greg KH
diff --git a/Makefile b/Makefile index c83abc1e689b..f7baaa0a3164 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 20 -SUBLEVEL = 13 +SUBLEVEL = 14 EXTRAVERSION = NAME = Shy Crocodile diff --git a/arch/arc/include/asm/bitops.h

Re: [PATCH 2/2] arm64: allwinner: a64: Add Oceanic A64-5inMFD initial support

2019-03-06 Thread Maxime Ripard
On Tue, Mar 05, 2019 at 04:35:04PM +, Ryan Pannell wrote: > We don't mind if it has to be: > compatible = "oceanic,5inmfd", "allwinner,sun50i-a64"; > > However, to avoid confusion, might it be worth including the part number (We > list this as '5205 5" MFD') so this would become: >

Re: [PATCH v2 6/7] perf script python: add Python3 support to sql scripts

2019-03-06 Thread Adrian Hunter
On 2/03/19 3:19 AM, Tony Jones wrote: > Support both Python2 and Python3 in the exported-sql-viewer.py, > export-to-postgresql.py and export-to-sqlite.py scripts > > There may be differences in the ordering of output lines due to > differences in dictionary ordering etc. However the format

Re: [PATCH v2] aio: add check for timeout to aviod invalid value

2019-03-06 Thread Tan Xiaojun
Any comments? Anything is fine to me. Thanks. Xiaojun. On 2019/2/25 18:09, Tan Xiaojun wrote: > Syzkaller reported a UBSAN bug below, which was mainly caused by a large > negative number passed to the timeout of the io_getevents system call. > >

Re: [PATCH 13/13] regulator: wm831x ldo: Fix notifier mutex lock warning

2019-03-06 Thread Charles Keepax
On Tue, Feb 26, 2019 at 03:54:01PM +, Steve Twiss wrote: > The mutex for the regulator_dev must be controlled by the caller of > the regulator_notifier_call_chain(), as described in the comment > for that function. > > Failure to mutex lock and unlock surrounding the notifier call results >

Re: [PATCH 12/13] regulator: wm831x isink: Fix notifier mutex lock warning

2019-03-06 Thread Charles Keepax
On Tue, Feb 26, 2019 at 03:51:28PM +, Steve Twiss wrote: > The mutex for the regulator_dev must be controlled by the caller of > the regulator_notifier_call_chain(), as described in the comment > for that function. > > Failure to mutex lock and unlock surrounding the notifier call results >

Re: [PATCH 11/13] regulator: wm831x: Fix notifier mutex lock warning

2019-03-06 Thread Charles Keepax
On Tue, Feb 26, 2019 at 03:48:46PM +, Steve Twiss wrote: > The mutex for the regulator_dev must be controlled by the caller of > the regulator_notifier_call_chain(), as described in the comment > for that function. > > Failure to mutex lock and unlock surrounding the notifier call results >

Re: [PATCH v2 5/7] perf script python: add Python3 support to intel-pt-events.py

2019-03-06 Thread Adrian Hunter
On 5/03/19 6:19 PM, Tony Jones wrote: > On 3/5/19 8:10 AM, Tony Jones wrote: > >> >> Sure enough, I managed to attach the wrong patch. Sorry. I'll attach revised >> (v3) >> to this thread as the change is trivial. > > From: Tony Jones > Date: Tue, 05 Mar 2019 08:31:30 -0800 > Subject: [PATCH

[PATCH v3] f2fs: fix to add refcount once page is tagged PG_private

2019-03-06 Thread Chao Yu
As Gao Xiang reported in bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=202749 f2fs may skip pageout() due to incorrect page reference count. The problem here is that MM defined the rule [1] very clearly that once page was set with PG_private flag, we should increment the refcount in

Re: Smarter Kconfig help

2019-03-06 Thread Mark Rutland
On Tue, Mar 05, 2019 at 05:31:12PM +, Russell King - ARM Linux admin wrote: > Guys, Hi Russell, > We need to be smarter when writing Kconfig help. I'm just going > through updating my build trees with the results of 5.0 development, > and a number of the help texts are next to useless. For

Re: [PATCH 2/2] arm64: allwinner: a64: Add Oceanic A64-5inMFD initial support

2019-03-06 Thread Jagan Teki
On Wed, Mar 6, 2019 at 2:57 PM Maxime Ripard wrote: > > On Tue, Mar 05, 2019 at 04:35:04PM +, Ryan Pannell wrote: > > We don't mind if it has to be: > > compatible = "oceanic,5inmfd", "allwinner,sun50i-a64"; > > > > However, to avoid confusion, might it be worth including the part number > >

Re: [PATCH v3] page cache: Store only head pages in i_pages

2019-03-06 Thread William Kucharski
Other than the bug Song found in memfd_tag_pins(), I'd like to suggest two quick but pedantic changes to mm/filemap.c: Though not modified in this patch, in line 284, the parenthesis should be moved to after the period: * modified.) The function expects only THP head pages to be present in

Re: [PATCH v4 02/22] iommu: introduce device fault data

2019-03-06 Thread Auger Eric
Hi Jean, On 3/5/19 3:56 PM, Jean-Philippe Brucker wrote: > On 18/02/2019 13:54, Eric Auger wrote: >> From: Jacob Pan >> >> Device faults detected by IOMMU can be reported outside the IOMMU >> subsystem for further processing. This patch introduces >> a generic device fault data structure. >> >>

Re: [PATCH v4] mm/hugetlb: Fix unsigned overflow in __nr_hugepages_store_common()

2019-03-06 Thread Oscar Salvador
On Mon, Mar 04, 2019 at 08:15:40PM -0800, Mike Kravetz wrote: > In addition, the code in __nr_hugepages_store_common() which tries to > handle the case of not being able to allocate a node mask would likely > result in incorrect behavior. Luckily, it is very unlikely we will > ever take this

Re: [PATCH] mm/filemap: fix minor typo

2019-03-06 Thread William Kucharski
> Cc: Matthew Wilcox > Signed-off-by: Laurent Dufour > --- > mm/filemap.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/filemap.c b/mm/filemap.c > index cace3eb8069f..377cedaa3ae5 100644 > --- a/mm/filemap.c > +++ b/mm/filemap.c > @@ -1440,7 +1440,7 @@ pgoff_t

Re: [GIT PULL] cpupower update for Linux 5.1-rc1

2019-03-06 Thread Rafael J. Wysocki
Hi Shuah, On Fri, Mar 1, 2019 at 5:47 PM shuah wrote: > > Hi Rafael, > > Please pull the following cpupower update for Linux 5.1-rc1. > > This cpupower update for Linux 5.1-rc1 consists of a patch to add > support to display boost frequency separately from Abhishek Goel. > > diff is attached.

Re: Smarter Kconfig help

2019-03-06 Thread Lucas Stach
Hi Russell, Am Dienstag, den 05.03.2019, 17:31 + schrieb Russell King - ARM Linux admin: > Guys, > > We need to be smarter when writing Kconfig help.  I'm just going > through updating my build trees with the results of 5.0 development, > and a number of the help texts are next to useless.  

Re: [PATCH V6 0/8] make mt7623 clock of hdmi stable

2019-03-06 Thread CK Hu
Hi, Wangyan: On Wed, 2019-03-06 at 09:52 +0800, CK Hu wrote: > On Mon, 2019-02-25 at 10:09 +0800, wangyan wang wrote: > > From: Wangyan Wang > > > > V6 adopt maintainer's suggestion. > > Here is the change list between V5 & V6 > > 1. change "unsigned char mux_flags;" to "u8 mux_flags;" to > >

Re: [PATCH 1/4] mmc: mmci: avoid fake busy polling

2019-03-06 Thread Ulf Hansson
On Wed, 6 Mar 2019 at 10:04, Ludovic BARRE wrote: > > Hi Ulf > > On 3/6/19 10:00 AM, Ulf Hansson wrote: > > On Tue, 5 Mar 2019 at 17:10, Ludovic Barre wrote: > >> > >> From: Ludovic Barre > >> > >> The busy status bit could occurred even if no busy response is > >> expected (example cmd11). On

[PATCH v2 09/10] soc: mediatek: cmdq: add cmdq_dev_get_subsys function

2019-03-06 Thread Bibby Hsieh
GCE cannot know the register base address, this function can help cmdq client to get the relationship of subsys and register base address. Signed-off-by: Bibby Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 24 include/linux/soc/mediatek/mtk-cmdq.h | 17

[PATCH v2 02/10] dt-binding: gce: add binding for gce event property

2019-03-06 Thread Bibby Hsieh
cmdq driver provide a function that get event number from device node for client. add specification for #event-cells, mediatek,gce-event-names, mediatek,gce-events. Signed-off-by: Bibby Hsieh --- Documentation/devicetree/bindings/mailbox/mtk-gce.txt | 16 +--- 1 file changed, 13

[PATCH v2 07/10] soc: mediatek: cmdq: add packet encoder function

2019-03-06 Thread Bibby Hsieh
Implement a function can encode the GCE instructions Signed-off-by: Bibby Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 125 ++- include/linux/mailbox/mtk-cmdq-mailbox.h | 2 + include/linux/soc/mediatek/mtk-cmdq.h| 14 ++-- 3 files changed, 99

[PATCH v2 04/10] soc: mediatek: cmdq: add mt8183 compatible name

2019-03-06 Thread Bibby Hsieh
add mt8183 compatible name Signed-off-by: Bibby Hsieh --- drivers/mailbox/mtk-cmdq-mailbox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mailbox/mtk-cmdq-mailbox.c b/drivers/mailbox/mtk-cmdq-mailbox.c index 2281178..909eb23 100644 --- a/drivers/mailbox/mtk-cmdq-mailbox.c +++

[PATCH v2 05/10] soc: mediatek: cmdq: move the CMDQ_IRQ_MASK into cmdq driver data

2019-03-06 Thread Bibby Hsieh
The interrupt mask and thread number has positive correlation, so we move the CMDQ_IRQ_MASK into cmdq driver data and calculate it by thread number. Signed-off-by: Bibby Hsieh --- drivers/mailbox/mtk-cmdq-mailbox.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git

[PATCH v2 10/10] soc: mediatek: cmdq: add cmdq_dev_get_event function

2019-03-06 Thread Bibby Hsieh
When client ask gce to clear or wait for event, client need to pass event number to the API. We suggest client store the event information in device node, so we provide an API for client parse the event property. Signed-off-by: Bibby Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 32

[PATCH v2 01/10] dt-binding: gce: add gce header file for mt8183

2019-03-06 Thread Bibby Hsieh
Add documentation for the mt8183 gce. Add gce header file defined the gce hardware event, subsys number and constant for mt8183. Signed-off-by: Bibby Hsieh Reviewed-by: Rob Herring --- .../devicetree/bindings/mailbox/mtk-gce.txt| 6 +- include/dt-bindings/gce/mt8183-gce.h

[PATCH v2 06/10] soc: mediatek: cmdq: clear the event in cmdq initial flow

2019-03-06 Thread Bibby Hsieh
GCE hardware stored event information in own internal sysram, if the initial value in those sysram is not zero value it will cause a situation that gce can wait the event immediately after client ask gce to wait event but not really trigger the corresponding hardware. In order to make sure that

[PATCH v2 03/10] dt-binding: gce: add binding for gce subsys property

2019-03-06 Thread Bibby Hsieh
cmdq driver provide a function that get the relationship of sub system number from device node for client. add specification for #subsys-cells, mediatek,gce-subsys. Signed-off-by: Bibby Hsieh --- Documentation/devicetree/bindings/mailbox/mtk-gce.txt | 11 ++- 1 file changed, 10

[PATCH v2 08/10] soc: mediatek: cmdq: add polling function

2019-03-06 Thread Bibby Hsieh
add polling function in cmdq helper functions Signed-off-by: Bibby Hsieh --- drivers/soc/mediatek/mtk-cmdq-helper.c | 21 + include/linux/mailbox/mtk-cmdq-mailbox.h | 1 + include/linux/soc/mediatek/mtk-cmdq.h| 15 +++ 3 files changed, 37 insertions(+)

[PATCH v2 00/10] support gce on mt8183 platform

2019-03-06 Thread Bibby Hsieh
Changes since v1: - add prefix "cmdq" in the commit subject - add dt-binding document for get event and subsys function - add fix up tag in fixup patch - fix up some coding style (alignment) MTK will support gce function on mt8183 platform. dt-binding: gce: add gce header file for

Re: Smarter Kconfig help

2019-03-06 Thread Russell King - ARM Linux admin
On Wed, Mar 06, 2019 at 10:45:52AM +0100, Lucas Stach wrote: > Hi Russell, > > Am Dienstag, den 05.03.2019, 17:31 + schrieb Russell King - ARM Linux > admin: > > Guys, > > > > We need to be smarter when writing Kconfig help.  I'm just going > > through updating my build trees with the

Re: [RFC PATCH] ntp: Avoid undefined behaviour in second_overflow()

2019-03-06 Thread Miroslav Lichvar
On Tue, Mar 05, 2019 at 05:42:25PM -0800, John Stultz wrote: > > --- a/kernel/time/ntp.c > > +++ b/kernel/time/ntp.c > > @@ -677,6 +677,8 @@ static inline void process_adjtimex_modes(const struct > > timex *txc, s32 *time_tai > > > > if (txc->modes & ADJ_MAXERROR) > >

[tip:x86/asm] x86/asm: Pin sensitive CR0 bits

2019-03-06 Thread tip-bot for Kees Cook
Commit-ID: d309ba034fac1a149d00cac79318973e9ba81848 Gitweb: https://git.kernel.org/tip/d309ba034fac1a149d00cac79318973e9ba81848 Author: Kees Cook AuthorDate: Wed, 27 Feb 2019 12:01:30 -0800 Committer: Thomas Gleixner CommitDate: Wed, 6 Mar 2019 10:49:50 +0100 x86/asm: Pin sensitive

[tip:x86/asm] x86/asm: Avoid taking an exception before cr4 restore

2019-03-06 Thread tip-bot for Kees Cook
Commit-ID: 1201dc68361cdb83ba314bef565b89400a68f5a5 Gitweb: https://git.kernel.org/tip/1201dc68361cdb83ba314bef565b89400a68f5a5 Author: Kees Cook AuthorDate: Wed, 27 Feb 2019 12:01:31 -0800 Committer: Thomas Gleixner CommitDate: Wed, 6 Mar 2019 10:49:50 +0100 x86/asm: Avoid taking an

Re: [PATCH 3/3] auxdisplay: charlcd: make backlight initial state configurable

2019-03-06 Thread Miguel Ojeda
On Fri, Mar 1, 2019 at 7:48 PM Mans Rullgard wrote: > > +#ifdef CONFIG_CHARLCD_BL_ON > +#define LCD_INIT_BL "\x1b[L+" > +#elif defined (CONFIG_CHARLCD_BL_FLASH) Style nitpick: no space after "elif defined". Do you mind if I change it before sending it to linux-next? Otherwise, looks fine to me.

Re: [PATCH v2 1/8] mmc: sdhci: Get rid of finish_tasklet

2019-03-06 Thread Faiz Abbas
Adrian, On 25/02/19 1:47 PM, Adrian Hunter wrote: > On 15/02/19 9:20 PM, Faiz Abbas wrote: >> sdhci.c has two bottom halves implemented. A threaded_irq for handling >> card insert/remove operations and a tasklet for finishing mmc requests. >> With the addition of external dma support, dmaengine

[tip:x86/asm] lkdtm: Check for SMEP clearing protections

2019-03-06 Thread tip-bot for Kees Cook
Commit-ID: a0bf7fc24303a538396aa8d32450d05c1929b9f0 Gitweb: https://git.kernel.org/tip/a0bf7fc24303a538396aa8d32450d05c1929b9f0 Author: Kees Cook AuthorDate: Wed, 27 Feb 2019 12:01:32 -0800 Committer: Thomas Gleixner CommitDate: Wed, 6 Mar 2019 10:49:50 +0100 lkdtm: Check for SMEP

[PATCH RESEND 0/5] can: flexcan: add CAN FD support on i.MX8QM

2019-03-06 Thread Joakim Zhang
Hi Marc, This patch set integrates two patch sets which have been sent before. [PATCH 0/3] can: flexcan: add imx8qm support [PATCH 0/2] can: flexcan: add CANFD BRS and ISO FD support I rebase it that will easy your patch review. Thanks a lot. Joakim Zhang. Dong Aisheng (4): can: rx-offload:

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

2019-03-06 Thread Joakim Zhang
From: Dong Aisheng This patch intends to add CAN FD mode support in driver, it means that payload size can extend up to 64 bytes. NOTE: Bit rate switch (BRS) enabled by system reset when it enables CAN FD mode (explicitly set BRS again in driver). So CAN hardware has support BRS, but now driver

[PATCH RESEND 1/5] can: rx-offload: add CANFD support based on offload

2019-03-06 Thread Joakim Zhang
From: Dong Aisheng Using struct canfd_frame instead of can_frame to add support for CAN FD mode in offload. FlexCAN controller will set the is_canfd variable when it supports CAN FD mode. Signed-off-by: Dong Aisheng Signed-off-by: Joakim Zhang --- drivers/net/can/rx-offload.c | 16

[PATCH RESEND 3/5] can: flexcan: add CANFD BRS support and improve bittiming setting

2019-03-06 Thread Joakim Zhang
From: Dong Aisheng This patch intends to add CANFD BitRate Switch(BRS) support. Bit timing must be set in CBT register other than CTRL1 register when CANFD supports BRS, it will extend the range of all CAN bit timing variables (PRESDIV, PROPSEG, PSEG1, PSEG2 and RJW), which will improve the bit

[PATCH RESEND 4/5] can: flexcan: add ISO CAN FD feature support

2019-03-06 Thread Joakim Zhang
ISO CAN FD is introduced to increase the failture detection capability than non-ISO CAN FD. The non-ISO CAN FD is still supported by FlexCAN so that it can be used mainly during an intermediate phase, for evaluation and development purposes. Therefore, it is strongly recommended to configure

[PATCH RESEND 5/5] can: flexcan: add imx8qm support

2019-03-06 Thread Joakim Zhang
From: Dong Aisheng The Flexcan on i.MX8QM supports CAN FD protocol. Signed-off-by: Dong Aisheng Signed-off-by: Joakim Zhang --- drivers/net/can/flexcan.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c index

Re: [PATCH 2/3] auxdisplay: charlcd: simplify init message display

2019-03-06 Thread Miguel Ojeda
On Fri, Mar 1, 2019 at 7:48 PM Mans Rullgard wrote: > > /* display a short message */ > -#ifdef CONFIG_PANEL_CHANGE_MESSAGE > - charlcd_puts(lcd, "\x1b[Lc\x1b[Lb\x1b[L*" CONFIG_PANEL_BOOT_MESSAGE); > -#else > - charlcd_puts(lcd, "\x1b[Lc\x1b[Lb\x1b[L*Linux-" UTS_RELEASE "\n");

Re: [RFC PATCH] printk: Introduce "store now but print later" prefix.

2019-03-06 Thread Petr Mladek
On Tue 2019-03-05 10:23:03, Tetsuo Handa wrote: > Petr Mladek wrote: > > On Mon 2019-03-04 20:40:37, Tetsuo Handa wrote: > > > On 2019/03/04 12:22, Sergey Senozhatsky wrote: > > > > On (02/23/19 13:42), Tetsuo Handa wrote: > > > > [..] > > > >> This patch tries to address "don't lockup the system"

Re: [PATCH 3/3] auxdisplay: charlcd: make backlight initial state configurable

2019-03-06 Thread Miguel Ojeda
On Wed, Mar 6, 2019 at 10:56 AM Miguel Ojeda wrote: > > CC'ing Willy in case he wants to take a look for charlcd.c (and Geert, sorry!) Cheers, Miguel

[PATCH RT] nvdimm: make lane acquirement RT aware

2019-03-06 Thread Yongxin Liu
Currently, nvdimm driver isn't RT compatible. nd_region_acquire_lane() disables preemption with get_cpu() which causes "scheduling while atomic" spews on RT, when using fio to test pmem as block device. In this change, we replace get_cpu/put_cpu with local_lock_cpu/ local_unlock_cpu, and

Re: [RFT][Update][PATCH 2/2] cpufreq: intel_pstate: Update max CPU frequency on global turbo changes

2019-03-06 Thread Rafael J. Wysocki
On Tue, Mar 5, 2019 at 6:37 PM Quentin Perret wrote: > > On Tuesday 05 Mar 2019 at 18:02:25 (+0100), Rafael J. Wysocki wrote: > > But that 128 needs to be compared to > > > > (SCHED_CAPACITY_SCALE * cpuinfo.min_freq) / cpuinfo.max_freq > > > > so with SCHED_CAPACITY_SCALE equal to 1024 this means

Re: [PATCH v6 1/8] drm/mediatek: recalculate hdmi phy clock of MT2701 by querying hardware

2019-03-06 Thread CK Hu
Hi, Wangyan: On Mon, 2019-02-25 at 10:09 +0800, wangyan wang wrote: > From: chunhui dai > > Recalculate the rate of this clock, by querying hardware. > > Signed-off-by: chunhui dai > Signed-off-by: wangyan wang > --- > drivers/gpu/drm/mediatek/mtk_hdmi_phy.c| 7 ++ >

Re: [PATCH] sched: fair: fix missed CONFIG_SCHEDSTATS

2019-03-06 Thread Peter Zijlstra
On Wed, Mar 06, 2019 at 04:43:46PM +0800, Yafang Shao wrote: > When I'm using trace_sched_stat_{iowait, blocked, wait, sleep} to > measure how long the processes are stalled, there's always no output from > trace_pipe while there're really some tasks in uninterruptible sleep > state. That makes me

Re: [PATCH 1/4] mmc: mmci: avoid fake busy polling

2019-03-06 Thread Ludovic BARRE
Hi Ulf I could have a snowball board, I don't remember if it a ux500v1 or v2? This board has been removed of u-boot mainline, do you have a specific repository for snowball or what branch do you advise? do you have a snowball wiki (up-to-date) for flashing... BR Ludo On 3/6/19 10:49 AM, Ulf

  1   2   3   4   5   6   7   8   9   10   >