Re: [Ocfs2-devel] [PATCH] ocfs2: fix the application IO timeout when fstrim is running

2019-01-15 Thread Changwei Ge
On 2019/1/15 13:49, Gang He wrote: > Hello Changewei, > On 2019/1/15 at 11:50, in message > <63adc13fd55d6546b7dece290d39e3730127825...@h3cmlb12-ex.srv.huawei-3com.com>, > Changwei Ge wrote: >> Hi Gang, >> >> Most parts of this patch look sane to me, just a tiny question... >> >> On

Re: [PATCH 1/2] dt-bindings: serial: Convert snps,dw-apb-uart to json-schema

2019-01-15 Thread Simon Horman
On Mon, Jan 14, 2019 at 10:23:15AM -0600, Rob Herring wrote: > On Mon, Jan 14, 2019 at 3:30 AM Simon Horman wrote: > > > > On Thu, Jan 10, 2019 at 04:20:16PM -0600, Rob Herring wrote: > > > Convert the snps,dw-apb-uart binding to DT schema using json-schema. > > > > > > The Rockchip and Broadcom

Re: [PATCH] kbuild: mark prepare0 as PHONY to fix external module build

2019-01-15 Thread Ard Biesheuvel
On Tue, 15 Jan 2019 at 08:20, Masahiro Yamada wrote: > > Commit c3ff2a5193fa ("powerpc/32: add stack protector support") > caused kernel panic on PowerPC if an external module is used with > CONFIG_STACKPROTECTOR because the 'prepare' target was not executed > for the external module build. > >

Re: [PATCHv6] x86/kdump: bugfix, make the behavior of crashkernel=X consistent with kaslr

2019-01-15 Thread Pingfan Liu
On Mon, Jan 14, 2019 at 12:24 PM Randy Dunlap wrote: > > Hi, > > Just fix a few of the commit log comments... > > On 1/13/19 7:15 PM, Pingfan Liu wrote: > > People reported a bug on a high end server with many pcie devices, where > > kernel bootup with crashkernel=384M, and kaslr is enabled. Even

[PATCHv7] x86/kdump: bugfix, make the behavior of crashkernel=X consistent with kaslr

2019-01-15 Thread Pingfan Liu
People reported a bug on a high end server with many pcie devices, where kernel bootup with crashkernel=384M, and kaslr is enabled. Even though we still see much memory under 896 MB, the finding still failed intermittently. Because currently we can only find region under 896 MB, if without ',high'

Re: use generic DMA mapping code in powerpc V4

2019-01-15 Thread Christian Zigotzky
Next step: 240d7ecd7f6fa62e074e8a835e620047954f0b28 (powerpc/dma: use the dma-direct allocator for coherent platforms) git clone git://git.infradead.org/users/hch/misc.git -b powerpc-dma.6 a git checkout 240d7ecd7f6fa62e074e8a835e620047954f0b28 Link to the Git:

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2019-01-15 Thread Jan Kara
On Mon 14-01-19 12:21:25, Jerome Glisse wrote: > On Mon, Jan 14, 2019 at 03:54:47PM +0100, Jan Kara wrote: > > On Fri 11-01-19 19:06:08, John Hubbard wrote: > > > On 1/11/19 6:46 PM, Jerome Glisse wrote: > > > > On Fri, Jan 11, 2019 at 06:38:44PM -0800, John Hubbard wrote: > > > > [...] > > > > >

Re: [PATCH] arm64: dts: hikey: Give wifi some time after power-on

2019-01-15 Thread Jan Kiszka
On 06.01.19 10:53, Jan Kiszka wrote: On 03.01.19 22:32, Ulf Hansson wrote: On Wed, 2 Jan 2019 at 23:21, John Stultz wrote: Adding a few folks to cc from the thread here: https://patchwork.kernel.org/patch/10734021/ As this sounds like a very similar issue. thanks -john John, thanks for

Re: [PATCH] arm64: dts: hikey: Give wifi some time after power-on

2019-01-15 Thread Ulf Hansson
On Tue, 15 Jan 2019 at 09:10, Jan Kiszka wrote: > > On 06.01.19 10:53, Jan Kiszka wrote: > > On 03.01.19 22:32, Ulf Hansson wrote: > >> On Wed, 2 Jan 2019 at 23:21, John Stultz wrote: > >>> > >>> Adding a few folks to cc from the thread here: > >>> https://patchwork.kernel.org/patch/10734021/ >

[PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support

2019-01-15 Thread Masahiro Yamada
Commit 6f1fe97bec34 ("mtd: rawnand: denali_dt: add more clocks based on IP datasheet") introduced a more correct binding that requires three named clocks. Now that all upstream DT files migrated over to it, remove the single anonymous clock support. Signed-off-by: Masahiro Yamada ---

Re: [Xen-devel] [PATCH v6 2/2] xen/blkback: rework connect_ring() to avoid inconsistent xenstore 'ring-page-order' set by malicious blkfront

2019-01-15 Thread Roger Pau Monné
On Tue, Jan 15, 2019 at 12:41:44AM +0800, Dongli Zhang wrote: > The xenstore 'ring-page-order' is used globally for each blkback queue and > therefore should be read from xenstore only once. However, it is obtained > in read_per_ring_refs() which might be called multiple times during the >

Re: [PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support

2019-01-15 Thread Miquel Raynal
Hi Masahiro, Masahiro Yamada wrote on Tue, 15 Jan 2019 17:11:34 +0900: > Commit 6f1fe97bec34 ("mtd: rawnand: denali_dt: add more clocks based > on IP datasheet") introduced a more correct binding that requires > three named clocks. > > Now that all upstream DT files migrated over to it, remove

Re: [Ocfs2-devel] [PATCH] ocfs2: fix the application IO timeout when fstrim is running

2019-01-15 Thread Gang He
Hello ChangWei, >>> On 2019/1/15 at 16:00, in message <63adc13fd55d6546b7dece290d39e3730127826...@h3cmlb12-ex.srv.huawei-3com.com>, Changwei Ge wrote: > On 2019/1/15 13:49, Gang He wrote: >> Hello Changewei, >> > On 2019/1/15 at 11:50, in message >>

[PATCH 2/3] staging: rtl8188eu: cleanup declarations in os_intfs.c

2019-01-15 Thread Michael Straube
Replace tabs with spaces and/or remove extra spaces in declarations. --- drivers/staging/rtl8188eu/os_dep/os_intfs.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/staging/rtl8188eu/os_dep/os_intfs.c index

[PATCH 1/3] staging: rtl8188eu: remove unnecessary parentheses in os_intfs.c

2019-01-15 Thread Michael Straube
Remove unnecessary parentheses reported by checkpatch. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/os_dep/os_intfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c

[PATCH 3/3] staging: rtl8188eu: add spaces around operators in os_intfs.c

2019-01-15 Thread Michael Straube
Add spaces around '+', '<<' and '*' to follow kernel coding style. Reported by checkpatch. --- drivers/staging/rtl8188eu/os_dep/os_intfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c

Re: [RFC PATCH] mm: align anon mmap for THP

2019-01-15 Thread Kirill A. Shutemov
On Mon, Jan 14, 2019 at 10:54:45AM -0800, Mike Kravetz wrote: > On 1/14/19 7:35 AM, Steven Sistare wrote: > > On 1/11/2019 6:28 PM, Mike Kravetz wrote: > >> On 1/11/19 1:55 PM, Kirill A. Shutemov wrote: > >>> On Fri, Jan 11, 2019 at 08:10:03PM +, Mike Kravetz wrote: > At LPC last year,

Re: udf: Prevent write-unsupported filesystem to be remounted read-write

2019-01-15 Thread Pali Rohár
On Monday 14 January 2019 19:07:35 Michael Sabolish wrote: > I can try and make a pull-request for udftune, and I can just copy the API > for tune2fs. It would work something like: > > udftune -O read-only device(to set read-only access type) > > or: > > udftune -O ^read-only

Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions

2019-01-15 Thread Jan Kara
On Mon 14-01-19 11:09:20, John Hubbard wrote: > On 1/14/19 9:21 AM, Jerome Glisse wrote: > >> > >> Also there is one more idea I had how to record number of pins in the page: > >> > >> #define PAGE_PIN_BIAS 1024 > >> > >> get_page_pin() > >>atomic_add(>_refcount, PAGE_PIN_BIAS); > >> > >>

Re: [PATCH 0/3] Fix virtio-blk issue with SWIOTLB

2019-01-15 Thread Joerg Roedel
On Mon, Jan 14, 2019 at 01:20:45PM -0500, Michael S. Tsirkin wrote: > Which would be fine especially if we can manage not to introduce a bunch > of indirect calls all over the place and hurt performance. Which indirect calls? In case of unset dma_ops the DMA-API functions call directly into the

Re: [PATCH v3 02/14] media: ov7670: split register setting from set_framerate() logic

2019-01-15 Thread Lubomir Rintel
On Tue, 2019-01-15 at 01:03 +0200, Sakari Ailus wrote: > On Tue, Nov 20, 2018 at 11:03:07AM +0100, Lubomir Rintel wrote: > > This will allow us to restore the last set frame rate after the device > > returns from a power off. > > > > Signed-off-by: Lubomir Rintel > > > > --- > > Changes since

Re: udf: Prevent write-unsupported filesystem to be remounted read-write

2019-01-15 Thread Jan Kara
On Tue 15-01-19 09:31:11, Pali Rohár wrote: > On Monday 14 January 2019 19:07:35 Michael Sabolish wrote: > > I can try and make a pull-request for udftune, and I can just copy the API > > for tune2fs. It would work something like: > > > > udftune -O read-only device(to set read-only

[PATCH] ASoC: sdm845: Set DAI format for dmic codec

2019-01-15 Thread Cheng-Yi Chiang
Set codec DAI format for dmic codec in startup. Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/sdm845.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/qcom/sdm845.c b/sound/soc/qcom/sdm845.c index 6f66a58e23ca..882f52ed8231 100644 --- a/sound/soc/qcom/sdm845.c +++

Re: [PATCH 2/2] x86, kexec_file_load: make it work with efi=noruntime or efi=oldmap

2019-01-15 Thread Dave Young
On 01/09/19 at 02:47pm, Kairui Song wrote: > When efi=noruntime or efi=oldmap is used, EFI services won't be available > in the second kernel, therefore the second kernel will not be able to get > the ACPI RSDP address from firmware by calling EFI services and won't > boot. Previously we are

Re: [PATCH v3 02/14] media: ov7670: split register setting from set_framerate() logic

2019-01-15 Thread Sakari Ailus
On Tue, Jan 15, 2019 at 09:30:31AM +0100, Lubomir Rintel wrote: > On Tue, 2019-01-15 at 01:03 +0200, Sakari Ailus wrote: > > On Tue, Nov 20, 2018 at 11:03:07AM +0100, Lubomir Rintel wrote: > > > This will allow us to restore the last set frame rate after the device > > > returns from a power off.

Re: udf: Prevent write-unsupported filesystem to be remounted read-write

2019-01-15 Thread Pali Rohár
On Tuesday 15 January 2019 09:41:19 Jan Kara wrote: > On Tue 15-01-19 09:31:11, Pali Rohár wrote: > > On Monday 14 January 2019 19:07:35 Michael Sabolish wrote: > > > I can try and make a pull-request for udftune, and I can just copy the > > > API for tune2fs. It would work something like: > > >

Re: use generic DMA mapping code in powerpc V4

2019-01-15 Thread Christian Zigotzky
Next step: 63a6e350e037a21e9a88c8b710129bea7049a80f (powerpc/dma: use the dma_direct mapping routines) git clone git://git.infradead.org/users/hch/misc.git -b powerpc-dma.6 a git checkout 63a6e350e037a21e9a88c8b710129bea7049a80f Error message: arch/powerpc/kernel/dma.o:(.data.rel.ro+0x0):

Re: [PATCH v8 0/2] mtd: rawnand: meson: add Amlogic NAND driver support

2019-01-15 Thread Miquel Raynal
Hi Jianxin, Jianxin Pan wrote on Sun, 16 Dec 2018 23:17:41 +0800: > These two patches try to add initial NAND driver support for Amlogic Meson > SoCs, current it has been tested on GXL(p212) and AXG(s400) platform. > > Changes since V6 at [8] > - fix bitflips checking for blank pages > -

[PATCH v4 1/5] ov7670: Remove useless use of a ret variable

2019-01-15 Thread Lubomir Rintel
From: Sakari Ailus Instead of assigning the return value to ret and then checking and returning it, just return the value to the caller directly. The success value is always 0. Signed-off-by: Sakari Ailus Acked-by: Lubomir Rintel --- drivers/media/i2c/ov7670.c | 6 +- 1 file changed, 1

[PATCH v4 4/5] media: ov7670: split register setting from set_fmt() logic

2019-01-15 Thread Lubomir Rintel
This will allow us to restore the last set format after the device returns from a power off. Signed-off-by: Lubomir Rintel --- drivers/media/i2c/ov7670.c | 80 ++ 1 file changed, 46 insertions(+), 34 deletions(-) diff --git a/drivers/media/i2c/ov7670.c

[PATCH v4 5/5] media: ov7670: split register setting from set_framerate() logic

2019-01-15 Thread Lubomir Rintel
This will allow us to restore the last set frame rate after the device returns from a power off. Signed-off-by: Lubomir Rintel --- drivers/media/i2c/ov7670.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/drivers/media/i2c/ov7670.c

[PATCH v4 3/5] media: ov7670: control clock along with power

2019-01-15 Thread Lubomir Rintel
This provides more power saving when the sensor is off. While at that, do the delay on power/clock enable even if the sensor driver itself doesn't control the GPIOs. This is required for the OLPC XO-1 platform, that lacks the proper power/reset properties in its DT, but needs the delay after the

[PATCH v4 2/5] media: ov7670: hook s_power onto v4l2 core

2019-01-15 Thread Lubomir Rintel
The commit 71862f63f351 ("media: ov7670: Add the ov7670_s_power function") added a power control routing. However, it was not good enough to use as a s_power() callback: it merely flipped on the power GPIOs without restoring the register settings. Fix this now and register an actual power

[PATCH v4 0/5] ov7670 fixes

2019-01-15 Thread Lubomir Rintel
Hi, here are the ov7670 patches originally from the "media: make Marvell camera work on DT-based OLPC XO-1.75" updated to apply cleanly on top of master as requested. I've also added "ov7670: Remove useless use of a ret variable" with my Ack slapped on it. Lubo

Re: [PATCH] USB: serial: cp210x: Fix GPIO in autosuspend

2019-01-15 Thread Johan Hovold
On Mon, Jan 14, 2019 at 08:43:52PM +0100, Karoly Pados wrote: > Current GPIO code in cp210x fails to take USB autosuspend into account, > making it practically impossible to use GPIOs with autosuspend enabled > without user configuration. Fix this like for ftdi_sio in a previous patch. > Tested on

Re: [PATCH] Input: synaptics - add PNP IDs for Dell XPS models to forcepad

2019-01-15 Thread Benjamin Tissoires
On Mon, Jan 14, 2019 at 7:40 PM Dmitry Torokhov wrote: > > On Sat, Jan 12, 2019 at 04:04:36PM -0600, Kim Phillips wrote: > > On 1/11/19 7:40 PM, Dmitry Torokhov wrote: > > > Hi Kim, > > > > Hi Dmitry, > > > > > On Fri, Jan 11, 2019 at 02:54:30PM -0600, Kim Phillips wrote: > > >> This patch is the

Re: [PATCH v1 1/2] Documentation/filesystems: add binderfs

2019-01-15 Thread Christian Brauner
On Mon, Jan 14, 2019 at 05:24:01PM -0700, Jonathan Corbet wrote: > On Fri, 11 Jan 2019 14:40:59 +0100 > Christian Brauner wrote: > > > This documents the Android binderfs filesystem used to dynamically add and > > remove binder devices that are private to each instance. > > > > Signed-off-by:

Re: [PATCH] drm/fourcc: Add modifier defininitions for AFBC 1.3

2019-01-15 Thread Brian Starkey
Hi Ayan, On Mon, Jan 14, 2019 at 05:02:00PM +, Ayan Halder wrote: > From: Matteo Franchin > > This commit adds definitions of format modifiers for version 1.3 of the > Arm Framebuffer Compression (AFBC). > > Signed-off-by: Matteo Franchin We should have your Signed-off-by on any patches

Re: [PATCH 1/2] kbuild: remove top-level built-in.a

2019-01-15 Thread Masahiro Yamada
Hi Nicholas, On Tue, Jan 15, 2019 at 5:07 PM Nicholas Piggin wrote: > > Masahiro Yamada's on January 14, 2019 1:27 pm: > > The symbol table in the final archive is unneeded because it is passed > > to the linker after the --whole-archive option. Every object file in > > the archive is included

Re: [PATCH 2/2] bpf: annotate implicit fall through

2019-01-15 Thread Sergei Shtylyov
On 14.01.2019 23:29, Mathieu Malaterre wrote: There is a plan to build the kernel with -Wimplicit-fallthrough and thise place in the code produced a warnings (W=1). This? In this particular case change a ‘:’ with a ‘,’ so as to match the regular expression expected by GCC. This commit

Re: [PATCH] pinctrl: sunxi: Correct number of IRQ banks on H6 main pin controller

2019-01-15 Thread Neil Armstrong
Hi, On 15/01/2019 03:45, Chen-Yu Tsai wrote: > The H6 main pin controller has four banks of interrupt-triggering pins. > The driver as originally submitted only specified three, but had pin > descriptions referencing a fourth bank. This results in a out-of-bounds > access into .irq_array of

Re: [PATCH v2 2/5] gnss: sirf: power on logic for devices without wakeup signal

2019-01-15 Thread Johan Hovold
On Mon, Jan 14, 2019 at 10:58:02PM +0100, Andreas Kemnade wrote: > On Mon, 14 Jan 2019 11:51:29 +0100 > Johan Hovold wrote: > > here is a second part of a reply. I'm not sure I received the first part if you're saying you replied to my mail in two parts? > [...] > > > > In pseudo code we have:

Re: [PATCH v4 5/5] media: ov7670: split register setting from set_framerate() logic

2019-01-15 Thread Sakari Ailus
On Tue, Jan 15, 2019 at 09:54:48AM +0100, Lubomir Rintel wrote: > This will allow us to restore the last set frame rate after the device > returns from a power off. > > Signed-off-by: Lubomir Rintel Thanks! I've applied them, and hopefully all is well now. > --- > drivers/media/i2c/ov7670.c

Re: Please remove warnings from msi.c:1269 and blk-mq-pci.c:52 some day

2019-01-15 Thread John Garry
On 14/01/2019 18:05, Jens Axboe wrote: On 1/14/19 11:05 AM, Christoph Hellwig wrote: On Mon, Jan 14, 2019 at 11:02:07AM -0700, Keith Busch wrote: User fin4478 informs me Ming's patch above fixes the warnings, but responding to the mailing lists from that email account are blocked for

Re: [PATCH] USB: serial: cp210x: Fix GPIO in autosuspend

2019-01-15 Thread Karoly Pados
> I think it's better to add the autopm call to gpio210x_gpio_get/set > only. This will allow for a simpler patch, and keeps the autopm handling > confined to the gpio paths. I'll submit a v2. >> @@ -1383,6 +1397,7 @@ static void cp210x_gpio_set(struct gpio_chip *gc, >> unsigned int gpio, int

Re: [PATCH v2 2/3] regulator: core: add helper to check if regulator is disabled in suspend

2019-01-15 Thread Claudiu.Beznea
On 15.01.2019 00:53, Mark Brown wrote: > On Fri, Jan 11, 2019 at 02:08:19PM +, claudiu.bez...@microchip.com wrote: >> On 11.01.2019 14:39, Mark Brown wrote: > >>> Like I say I'm working offline so I can't check the links but it sounds >>> like you're saying that the existing suspend mode

Re: [PATCH v3 4/4] /proc/stat: Call kstat_irqs_usr() only for active IRQs

2019-01-15 Thread Thomas Gleixner
Waiman, On Mon, 14 Jan 2019, Waiman Long wrote: > On 01/11/2019 04:02 PM, Thomas Gleixner wrote: > > @@ -919,11 +920,15 @@ unsigned int kstat_irqs_cpu(unsigned int > > unsigned int kstat_irqs(unsigned int irq) > > { > > struct irq_desc *desc = irq_to_desc(irq); > > - int cpu; > >

Re: [PATCH] USB: serial: cp210x: Fix GPIO in autosuspend

2019-01-15 Thread Johan Hovold
On Tue, Jan 15, 2019 at 09:17:58AM +, Karoly Pados wrote: > > I think it's better to add the autopm call to gpio210x_gpio_get/set > > only. This will allow for a simpler patch, and keeps the autopm handling > > confined to the gpio paths. > > I'll submit a v2. > > >> @@ -1383,6 +1397,7 @@

Re: [PATCH 2/6] media: ov7740: get rid of extra ifdefs

2019-01-15 Thread Sakari Ailus
On Wed, Nov 28, 2018 at 06:19:14PM +0100, Lubomir Rintel wrote: > Stubbed v4l2_subdev_get_try_format() will return a correct error when > configured without CONFIG_VIDEO_V4L2_SUBDEV_API. > > Signed-off-by: Lubomir Rintel I'm marking these as rejected for now; let's see if we'll get rid of the

Re: INFO: task hung in generic_file_write_iter

2019-01-15 Thread Jan Kara
On Mon 14-01-19 16:13:08, Dmitry Vyukov wrote: > On Mon, Jan 14, 2019 at 4:11 PM Dmitry Vyukov wrote: > > > > On Wed, Jan 9, 2019 at 2:30 PM Jan Kara wrote: > > > > > > On Tue 08-01-19 12:49:08, Dmitry Vyukov wrote: > > > > On Tue, Jan 8, 2019 at 12:24 PM Jan Kara wrote: > > > > > > > > > > On

Re: [Ocfs2-devel] [PATCH] ocfs2: fix the application IO timeout when fstrim is running

2019-01-15 Thread Changwei Ge
Hi Gang, It looks good to me. On 2019/1/15 16:23, Gang He wrote: > Hello ChangWei, > On 2019/1/15 at 16:00, in message > <63adc13fd55d6546b7dece290d39e3730127826...@h3cmlb12-ex.srv.huawei-3com.com>, > Changwei Ge wrote: >> On 2019/1/15 13:49, Gang He wrote: >>> Hello Changewei, >>> >>

Re: [PATCH] tty: serial: meson: if no alias specified use an available id

2019-01-15 Thread Neil Armstrong
On 14/01/2019 17:54, Loys Ollivier wrote: > At probe, the uart driver tries to get an id from a device tree alias. > When no alias was specified, the driver would return an error and probing > would fail. > > Providing an alias for registering a serial device should not be mandatory. > If the

Re: [PATCH] arm64: dts: meson-gx: Add canvas provider node to the vpu

2019-01-15 Thread Neil Armstrong
On 14/01/2019 17:22, Maxime Jourdan wrote: > Allows the vpu driver to optionally use a canvas provider node. > > Signed-off-by: Maxime Jourdan > --- > arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi >

[tip:x86/urgent] x86/pkeys: Properly copy pkey state at fork()

2019-01-15 Thread tip-bot for Dave Hansen
Commit-ID: a31e184e4f69965c99c04cc5eb8a4920e0c63737 Gitweb: https://git.kernel.org/tip/a31e184e4f69965c99c04cc5eb8a4920e0c63737 Author: Dave Hansen AuthorDate: Wed, 2 Jan 2019 13:56:55 -0800 Committer: Thomas Gleixner CommitDate: Tue, 15 Jan 2019 10:33:45 +0100 x86/pkeys: Properly

[tip:x86/urgent] x86/selftests/pkeys: Fork() to check for state being preserved

2019-01-15 Thread tip-bot for Dave Hansen
Commit-ID: e1812933b17be7814f51b6c310c5d1ced7a9a5f5 Gitweb: https://git.kernel.org/tip/e1812933b17be7814f51b6c310c5d1ced7a9a5f5 Author: Dave Hansen AuthorDate: Wed, 2 Jan 2019 13:56:57 -0800 Committer: Thomas Gleixner CommitDate: Tue, 15 Jan 2019 10:33:45 +0100 x86/selftests/pkeys:

Re: [PATCH 1/2 v6] kdump: add the vmcoreinfo documentation

2019-01-15 Thread lijiang
在 2019年01月14日 17:15, Borislav Petkov 写道: > On Mon, Jan 14, 2019 at 01:30:30PM +0800, lijiang wrote: >> I noticed that the checkpatch was coded in Perl. But i am not familiar with >> the Perl program language, that would be beyond my ability to do this, i have >> to learn the Perl program language

Re: [PATCH RFC 2/4] media: v4l2-mem2mem: Add an optional job_done operation

2019-01-15 Thread Ezequiel Garcia
On Mon, 2019-01-14 at 14:38 +0100, Paul Kocialkowski wrote: > Introduce a new optional job_done operation, which allows calling back > to the driver when a job is done. Since the job might be completed > from interrupt context where some operations are not available, having > a callback from

[tip:irq/core] genirq: Annotate implicit fall through

2019-01-15 Thread tip-bot for Mathieu Malaterre
Commit-ID: 44133f7eaebec227d1381868d642e3c64023520f Gitweb: https://git.kernel.org/tip/44133f7eaebec227d1381868d642e3c64023520f Author: Mathieu Malaterre AuthorDate: Mon, 14 Jan 2019 21:31:54 +0100 Committer: Thomas Gleixner CommitDate: Tue, 15 Jan 2019 10:40:34 +0100 genirq: Annotate

[tip:irq/core] genirq: Correctly annotate implicit fall through

2019-01-15 Thread tip-bot for Mathieu Malaterre
Commit-ID: 01cdfa912f1004c463586f52f1dfcbec1274b1f2 Gitweb: https://git.kernel.org/tip/01cdfa912f1004c463586f52f1dfcbec1274b1f2 Author: Mathieu Malaterre AuthorDate: Mon, 14 Jan 2019 21:36:33 +0100 Committer: Thomas Gleixner CommitDate: Tue, 15 Jan 2019 10:40:53 +0100 genirq:

Re: udf: Prevent write-unsupported filesystem to be remounted read-write

2019-01-15 Thread Jan Kara
On Tue 15-01-19 09:48:32, Pali Rohár wrote: > On Tuesday 15 January 2019 09:41:19 Jan Kara wrote: > > On Tue 15-01-19 09:31:11, Pali Rohár wrote: > > > On Monday 14 January 2019 19:07:35 Michael Sabolish wrote: > > > > I can try and make a pull-request for udftune, and I can just copy the > > > >

[RFC PATCH v2 0/2] let kexec_file_load use platform keyring to verify the kernel image

2019-01-15 Thread Kairui Song
Hi, This patch series adds a .platform_trusted_keys in system_keyring as the reference to .platform keyring in integrity subsystem, when platform keyring is being initialized it will be updated. So other component could use this keyring as well. This patch series also let kexec_file_load use

[RFC PATCH v2 1/2] integrity, KEYS: add a reference to platform keyring

2019-01-15 Thread Kairui Song
Currently when loading new kernel via kexec_file_load syscall, it is able to verify the signed PE bzimage against .builtin_trusted_keys or .secondary_trusted_keys. But the image could be signed with third part keys which will be provided by platform or firmware as EFI variable (eg. stored in

[RFC PATCH v2 2/2] kexec, KEYS: Make use of platform keyring for signature verify

2019-01-15 Thread Kairui Song
With KEXEC_BZIMAGE_VERIFY_SIG enabled, kexec_file_load will need to verify the kernel image. The image might be signed with third part keys, and the keys could be stored in firmware, then got loaded into the .platform keyring. Now we have a symbol .platform_trusted_keyring as the reference to

Re: [RFC PATCH] x86/speculation: Don't inherit TIF_SSBD on execve()

2019-01-15 Thread Thomas Gleixner
On Mon, 14 Jan 2019, Waiman Long wrote: > On 01/11/2019 02:52 PM, Thomas Gleixner wrote: > > On Wed, 19 Dec 2018, Waiman Long wrote: > > > >> With the default SPEC_STORE_BYPASS_SECCOMP/SPEC_STORE_BYPASS_PRCTL mode, > >> the TIF_SSBD bit will be inherited when a new task is fork'ed or cloned. > >>

[PATCH v7 0/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2019-01-15 Thread Yogesh Narayan Gaur
- Add driver for NXP FlexSPI host controller FlexSPI is a flexsible SPI host controller [1], Chapter 30 page 1475, which supports two SPI channels and up to 4 external devices. Each channel supports Single/Dual/Quad/Octal mode data transfer (1/2/4/8 bidirectional data lines) i.e. FlexSPI

[PATCH v7 2/5] dt-bindings: spi: add binding file for NXP FlexSPI controller

2019-01-15 Thread Yogesh Narayan Gaur
Add binding file for NXP FlexSPI controller Signed-off-by: Yogesh Narayan Gaur Reviewed-by: Rob Herring --- Changes for v7: - None Changes for v6: - None Changes for v5: - None Changes for v4: - Incorporated Rob review comments. Changes for v3: - Removed node property 'big-endian'. Changes for

[PATCH v7 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2019-01-15 Thread Yogesh Narayan Gaur
- Add driver for NXP FlexSPI host controller (0) What is the FlexSPI controller? FlexSPI is a flexsible SPI host controller which supports two SPI channels and up to 4 external devices. Each channel supports Single/Dual/Quad/Octal mode data transfer (1/2/4/8 bidirectional data lines) i.e.

[PATCH v7 4/5] arm64: defconfig: enable NXP FlexSPI driver

2019-01-15 Thread Yogesh Narayan Gaur
Enable driver support of NXP FlexSPI controller. Signed-off-by: Yogesh Narayan Gaur --- Changes for v7: - None Changes for v6: - None Changes for v5: - None Changes for v4: - None Changes for v3: - None Changes for v2: - None arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)

[PATCH v7 5/5] MAINTAINERS: add maintainers for the NXP FlexSPI driver

2019-01-15 Thread Yogesh Narayan Gaur
Add maintainers for the NXP FlexSPI driver Signed-off-by: Yogesh Narayan Gaur --- Changes for v7: - None Changes for v6: - None Changes for v5: - Add maintainers for binding file Changes for v4: - None Changes for v3: - None Changes for v2: - None MAINTAINERS | 7 +++ 1 file changed, 7

[PATCH v7 3/5] arm64: dts: lx2160a: add FlexSPI node property

2019-01-15 Thread Yogesh Narayan Gaur
Add fspi node property for LX2160A SoC for FlexSPI driver. Property added for the FlexSPI controller and for the connected slave device for the LX2160ARDB target. This is having two SPI-NOR flash device, mt35xu512aba, connected at CS0 and CS1. Signed-off-by: Yogesh Narayan Gaur --- Changes for

Re: [PATCH 09/10] drm/mxsfb: Improve the axi clock usage

2019-01-15 Thread Robert Chiras
On Mi, 2019-01-09 at 18:09 +0100, Stefan Agner wrote: > On 09.01.2019 15:13, Robert Chiras wrote: > > > > Currently, the enable of the axi clock return status is ignored, > > causing > > issues when the enable fails then we try to disable it. Therefore, > > it is > > better to check the return

RE: [PATCH v6 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2019-01-15 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:bbrezil...@kernel.org] > Sent: Monday, January 14, 2019 2:08 PM > To: Schrempf Frieder > Cc: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; marek.va...@gmail.com; > broo...@kernel.org;

Re: [PATCH v15 3/6] x86/boot: Introduce efi_get_rsdp_addr() to find RSDP from EFI table

2019-01-15 Thread Borislav Petkov
On Tue, Jan 15, 2019 at 03:21:21PM +0800, Chao Fan wrote: > In my understanding after looking into the commit message the comments. > I thinks yes. For 32-bit OS: And when does your "32-bit OS" define ACPI_ASL_COMPILER ? -- Regards/Gruss, Boris. Good mailing practices for 400: avoid

[PATCH 0/2] make kexec work with efi=noruntime or efi=old_map

2019-01-15 Thread Kairui Song
This patch series fix the kexec panic on efi=noruntime or efi=old_map and leverage acpi_rsdp_addr to make the second kernel boot up properly. Kairui Song (2): x86, kexec_file_load: Don't setup EFI info if EFI runtime is not enabled x86, kexec_file_load: make it work with efi=noruntime or

[PATCH v2 1/2] x86, kexec_file_load: Don't setup EFI info if EFI runtime is not enabled

2019-01-15 Thread Kairui Song
Currently with "efi=noruntime" in kernel command line, calling kexec_file_load will raise below problem: [ 97.967067] BUG: unable to handle kernel NULL pointer dereference at [ 97.967894] #PF error: [normal kernel read fault] ... [ 97.980456] Call Trace: [ 97.980724]

[PATCH v2 2/2] x86, kexec_file_load: make it work with efi=noruntime or efi=old_map

2019-01-15 Thread Kairui Song
When efi=noruntime or efi=oldmap is used, EFI services won't be available in the second kernel, therefore the second kernel will not be able to get the ACPI RSDP address from firmware by calling EFI services and won't boot. Previously we are expecting the user to set the acpi_rsdp= on kernel

Re: [PATCH 0/4] Add driver for globaltop GNSS receivers

2019-01-15 Thread Loys Ollivier
On Fri 04 Jan 2019 at 11:51, Rob Herring wrote: > On Fri, Dec 28, 2018 at 4:51 AM Loys Ollivier wrote: >> >> Hello ! >> >> This patch series adds a new GNSS driver for the globaltop GNSS receivers. >> These receivers transmits NMEA output sequence as soon as they have booted. >> Power

[PATCH v7 0/5] spi: add support for octal mode

2019-01-15 Thread Yogesh Narayan Gaur
Add support for octal mode IO data transfer. Micron flash, mt35xu512aba, supports octal mode data transfer and NXP FlexSPI controller supports 8 data lines for data transfer (Rx/Tx). Patch series * Add parsing logic for m25p80.c device file. * Add opcodes for octal I/O commands in spi-nor

[PATCH v7 5/5] arm64: dts: lx2160a: update fspi node

2019-01-15 Thread Yogesh Narayan Gaur
Flash mt35xu512aba connected to FlexSPI controller supports 1-1-8/1-8-8 protocol. Added flag spi-rx-bus-width and spi-tx-bus-width with values as 8 and 8 respectively for both flashes connected at CS0 and CS1. Signed-off-by: Yogesh Narayan Gaur --- Changes for v6: - Correct S-o-b tag with full

[PATCH v7 4/5] spi: nxp-fspi: add octal mode flag bit for octal support

2019-01-15 Thread Yogesh Narayan Gaur
Add octal mode flags for octal I/O data transfer support. NXP FlexSPI controller supports 8 lines Rx/Tx data transfer. Signed-off-by: Yogesh Narayan Gaur --- drivers/spi/spi-nxp-fspi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-nxp-fspi.c

[PATCH v7 1/5] mtd: spi-nor: add opcodes for octal Read/Write commands

2019-01-15 Thread Yogesh Narayan Gaur
- Add opcodes for octal I/O commands * Read : 1-1-8 and 1-8-8 protocol * Write : 1-1-8 and 1-8-8 protocol * opcodes for 4-byte address mode command - Entry of macros in _convert_3to4_xxx function - Add flag SPI_NOR_OCTAL_READ specifying flash support octal read commands. This flag is

[PATCH v7 3/5] mtd: m25p80: add support of octal mode I/O transfer

2019-01-15 Thread Yogesh Narayan Gaur
Add support for octal mode I/O data transfer based on the controller (spi) mode. Assign hw-capability mask bits for octal transfer. Signed-off-by: Yogesh Narayan Gaur --- drivers/mtd/devices/m25p80.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

[PATCH v7 2/5] mtd: spi-nor: add octal read flag for flash mt35xu512aba

2019-01-15 Thread Yogesh Narayan Gaur
Add octal read flag for flash mt35xu512aba. This flash, mt35xu512aba, is only complaint to SFDP JESD216B and does not seem to support newer JESD216C standard that provides auto detection of Octal mode capabilities and opcodes. Therefore, this capability is manually added using new

Re: KMSAN: uninit-value in mpol_rebind_mm

2019-01-15 Thread Vlastimil Babka
On 1/5/19 2:28 AM, Andrew Morton wrote: > On Fri, 4 Jan 2019 09:50:31 +0100 Vlastimil Babka wrote: > >>> Yes, it doesn't and it's not trivial to do. The tool reports uses of >>> unint _values_. Values don't necessary reside in memory. It can be a >>> register, that come from another register

Re: [PATCH 1/2 v6] kdump: add the vmcoreinfo documentation

2019-01-15 Thread Borislav Petkov
On Mon, Jan 14, 2019 at 03:49:14PM -0500, Dave Anderson wrote: > Yeah, I've been watching the thread, and the document looks fine to me. > It's just that when I saw the discussion of this one being removed that > I felt the need to respond... ;-) Good. :-) Ok, I've amended the

Re: [REGRESSION] 5.0-rc2: iptables -nvL consumes 100% of CPU and hogs memory with kernel 5.0-rc2

2019-01-15 Thread Michal Kubecek
(CC netfilter-devel and netdev) On Mon, Jan 14, 2019 at 11:53:10PM +0100, Martin Steigerwald wrote: > Hi! > > Does that ring a bell with someone? For now I just downgraded, no time > for detailed analysis. > > Debian bug report at: > > iptables -nvL consumes 100% of CPU and hogs memory with

[tip:x86/kdump] kdump: Document kernel data exported in the vmcoreinfo note

2019-01-15 Thread tip-bot for Lianbo Jiang
Commit-ID: f263245a0ce2c4e23b89a58fa5f7dfc048e11929 Gitweb: https://git.kernel.org/tip/f263245a0ce2c4e23b89a58fa5f7dfc048e11929 Author: Lianbo Jiang AuthorDate: Thu, 10 Jan 2019 20:19:43 +0800 Committer: Borislav Petkov CommitDate: Tue, 15 Jan 2019 11:05:28 +0100 kdump: Document

[PATCH v2] 8250_pci.c: Update NI specific devices class to multi serial

2019-01-15 Thread Guan Yung Tseng
Modified NI devices class to PCI_CLASS_COMMUNICATION_MULTISERIAL. The reason of doing this is because all NI multi port serial cards use PCI_CLASS_COMMUNICATION_OTHER class and thus fail the serial_pci_is_class_communication test added in the commit 7d8905d06405 ("serial: 8250_pci: Enable device

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

2019-01-15 Thread Liviu Dudau
On Tue, Jan 15, 2019 at 10:46:19AM +1100, Stephen Rothwell wrote: > Hi Liviu, Hi Stephen, > > After merging the mali-dp tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/gpu/drm/arm/display/komeda/komeda_private_obj.c: In function >

Re: [PATCH] Input: synaptics - add PNP IDs for Dell XPS models to forcepad

2019-01-15 Thread Paul Menzel
Dear Benjamin, Thank you for chiming in. On 01/15/19 09:57, Benjamin Tissoires wrote: > On Mon, Jan 14, 2019 at 7:40 PM Dmitry Torokhov wrote: >> >> On Sat, Jan 12, 2019 at 04:04:36PM -0600, Kim Phillips wrote: >>> On 1/11/19 7:40 PM, Dmitry Torokhov wrote: On Fri, Jan 11, 2019 at

Re:[PATCH] x86/mm/mem_encrypt_identity : fix error useage to sizeof

2019-01-15 Thread Thomas Gleixner
On Mon, 7 Jan 2019, peng.h...@zte.com.cn wrote: > >> Fix error usage to sizeof. It should not use sizeof to pointer. > > > > because? > > > >The commit message needs to explain what the potential issue could be > >and why it doesn't matter in this case. > I see the definition of pte_t may be

[PATCH v6 06/16] sched/core: uclamp: Enforce last task UCLAMP_MAX

2019-01-15 Thread Patrick Bellasi
When the task sleeps, it removes its max utilization clamp from its CPU. However, the blocked utilization on that CPU can be higher than the max clamp value enforced while the task was running. This allows undesired CPU frequency increases while a CPU is idle, for example, when another CPU on the

[PATCH v6 03/16] sched/core: uclamp: Map TASK's clamp values into CPU's clamp buckets

2019-01-15 Thread Patrick Bellasi
Utilization clamping requires each CPU to know which clamp values are assigned to tasks RUNNABLE on that CPU. A per-CPU array of reference counters can be used where each entry tracks how many RUNNABLE tasks require the same clamp value on each CPU. However, the range of clamp values is too wide

[PATCH v6 08/16] sched/cpufreq: uclamp: Add utilization clamping for FAIR tasks

2019-01-15 Thread Patrick Bellasi
Each time a frequency update is required via schedutil, a frequency is selected to (possibly) satisfy the utilization reported by each scheduling class. However, when utilization clamping is in use, the frequency selection should consider userspace utilization clamping hints. This will allow, for

[PATCH v6 02/16] sched/core: uclamp: Extend sched_setattr() to support utilization clamping

2019-01-15 Thread Patrick Bellasi
The SCHED_DEADLINE scheduling class provides an advanced and formal model to define tasks requirements that can translate into proper decisions for both task placements and frequencies selections. Other classes have a more simplified model based on the POSIX concept of priorities. Such a simple

[PATCH v6 13/16] sched/core: uclamp: Propagate parent clamps

2019-01-15 Thread Patrick Bellasi
In order to properly support hierarchical resources control, the cgroup delegation model requires that attribute writes from a child group never fail but still are (potentially) constrained based on parent's assigned resources. This requires to properly propagate and aggregate parent attributes

Re: [REGRESSION] 5.0-rc2: iptables -nvL consumes 100% of CPU and hogs memory with kernel 5.0-rc2

2019-01-15 Thread Florian Westphal
Michal Kubecek wrote: > > I upgraded to self-compiled 5.0-rc2 today and found the machine to be slow > > after startup. I saw iptables consuming 100% CPU, it only responded to > > SIGKILL. It got restarted several times, probably by some systemd service. > > > > Then I started 'iptables -nvL'

[PATCH v6 05/16] sched/core: uclamp: Update CPU's refcount on clamp changes

2019-01-15 Thread Patrick Bellasi
Utilization clamp values enforced on a CPU by a task can be updated, for example via a sched_setattr() syscall, while a task is RUNNABLE on that CPU. A clamp value change always implies a clamp bucket refcount update to ensure the new constraints are enforced. Hook into uclamp_bucket_get() to

[PATCH v6 11/16] sched/fair: Add uclamp support to energy_compute()

2019-01-15 Thread Patrick Bellasi
The Energy Aware Scheduler (AES) estimates the energy impact of waking up a task on a given CPU. This estimation is based on: a) an (active) power consumptions defined for each CPU frequency b) an estimation of which frequency will be used on each CPU c) an estimation of the busy time

[PATCH v6 01/16] sched/core: Allow sched_setattr() to use the current policy

2019-01-15 Thread Patrick Bellasi
The sched_setattr() syscall mandates that a policy is always specified. This requires to always know which policy a task will have when attributes are configured and it makes it impossible to add more generic task attributes valid across different scheduling policies. Reading the policy before

  1   2   3   4   5   6   7   8   9   10   >