Re: [PATCH v2 2/3] ARM: dts: add Netronix E60K02 board common file

2019-10-06 Thread Andreas Kemnade
Hi Jonathan, On Mon, 7 Oct 2019 00:38:48 +0200 Jonathan Neuschäfer wrote: > Thanks for CCing me on this patchset. Nice to see more e-book reader > related work! > > A few comments and questions below. > > On Mon, Sep 30, 2019 at 09:43:31PM +0200, Andreas Kemnade wrote: > > The Netronix board

Re: [PATCH 01/11] iomap: add tracing for the readpage / readpages

2019-10-06 Thread Christoph Hellwig
On Sun, Oct 06, 2019 at 03:43:24PM -0700, Darrick J. Wong wrote: > > +iomap-y+= trace.o \ > > I think this patch is missing fs/iomap/trace.c ? It does. The file is in my tree, but I never did a git-add for it..

[PATCH V4 2/2] mm/pgtable/debug: Add test validating architecture page table helpers

2019-10-06 Thread Anshuman Khandual
This adds a test module which will validate architecture page table helpers and accessors regarding compliance with generic MM semantics expectations. This will help various architectures in validating changes to the existing page table helpers or addition of new ones. Test page table and memory

[PATCH V4 1/2] mm/hugetlb: Make alloc_gigantic_page() available for general use

2019-10-06 Thread Anshuman Khandual
alloc_gigantic_page() implements an allocation method where it scans over various zones looking for a large contiguous memory block which could not have been allocated through the buddy allocator. A subsequent patch which tests arch page table helpers needs such a method to allocate PUD_SIZE sized

[PATCH V4 0/2] mm/debug: Add tests for architecture exported page table helpers

2019-10-06 Thread Anshuman Khandual
This series adds a test validation for architecture exported page table helpers. Patch in the series adds basic transformation tests at various levels of the page table. Before that it exports gigantic page allocation function from HugeTLB. This test was originally suggested by Catalin during

Re: [PATCH 3/3] usb: dwc3: Remove dev_err() on platform_get_irq() failure

2019-10-06 Thread Felipe Balbi
Hi, Hans de Goede writes: > Since commit 7723f4c5ecdb ("driver core: platform: Add an error message to > platform_get_irq*()"), platform_get_irq() will call dev_err() itself on > failure, so there is no need for the driver to also do this. > > Signed-off-by: Hans de Goede Acked-by: Felipe

Re: [PATCH 2/3] usb: dwc3: Switch to platform_get_irq_byname_optional()

2019-10-06 Thread Felipe Balbi
Hi, Hans de Goede writes: > The dwc3 code to get the "peripheral" / "host" / "otg" IRQ first tries > platform_get_irq_byname() and then falls back to the IRQ at index 0 if > the platform_get_irq_byname(). > > In this case we do not want platform_get_irq_byname() to print an error > on

Re: [PATCH RESEND v8 0/4] Make IPA use PM_EM

2019-10-06 Thread Daniel Lezcano
Hi Quentin, the series does no longer apply, do you think it is possible to give it a respin? On 11/09/2019 15:03, Quentin Perret wrote: > Re-sending this from an email address I can access. For a cover letter, > see: >

Re: [PATCH v4 2/5] soc: qcom: smd-rpm: Create RPM interconnect proxy child device

2019-10-06 Thread Bjorn Andersson
On Sun 06 Oct 19:01 PDT 2019, Brian Masney wrote: > On Thu, Jun 13, 2019 at 06:13:20PM +0300, Georgi Djakov wrote: > > Register a platform device to handle the communication of bus bandwidth > > requests with the remote processor. The interconnect proxy device is part > > of this remote processor

[PATCH v2] soc: amlogic: meson-gx-socinfo: Add S905X3 ID for VIM3L

2019-10-06 Thread Christian Hewitt
VIM3L appears to use a different ID: [0.086470] soc soc0: Amlogic Meson SM1 (S905X3) Revision 2b:c (b0:2) Detected Signed-off-by: Christian Hewitt --- drivers/soc/amlogic/meson-gx-socinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c

[PATCH] soc: amlogic: meson-gx-socinfo: Add S905X3 ID for VIM3L

2019-10-06 Thread Christian Hewitt
[0.086470] soc soc0: Amlogic Meson SM1 (S905X3) Revision 2b:c (b0:2) Detected Signed-off-by: Christian Hewitt --- drivers/soc/amlogic/meson-gx-socinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c b/drivers/soc/amlogic/meson-gx-socinfo.c

[PATCH 3/3] HID: logitech-hidpp: add G920 device validation quirk

2019-10-06 Thread Andrey Smirnov
G920 device only advertises REPORT_ID_HIDPP_LONG and REPORT_ID_HIDPP_VERY_LONG in its HID report descriptor, so querying for REPORT_ID_HIDPP_SHORT with optional=false will always fail and prevent G920 to be recognized as a valid HID++ device. Modify hidpp_validate_device() to check only

[PATCH 1/3] HID: logitech-hidpp: use devres to manage FF private data

2019-10-06 Thread Andrey Smirnov
To simplify resource management in commit that follows as well as to save a couple of extra kfree()s and simplify hidpp_ff_deinit() switch driver code to use devres to manage the life-cycle of FF private data. Signed-off-by: Andrey Smirnov Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: Henrik

[PATCH 2/3] HID: logitech-hidpp: split g920_get_config()

2019-10-06 Thread Andrey Smirnov
Original version of g920_get_config() contained two kind of actions: 1. Device specific communication to query/set some parameters which requires active communication channel with the device, or, put in other way, for the call to be sandwiched between

[PATCH 0/3] Logitech G920 fixes

2019-10-06 Thread Andrey Smirnov
Everyone: This series contains patches to fix a couple of regressions in G920 wheel support by hid-logitech-hidpp driver. Without the patches the wheel remains stuck in autocentering mode ("resisting" any attempt to trun) as well as missing support for any FF action. Thanks, Andrey Smirnov

Re: [PATCH v2 6/6] pwm: update comment on struct pwm_ops::apply

2019-10-06 Thread Bjorn Andersson
On Fri, Oct 4, 2019 at 6:33 AM Rasmus Villemoes wrote: > > Commit 71523d1812ac (pwm: Ensure pwm_apply_state() doesn't modify the > state argument) updated the kernel-doc for pwm_apply_state(), but not > for the ->apply callback in the pwm_ops struct. > > Signed-off-by: Rasmus Villemoes

checkpatch: false positive "does MAINTAINERS need updating?" warning

2019-10-06 Thread Masahiro Yamada
Hi Joe, I ran checkpatch.pl against the following: https://lore.kernel.org/patchwork/patch/1136334/ I did update MAINTAINERS, but I still get "does MAINTAINERS need updating?" warning. Why? $ scripts/checkpatch.pl 0001-doc-move-namespaces.rst-out-of-kbuild-directory.patch WARNING: added,

mmotm 2019-10-06-21-12 uploaded

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

[RFC PATCH] media: videodev2.h: include instead of

2019-10-06 Thread Masahiro Yamada
Currently, linux/videodev.h is excluded from the UAPI header test since it is not self-contained. Building it for user-space would fail. (build log1 begin) CC usr/include/linux/videodev2.h.s In file included from :32:0:

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-06 Thread Max Filippov
On Sun, Oct 6, 2019 at 3:25 PM Guenter Roeck wrote: > this patch causes all my sparc64 emulations to stall during boot. It causes > all alpha emulations to crash with [1a] and [1b] when booting from a virtual > disk, and one of the xtensa emulations to crash with [2]. [...] > [2] > > Unable to

[PATCH v5 5/7] backlight: gpio: remove unused fields from platform data

2019-10-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Remove the platform data fields that nobody uses. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andy Shevchenko Reviewed-by: Linus Walleij Reviewed-by: Daniel Thompson --- include/linux/platform_data/gpio_backlight.h | 3 --- 1 file changed, 3 deletions(-) diff

[PATCH v5 3/7] backlight: gpio: simplify the platform data handling

2019-10-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Now that the last user of platform data (sh ecovec24) defines a proper GPIO lookup and sets the 'default-on' device property, we can drop the platform_data-specific GPIO handling and unify a big chunk of code. The only field used from the platform data is now the fbdev

[PATCH v5 7/7] backlight: gpio: pull gpio_backlight_initial_power_state() into probe

2019-10-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The probe function in the gpio-backlight driver is quite short. If we pull gpio_backlight_initial_power_state() into probe we can drop two more fields from struct gpio_backlight and shrink the driver code. Signed-off-by: Bartosz Golaszewski ---

Re: Aw: Re: [PATCH] mfd: mt6397: fix probe after changing mt6397-core

2019-10-06 Thread Hsin-hsiung Wang
On Sat, 2019-10-05 at 10:16 +0200, Matthias Brugger wrote: > > On 04/10/2019 17:51, Frank Wunderlich wrote: > > This Question goes to Hsin-Hsiung Wang ;) > > > > i only took his code (and splitted the 3rd part) to get mt6323 working > > again without reverting the other 2 Patches > >> regards

[PATCH v5 6/7] backlight: gpio: use a helper variable for >dev

2019-10-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Instead of dereferencing pdev each time, use a helper variable for the associated device pointer. Signed-off-by: Bartosz Golaszewski Reviewed-by: Linus Walleij Reviewed-by: Daniel Thompson Reviewed-by: Andy Shevchenko --- drivers/video/backlight/gpio_backlight.c |

[PATCH v5 4/7] sh: ecovec24: don't set unused fields in platform data

2019-10-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Platform data fields other than fbdev are no longer used by the backlight driver. Remove them. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andy Shevchenko Reviewed-by: Linus Walleij --- arch/sh/boards/mach-ecovec24/setup.c | 3 --- 1 file changed, 3

Re: Aw: Re: [PATCH] mfd: mt6397: fix probe after changing mt6397-core

2019-10-06 Thread Hsin-hsiung Wang
On Sat, 2019-10-05 at 10:16 +0200, Matthias Brugger wrote: > > On 04/10/2019 17:51, Frank Wunderlich wrote: > > This Question goes to Hsin-Hsiung Wang ;) > > > > i only took his code (and splitted the 3rd part) to get mt6323 working > > again without reverting the other 2 Patches > >> regards

Re: [PATCH] kasan: fix the missing underflow in memmove and memcpy with CONFIG_KASAN_GENERIC=y

2019-10-06 Thread Walter Wu
On Fri, 2019-10-04 at 15:52 +0200, Dmitry Vyukov wrote: > On Fri, Oct 4, 2019 at 2:05 PM Walter Wu wrote: > > > > On Fri, 2019-10-04 at 11:54 +0200, Dmitry Vyukov wrote: > > > > > "out-of-bounds" is the _least_ frequent KASAN bug type. So saying > > > > > "out-of-bounds" has downsides of both

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-06 Thread Linus Torvalds
On Sun, Oct 6, 2019 at 7:30 PM Guenter Roeck wrote: > > > Mind humoring me and trying that on your alpha machine (or emulator, > > or whatever)? > > Here you are. This is with v5.4-rc2 and your previous patch applied > on top. > > / # ./mmtest > Unable to handle kernel paging request at virtual

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-06 Thread Linus Torvalds
On Sun, Oct 6, 2019 at 7:50 PM Al Viro wrote: > > Out of those, only __copy_to_user_inatomic(), __copy_to_user(), > _copy_to_user() and iov_iter.c:copyout() can be called on > any architecture. > > The last two should just do user_access_begin()/user_access_end() > instead of access_ok().

kexec breaks with 5.4 due to memzero_explicit

2019-10-06 Thread Arvind Sankar
Hi, arch/x86/purgatory/purgatory.ro has an undefined symbol memzero_explicit. This has come from commit 906a4bb97f5d ("crypto: sha256 - Use get/put_unaligned_be32 to get input, memzero_explicit") according to git bisect. The patch mentions that it impacts purgatory code, but I don't see any

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-06 Thread Al Viro
On Sun, Oct 06, 2019 at 07:06:19PM -0700, Linus Torvalds wrote: > On Sun, Oct 6, 2019 at 6:24 PM Al Viro wrote: > > > > Ugh... I wonder if it would be better to lift STAC/CLAC out of > > raw_copy_to_user(), rather than trying to reinvent its guts > > in readdir.c... > > Yeah, I suspect that's

[PATCH v2] iio: pressure: bmp280: use devm action and remove labels from probe

2019-10-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We can drop some duplicate code if we use devm_action for disabling regulators and pm and the managed variant of iio_device_register(). This allows us to completely remove all remove() callbacks from both i2c and spi code. Signed-off-by: Bartosz Golaszewski --- v1 ->

Re: [PATCH v3 0/2] mmc: sdhci-milbeaut: add Milbeaut SD driver

2019-10-06 Thread orito.takao
Thanks for checking and pushing my patch ! Orito > On Tue, 10 Sep 2019 at 03:39, Takao Orito wrote: > > > > The following patches add driver for SD Host controller on > > Socionext's Milbeaut M10V platforms. > > > > SD Host controller on Milbeaut consists of two controller parts. > > One is

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-06 Thread Guenter Roeck
On 10/6/19 6:17 PM, Linus Torvalds wrote: On Sun, Oct 6, 2019 at 5:04 PM Guenter Roeck wrote: [ ... ] And yes, I'll fix that name copy loop in filldir to align the destination first, *but* if I'm right, it means that something like this should also likely cause issues: #define _GNU_SOURCE

ehci-pci breakage with dma-mapping changes in 5.4-rc2

2019-10-06 Thread Arvind Sankar
Hi, Commit 249baa547901 ("dma-mapping: provide a better default ->get_required_mask") causes an error on ehci-pci for me. Either reverting the commit or disabling iommu=pt seems to fix this. [9.81] usb 1-1: new high-speed USB device number 2 using ehci-pci [9.000755] ehci-pci

Re: [PATCH] NFS: Fix O_DIRECT read problem when another write is going on

2019-10-06 Thread Su Yanjun
在 2019/10/1 2:06, Trond Myklebust 写道: Hi Su, On Mon, 2019-09-30 at 17:11 +0800, Su Yanjun wrote: In xfstests generic/465 tests failed. Because O_DIRECT r/w use async rpc calls, when r/w rpc calls are running concurrently we may read partial data which is wrong. For example as follows.

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-06 Thread Linus Torvalds
On Sun, Oct 6, 2019 at 6:24 PM Al Viro wrote: > > Ugh... I wonder if it would be better to lift STAC/CLAC out of > raw_copy_to_user(), rather than trying to reinvent its guts > in readdir.c... Yeah, I suspect that's the best option. Do something like - lift STAC/CLAC out of raw_copy_to_user

Re: [PATCH v4 2/5] soc: qcom: smd-rpm: Create RPM interconnect proxy child device

2019-10-06 Thread Brian Masney
On Thu, Jun 13, 2019 at 06:13:20PM +0300, Georgi Djakov wrote: > Register a platform device to handle the communication of bus bandwidth > requests with the remote processor. The interconnect proxy device is part > of this remote processor (RPM) hardware. Let's create a icc-smd-rpm proxy > child

Re: [PATCH] ALSA: hda/realtek: Reduce the Headphone static noise on XPS 9350/9360

2019-10-06 Thread Takashi Iwai
On Thu, 03 Oct 2019 06:39:19 +0200, Kai-Heng Feng wrote: > > Headphone on XPS 9350/9360 produces a background white noise. The The > noise level somehow correlates with "Headphone Mic Boost", when it sets > to 1 the noise disappears. However, doing this has a side effect, which > also decreases

Re: [RESEND TRIVIAL] sound: Fix Kconfig indentation

2019-10-06 Thread Takashi Iwai
On Fri, 04 Oct 2019 16:49:31 +0200, Krzysztof Kozlowski wrote: > > Adjust indentation from spaces to tab (+optional two spaces) as in > coding style with command like: > $ sed -e 's/^/\t/' -i */Kconfig > > Signed-off-by: Krzysztof Kozlowski > Acked-by: Mark Brown Applied now.

[PATCH V6 4/5] arm64: dts: imx8qxp-mek: Enable scu key

2019-10-06 Thread Anson Huang
Enable scu key for i.MX8QXP MEK board. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index

[PATCH V6 5/5] arm64: defconfig: Enable CONFIG_KEYBOARD_IMX_SC_KEY as module

2019-10-06 Thread Anson Huang
Select CONFIG_KEYBOARD_IMX_SC_KEY as module by default to support i.MX8QXP scu key driver. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index

[PATCH V6 1/5] dt-bindings: fsl: scu: add scu key binding

2019-10-06 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and scu key event etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to get scu key event, add binding doc for

[PATCH V6 2/5] input: keyboard: imx_sc: Add i.MX system controller key support

2019-10-06 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and scu key etc.. Adds i.MX system controller key driver support, Linux kernel has to communicate with system controller via MU (message unit) IPC to get scu

[PATCH V6 3/5] arm64: dts: imx8qxp: Add scu key node

2019-10-06 Thread Anson Huang
Add scu key node for i.MX8QXP, disabled by default as it depends on board design. Signed-off-by: Anson Huang --- Changes since V5: - use "linux,keycodes" instead of "linux,keycode". --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git

RE: [PATCH V2 1/5] dt-bindings: fsl: scu: add scu power key binding

2019-10-06 Thread Anson Huang
Hi, Shawn > On Mon, Sep 23, 2019 at 02:34:07AM +, Anson Huang wrote: > > Hi, Pavel > > > > > Subject: Re: [PATCH V2 1/5] dt-bindings: fsl: scu: add scu power key > > > binding > > > > > > On Tue 2019-09-03 10:03:40, Anson Huang wrote: > > > > NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core

Re: [PATCH] rcu/nocb: Fix dump_tree hierarchy print always active

2019-10-06 Thread Paul E. McKenney
On Fri, Oct 04, 2019 at 03:24:02PM -0700, Paul E. McKenney wrote: > On Fri, Oct 04, 2019 at 07:49:10PM +, Stefan Reiter wrote: > > Commit 18cd8c93e69e ("rcu/nocb: Print gp/cb kthread hierarchy if > > dump_tree") added print statements to rcu_organize_nocb_kthreads for > > debugging, but

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-06 Thread Al Viro
On Sun, Oct 06, 2019 at 06:17:02PM -0700, Linus Torvalds wrote: > On Sun, Oct 6, 2019 at 5:04 PM Guenter Roeck wrote: > > > > All my alpha, sparc64, and xtensa tests pass with the attached patch > > applied on top of v5.4-rc2. I didn't test any others. > > Okay... I really wish my guess had been

Re: MAP_FIXED_NOREPLACE appears to break older i386 binaries

2019-10-06 Thread Kees Cook
On Sun, Oct 06, 2019 at 02:14:59PM -0700, Linus Torvalds wrote: > On Sun, Oct 6, 2019 at 11:07 AM Linus Torvalds > wrote: > > > > Yes, we should get this fixed. But I continue to ask you to point to > > the actual binaries for testing.. > > Just to bring the resolution back publicly to lkml

RE: [PATCH] firmware: imx: Skip return value check for some special SCU firmware APIs

2019-10-06 Thread Anson Huang
Hi, Marco > On 19-09-30 08:32, Anson Huang wrote: > > Hi, Marco > > > > > On 19-09-30 07:42, Anson Huang wrote: > > > > Hi, Leonard > > > > > > > > > On 2019-09-27 4:20 AM, Anson Huang wrote: > > > > > >> On 2019-09-26 1:06 PM, Marco Felsch wrote: > > > > > >>> On 19-09-26 08:03, Anson Huang

[PATCH V2] firmware: imx: Skip return value check for some special SCU firmware APIs

2019-10-06 Thread Anson Huang
The SCU firmware does NOT always have return value stored in message header's function element even the API has response data, those special APIs are defined as void function in SCU firmware, so they should be treated as return success always. Signed-off-by: Anson Huang --- Changes since V1:

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-06 Thread Linus Torvalds
On Sun, Oct 6, 2019 at 5:04 PM Guenter Roeck wrote: > > All my alpha, sparc64, and xtensa tests pass with the attached patch > applied on top of v5.4-rc2. I didn't test any others. Okay... I really wish my guess had been wrong. Because fixing filldir64 isn't the problem. I can come up with

Re: [PATCH v6 01/12] tools lib traceevent: Convert remaining %p[fF] users to %p[sS]

2019-10-06 Thread Steven Rostedt
On Tue, 10 Sep 2019 11:42:06 -0700 Joe Perches wrote: > On Tue, 2019-09-10 at 14:26 -0400, Steven Rostedt wrote: > > On Tue, 10 Sep 2019 10:18:44 -0700 > > Joe Perches wrote: > > > > > > It's not just for the lastest kernel. We must maintain backward > > > > compatibility here too. If there

[ANNOUNCE] autofs 5.1.6 release

2019-10-06 Thread Ian Kent
Hi all, It's time for a release, autofs-5.1.6. This is an important release because it marks the beginning of work to be done torward resolving the very long standing problem of using very large direct mount maps in autofs, along with the needed mitigatigation of the effects of those large mount

RE: [PATCH] ARM: dts: imx7s: Correct GPT's ipg clock source

2019-10-06 Thread Anson Huang
Hi, Shawn > On Mon, Sep 16, 2019 at 04:29:09PM +0800, Anson Huang wrote: > > i.MX7S/D's GPT ipg clock should be from GPT clock root and controlled > > by CCM's GPT CCGR, using correct clock source for GPT ipg clock > > instead of IMX7D_CLK_DUMMY. > > So both 'ipg' and 'per' clock are coming from

[PATCH V2] ARM: dts: imx7s: Correct GPT's ipg clock source

2019-10-06 Thread Anson Huang
i.MX7S/D's GPT ipg clock should be from GPT clock root and controlled by CCM's GPT CCGR, using correct clock source for GPT ipg clock instead of IMX7D_CLK_DUMMY. Fixes: 3ef79ca6bd1d ("ARM: dts: imx7d: use imx7s.dtsi as base device tree") Signed-off-by: Anson Huang --- Changes since V1: -

Re: [PATCH] media: vimc: Make capture devices and subdevices use different link_validates

2019-10-06 Thread Helen Koike
Hi Nícolas, Thanks for you patch, just some small comments below. On 10/6/19 4:14 PM, Nícolas F. R. A. Prado wrote: > Instead of validating the links to capture devices and subdevices with > the same function, use the default v4l function for links between > subdevices and only use a different

krzysztof/for-next boot bisection: v5.4-rc1-48-g0bc9c79979ea on peach-pi

2019-10-06 Thread kernelci.org bot
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This automated bisection report was sent to you on the basis * * that you may be involved with the breaking commit it has * * found. No manual investigation has been done to verify it, * * and the root cause of the

Re: [PATCH 4.9 00/47] 4.9.196-stable review

2019-10-06 Thread kernelci.org bot
stable-rc/linux-4.9.y boot: 41 boots: 0 failed, 41 passed (v4.9.195-48-gce2cf4ffcd94) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.195-48-gce2cf4ffcd94/ Full Build Summary:

[PATCH] staging: rtl8712: align arguments with open parenthesis in file rtl8712_led.c

2019-10-06 Thread Gabriela Bittencourt
Cleans up checks of "Alignment should match open parenthesis" Signed-off-by: Gabriela Bittencourt --- drivers/staging/rtl8712/rtl8712_led.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/rtl8712_led.c b/drivers/staging/rtl8712/rtl8712_led.c index

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-06 Thread Guenter Roeck
On Sun, Oct 06, 2019 at 04:06:16PM -0700, Linus Torvalds wrote: > On Sun, Oct 6, 2019 at 3:20 PM Guenter Roeck wrote: > > > > this patch causes all my sparc64 emulations to stall during boot. It causes > > all alpha emulations to crash with [1a] and [1b] when booting from a virtual > > disk, and

Re: [PATCH 5.3 000/166] 5.3.5-stable review

2019-10-06 Thread kernelci.org bot
stable-rc/linux-5.3.y boot: 62 boots: 1 failed, 60 passed with 1 untried/unknown (v5.3.4-167-ga2703e78c28a) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.3.y/kernel/v5.3.4-167-ga2703e78c28a/ Full Build Summary:

Re: [PATCH] Make SPLIT_RSS_COUNTING configurable

2019-10-06 Thread Kirill A. Shutemov
On Fri, Oct 04, 2019 at 06:45:21AM -0700, Daniel Colascione wrote: > On Fri, Oct 4, 2019 at 6:26 AM Kirill A. Shutemov > wrote: > > On Fri, Oct 04, 2019 at 02:33:49PM +0200, Michal Hocko wrote: > > > On Wed 02-10-19 19:08:16, Daniel Colascione wrote: > > > > On Wed, Oct 2, 2019 at 6:56 PM Qian

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-06 Thread Guenter Roeck
On 10/6/19 4:35 PM, Linus Torvalds wrote: [ ... ] Anyway, let me think about this, but just for testing, does the attached patch make any difference? It's not the right thing in general (and most definitely not on x86), but for testing whether this is about unaligned accesses it might work.

Re: [PATCH 4.19 000/106] 4.19.78-stable review

2019-10-06 Thread kernelci.org bot
stable-rc/linux-4.19.y boot: 56 boots: 0 failed, 56 passed (v4.19.77-107-g61e72e79b84d) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.19.y/kernel/v4.19.77-107-g61e72e79b84d/ Full Build Summary:

[PATCH] taskstats: fix data-race

2019-10-06 Thread Christian Brauner
When assiging and testing taskstats in taskstats_exit() there's a race when writing and reading sig->stats when a thread-group with more than one thread exits: cpu0: thread catches fatal signal and whole thread-group gets taken down do_exit() do_group_exit() taskstats_exit()

Re: [PATCH] rculist: Describe variadic macro argument in a Sphinx-compatible way

2019-10-06 Thread Joel Fernandes
On Fri, Oct 04, 2019 at 03:24:39PM -0700, Paul E. McKenney wrote: > On Fri, Oct 04, 2019 at 11:54:02PM +0200, Jonathan Neuschäfer wrote: > > Without this patch, Sphinx shows "variable arguments" as the description > > of the cond argument, rather than the intended description, and prints > > the

Re: [PATCH 5.2 000/137] 5.2.20-stable review

2019-10-06 Thread kernelci.org bot
stable-rc/linux-5.2.y boot: 62 boots: 0 failed, 61 passed with 1 untried/unknown (v5.2.19-138-gc7a8121be8ef) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.2.y/kernel/v5.2.19-138-gc7a8121be8ef/ Full Build Summary:

Re: [PATCH v22 16/24] x86/vdso: Add support for exception fixup in vDSO functions

2019-10-06 Thread Jarkko Sakkinen
On Mon, Oct 07, 2019 at 02:38:17AM +0300, Jarkko Sakkinen wrote: > On Fri, Oct 04, 2019 at 09:52:21PM +0300, Jarkko Sakkinen wrote: > > On Thu, Oct 03, 2019 at 05:15:00PM -0700, Sean Christopherson wrote: > > > I'll tackle this tomorrow. I've been working on the feature control MSR > > > series

Re: [PATCH v22 16/24] x86/vdso: Add support for exception fixup in vDSO functions

2019-10-06 Thread Jarkko Sakkinen
On Fri, Oct 04, 2019 at 09:52:21PM +0300, Jarkko Sakkinen wrote: > On Thu, Oct 03, 2019 at 05:15:00PM -0700, Sean Christopherson wrote: > > I'll tackle this tomorrow. I've been working on the feature control MSR > > series and will get that sent out tomorrow as well. I should also be able > > to

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-06 Thread Linus Torvalds
On Sun, Oct 6, 2019 at 4:06 PM Linus Torvalds wrote: > > Ho humm. I've run variations of that patch over a few years on x86, > but obviously not on alpha/sparc. Oooh. I wonder... This may be the name string copy loop. And it's special in that the result may not be aligned. Now, a

Re: [PATCH v3 2/2] tpm: Detach page allocation from tpm_buf

2019-10-06 Thread Jarkko Sakkinen
On Fri, Oct 04, 2019 at 11:24:34AM -0700, Jerry Snitselaar wrote: > On Fri Oct 04 19, James Bottomley wrote: > > On Fri, 2019-10-04 at 13:37 -0400, Mimi Zohar wrote: > > > On Fri, 2019-10-04 at 09:37 -0700, James Bottomley wrote: > > > > On Thu, 2019-10-03 at 21:51 +0300, Jarkko Sakkinen wrote: >

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-06 Thread Linus Torvalds
On Sun, Oct 6, 2019 at 3:20 PM Guenter Roeck wrote: > > this patch causes all my sparc64 emulations to stall during boot. It causes > all alpha emulations to crash with [1a] and [1b] when booting from a virtual > disk, and one of the xtensa emulations to crash with [2]. Ho humm. I've run

Re: [PATCH 4.14 00/68] 4.14.148-stable review

2019-10-06 Thread kernelci.org bot
stable-rc/linux-4.14.y boot: 54 boots: 0 failed, 54 passed (v4.14.147-69-gb970b501da0b) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.147-69-gb970b501da0b/ Full Build Summary:

Re: [PATCH 01/11] iomap: add tracing for the readpage / readpages

2019-10-06 Thread Darrick J. Wong
On Sun, Oct 06, 2019 at 05:45:58PM +0200, Christoph Hellwig wrote: > Lift the xfs code for tracing address space operations to the iomap > layer. > > Signed-off-by: Christoph Hellwig > --- > fs/iomap/Makefile | 16 -- > fs/iomap/buffered-io.c | 5 + > fs/iomap/trace.h

Question about sched_prio_to_weight values

2019-10-06 Thread Francesco Poli
Hello, I am trying to understand something about the internals of the completely fair scheduler (CFS) used in the Linux kernel. I have a question about the mapping between nice levels and weights, I hope someone can shed some light on those numbers. Please note that I am not subscribed to the

Re: [PATCH v2 2/3] ARM: dts: add Netronix E60K02 board common file

2019-10-06 Thread Jonathan Neuschäfer
Thanks for CCing me on this patchset. Nice to see more e-book reader related work! A few comments and questions below. On Mon, Sep 30, 2019 at 09:43:31PM +0200, Andreas Kemnade wrote: > The Netronix board E60K02 can be found some several Ebook-Readers, > at least the Kobo Clara HD and the Tolino

Re: [PATCH v7 0/6] tpm: Add driver for cr50

2019-10-06 Thread Jarkko Sakkinen
On Fri, Sep 20, 2019 at 11:32:34AM -0700, Stephen Boyd wrote: > This patch series adds support for the H1 secure microcontroller > running cr50 firmware found on various recent Chromebooks. This driver > is necessary to boot into a ChromeOS userspace environment. It > implements support for

Re: [PATCH v7 5/6] tpm: tpm_tis_spi: Cleanup includes

2019-10-06 Thread Jarkko Sakkinen
On Fri, Sep 20, 2019 at 11:32:39AM -0700, Stephen Boyd wrote: > Some of these includes aren't used, for example of_gpio.h and freezer.h, > or they are missing, for example kernel.h for min_t() usage. Add missing > headers and remove unused ones so that we don't have to expand all these > headers

Re: [PATCH v7 6/6] tpm: tpm_tis_spi: Drop THIS_MODULE usage from driver struct

2019-10-06 Thread Jarkko Sakkinen
On Fri, Sep 20, 2019 at 11:32:40AM -0700, Stephen Boyd wrote: > The module_spi_driver() macro already inserts THIS_MODULE into the > driver .owner field. Remove it to save a line. > > Cc: Andrey Pronin > Cc: Duncan Laurie > Cc: Jason Gunthorpe > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman >

Re: [PATCH v7 4/6] tpm: tpm_tis_spi: Support cr50 devices

2019-10-06 Thread Jarkko Sakkinen
On Fri, Sep 20, 2019 at 11:32:38AM -0700, Stephen Boyd wrote: > From: Andrey Pronin > > Add TPM2.0 PTP FIFO compatible SPI interface for chips with Cr50 > firmware. The firmware running on the currently supported H1 Secure > Microcontroller requires a special driver to handle its specifics: > >

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-06 Thread Guenter Roeck
On Sat, May 21, 2016 at 09:59:07PM -0700, Linus Torvalds wrote: > We really should avoid the "__{get,put}_user()" functions entirely, > because they can easily be mis-used and the original intent of being > used for simple direct user accesses no longer holds in a post-SMAP/PAN > world. > >

[PATCH] staging: rtl8712: align arguments with open parenthesis

2019-10-06 Thread Gabriela Bittencourt
Cleans up checks of: "Alignment should match open parenthesis" Signed-off-by: Gabriela Bittencourt --- drivers/staging/rtl8712/osdep_service.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/osdep_service.h b/drivers/staging/rtl8712/osdep_service.h

Re: [PATCH 4.4 00/36] 4.4.196-stable review

2019-10-06 Thread kernelci.org bot
stable-rc/linux-4.4.y boot: 39 boots: 1 failed, 36 passed with 2 conflicts (v4.4.195-37-g13cac61d31df) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.195-37-g13cac61d31df/ Full Build Summary:

Re: [PATCH net-next 1/3] net: stmmac: Fallback to VLAN Perfect filtering if HASH is not available

2019-10-06 Thread kbuild test robot
Hi Jose, I love your patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Jose-Abreu/net-stmmac-Improvements-for-next/20191007-013324 reproduce: # apt-get install sparse # sparse version:

Linux 5.4-rc2

2019-10-06 Thread Linus Torvalds
Back to the usual Sunday afternoon schedule, and -rc2 is out. Nothing particularly stands out here. It's roughly one third arch updates, one third drivers, and one third "misc" (kvm selftests, networking, filesystems, core kernel, header files etc). No real theme, just random fixes all over the

Re: [PATCH] staging: comedi: Capitalize macro name to fix camelcase checkpatch warning

2019-10-06 Thread Al Viro
On Sun, Oct 06, 2019 at 07:49:03PM +0100, Jules Irenge wrote: [mA vs. MA] Table 5. SI prefixes Factor NameSymbol 10^6megaM 10^-3 milli m Confusing one for another (especially for electrical units) can be... spectacular. FYI, 1mA is more or less what you get if you

Re: MAP_FIXED_NOREPLACE appears to break older i386 binaries

2019-10-06 Thread Linus Torvalds
On Sun, Oct 6, 2019 at 11:07 AM Linus Torvalds wrote: > > Yes, we should get this fixed. But I continue to ask you to point to > the actual binaries for testing.. Just to bring the resolution back publicly to lkml after rmk sent me test binaries in private email, the end result is commit

[PATCH] staging: rtl8712: align arguments with open parenthesis

2019-10-06 Thread Gabriela Bittencourt
Cleans up checks of "Alignment should match open parenthesis" Signed-off-by: Gabriela Bittencourt --- drivers/staging/rtl8712/recv_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/recv_linux.c b/drivers/staging/rtl8712/recv_linux.c index

[PATCH] staging: rtl8712: align block comments

2019-10-06 Thread Gabriela Bittencourt
Cleans up warnings of "Block comments should align the * on each line" Signed-off-by: Gabriela Bittencourt --- drivers/staging/rtl8712/recv_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8712/recv_linux.c

Re: [PATCH v6 01/10] mm/memunmap: Don't access uninitialized memmap in memunmap_pages()

2019-10-06 Thread David Hildenbrand
On 06.10.19 21:58, Damian Tometzki wrote: > Hello David, > > patch 05/10 is missing in the patch series. > Hi Damian, not really. Could be that lkml is slow today. E.g., check https://marc.info/?l=linux-mm=157035222620403=2 and especially https://marc.info/?l=linux-mm=157035225120440=2

[PATCH v5 2/3] docs: driver-api: generic-counter: Update Count and Signal data types

2019-10-06 Thread William Breathitt Gray
Count data is now always represented as an unsigned integer, while Signal data is either SIGNAL_LOW or SIGNAL_HIGH. In addition, clarification changes and additions are made to better explain the theory of the Generic Counter interface and its use. Signed-off-by: William Breathitt Gray ---

[PATCH v5 3/3] counter: Fix typo in action_get description

2019-10-06 Thread William Breathitt Gray
The action_get callback returns a Synapse's action mode. Signed-off-by: William Breathitt Gray --- include/linux/counter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/counter.h b/include/linux/counter.h index 32fb4d8cc3fd..9dbd5df4cd34 100644 ---

[PATCH v5 0/3] Simplify count_read/count_write/signal_read

2019-10-06 Thread William Breathitt Gray
Changes in v5: - Add changes and additions to generic-counter.rst to clarify theory and use of the Generic Counter interface - Fix typo in counter.h action_get description comment The changes in this patchset will not affect the userspace interface. Rather, these changes are intended to

[PATCH v5 1/3] counter: Simplify the count_read and count_write callbacks

2019-10-06 Thread William Breathitt Gray
The count_read and count_write callbacks are simplified to pass val as unsigned long rather than as an opaque data structure. The opaque counter_count_read_value and counter_count_write_value structures, counter_count_value_type enum, and relevant counter_count_read_value_set and

[PATCH] staging: vt6656: remove duplicated blank line

2019-10-06 Thread Gabriela Bittencourt
Cleans up checks of "don't use multiple blank line" Signed-off-by: Gabriela Bittencourt --- drivers/staging/vt6656/main_usb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 856ba97aec4f..a1884b5cc915 100644 ---

Re: [PATCH v6 01/10] mm/memunmap: Don't access uninitialized memmap in memunmap_pages()

2019-10-06 Thread Damian Tometzki
Hello David, patch 05/10 is missing in the patch series. On Sun, 06. Oct 10:56, David Hildenbrand wrote: > From: "Aneesh Kumar K.V" > > With an altmap, the memmap falling into the reserved altmap space are > not initialized and, therefore, contain a garbage NID and a garbage > zone. Make

Re: [PATCH v10 12/16] leds: lp55xx: Add multicolor framework support to lp55xx

2019-10-06 Thread Jacek Anaszewski
Dan, On 10/1/19 4:56 PM, Dan Murphy wrote: > Add multicolor framework support for the lp55xx family. > > Signed-off-by: Dan Murphy > --- > drivers/leds/Kconfig | 1 + > drivers/leds/leds-lp55xx-common.c | 169 +++--- >

Re: [PATCH] arm64: dts: rockchip: Fix usb-c on Hugsun X99 TV Box

2019-10-06 Thread Vicente Bergas
On Saturday, October 5, 2019 2:52:00 AM CEST, Vivek Unune wrote: On Fri, Oct 04, 2019 at 11:45:08PM +0200, Heiko Stuebner wrote: Hi Vivek, Am Montag, 30. September 2019, 01:46:15 CEST schrieb Vivek Unune: ... Hi Heiko, I tested the c09b73cf patch without modifying exsisting dts. I can

  1   2   3   4   5   6   7   8   9   10   >