[RFC PATCH 8/9] ethtool: implement GET_PARAMS message

2017-12-11 Thread Michal Kubecek
Requests the information provide by ETHTOOL_GCOALESCE, ETHTOOL_GRINGPARAM, ETHTOOL_GPAUSEPARAM, ETHTOOL_GCHANNELS, ETHTOOL_GEEE and ETHTOOL_GFECPARAM. Flags in info_mask allow selecting only some (or on) of these categories. Signed-off-by: Michal Kubecek --- Documentation/networking/ethtool-netl

[RFC PATCH 7/9] ethtool: implement SET_SETTINGS message

2017-12-11 Thread Michal Kubecek
Sets the information provided by ETHTOOL_SLINKSETTINGS, ETHTOOL_SWOL and ETHTOOL_SMSGLVL. Unlike with ioctl(), userspace can send only some attributes so that we only need to call ethtool_ops callbacks which we really need (and the "set" callback is only called when we actually changed some setting

[RFC PATCH 9/9] ethtool: implement SET_PARAMS message

2017-12-11 Thread Michal Kubecek
Sets the information provided by ETHTOOL_SCOALESCE, ETHTOOL_SRINGPARAM, ETHTOOL_SPAUSEPARAM, ETHTOOL_SCHANNELS, ETHTOOL_SEEE and ETHTOOL_SFECPARAM. Each of these has corresponding nesting attribute containing attributes for its settings. This way, userspace can request changes equivalent to one or

Re: [PATCH RESEND] arm64: fault: avoid send SIGBUS two times

2017-12-11 Thread James Morse
Hi gengdongjiu, On 08/12/17 04:43, gengdongjiu wrote: > by the way, I think also change the info.si_code to "BUS_MCEERR_AR" is > better, as shown [1]. > BUS_MCEERR_AR can tell user space "Hardware memory error consumed on a > error; action required". Today its also used as the last-resort. Thi

Re: [PATCH v2 1/2] eeprom: at24: convert magic numbers to structs.

2017-12-11 Thread Bartosz Golaszewski
2017-12-08 22:25 GMT+01:00 Sven Van Asbroeck : > Fundamental properties such as capacity and page size differ > among at24-type chips. But these chips do not have an id register, > so this can't be discovered at runtime. > > Traditionally, at24-type eeprom properties were determined in two ways: >

[GIT PULL] IPMI bug fixes for 4.15 changes

2017-12-11 Thread Corey Minyard
The following changes since commit 6363b3f3ac5be096d08c8c504128befa0c033529:   Merge tag 'ipmi-for-4.15' of git://github.com/cminyard/linux-ipmi (2017-11-15 15:12:28 -0800) are available in the git repository at:   https://github.com/cminyard/linux-ipmi.git tags/for-linus-4.15-2 for you to f

Re: [PATCH v1 2/2] drm/tegra: Support disabled CONFIG_PM

2017-12-11 Thread Dmitry Osipenko
On 11.12.2017 13:13, Thierry Reding wrote: > On Mon, Dec 11, 2017 at 02:19:44AM +0300, Dmitry Osipenko wrote: >> Add manual HW power management to drivers probe/remove in order to >> not fail in a case of runtime power management being disabled in kernel >> config. >> >> Signed-off-by: Dmitry Osipe

[RFC PATCH 3/9] ethtool: helper functions for netlink interface

2017-12-11 Thread Michal Kubecek
Misc helpers used by ethtool netlink code. Signed-off-by: Michal Kubecek --- net/core/ethtool_netlink.c | 177 + 1 file changed, 177 insertions(+) diff --git a/net/core/ethtool_netlink.c b/net/core/ethtool_netlink.c index 46a226bb9a2c..22d23d057623 10

[RFC PATCH 1/9] netlink: introduce nla_put_bitfield32()

2017-12-11 Thread Michal Kubecek
Similar to other data types, this helper puts NLA_BITFIELD32 attribute into a netlink message. It takes separate value and selector arguments, if you already have struct nla_bitfield32, you can use nla_put(). Signed-off-by: Michal Kubecek --- include/net/netlink.h | 15 +++ 1 file ch

Re: [PATCH] TC: Delete an error message for a failed memory allocation in tc_bus_add_devices()

2017-12-11 Thread Maciej W. Rozycki
On Sun, 10 Dec 2017, Joe Perches wrote: > > > Omit an extra message for a memory allocation failure in this function. > > > > > > This issue was detected by using the Coccinelle software. > > > > And the problem here is? > > Markus' terrible commit messages. > > Generically, any OOM via a mal

[PATCH] DMA:omap-dma: Fix kernel compilation error and checkpatch issues

2017-12-11 Thread venkat . prashanth2498
From: Venkat Prashanth B U This is the patch to the omap-dma.c file that fixes the following issues: 1.redefinition of 'omap_dma_filter_fn' in the line 1273 of drivers/dma/omap-dma.c 2.drivers/dma/omap-dma.c:341: ERROR: code indent should use tabs where possible reported by ./checkpatch.pl 3.d

Re: [PATCH 1/4] fs/notify: fdinfo can report unsupported file handles.

2017-12-11 Thread Pavel Emelyanov
On 12/11/2017 10:05 AM, Amir Goldstein wrote: > On Mon, Dec 11, 2017 at 8:41 AM, Amir Goldstein wrote: >> On Mon, Dec 11, 2017 at 8:04 AM, NeilBrown wrote: >>> If a filesystem does not set sb->s_export_op, then it >>> does not support filehandles and export_fs_encode_fh() >>> and exportfs_encode_

Re: [PATCH 0/2] Fix boot regression for s390 and remove break_lock

2017-12-11 Thread Ingo Molnar
* Will Deacon wrote: > On Sat, Dec 02, 2017 at 10:02:08AM +0100, Heiko Carstens wrote: > > On Tue, Nov 28, 2017 at 06:42:17PM +, Will Deacon wrote: > > > The following two patches do the following: > > > > > > 1. Fix boot breakage reported on s390 caused by a8a217c22116 > > > 2. Kill of

[PATCH v2 3/4] crypto: exynos - Reseed PRNG after generating 2^16 random bytes

2017-12-11 Thread Łukasz Stelmach
Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz Reseed PRNG after reading 65 kB of randomness. Although this may reduce performance, in most cases the loss is not noticeable. Reseeding of a PRNG does not increase entropy, but it helps preventing backtracking the internal state of the device fr

[PATCH v2 2/4] crypto: exynos - Improve performance of PRNG

2017-12-11 Thread Łukasz Stelmach
Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz Use memcpy_fromio() instead of custom exynos_rng_copy_random() function to retrieve generated numbers from the registers of PRNG. Rearrange the loop around cpu_relax(). In a loop with while() at the beginning and the cpu_relax() removed the retry

[PATCH v2 1/4] crypto: exynos - Support Exynos5250+ SoCs

2017-12-11 Thread Łukasz Stelmach
Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz Add support for PRNG in Exynos5250+ SoCs. Signed-off-by: Łukasz Stelmach --- .../bindings/crypto/samsung,exynos-rng4.txt| 4 ++- drivers/crypto/exynos-rng.c| 32 -- 2 files changed, 33 insert

Re: [RFC] irqchip: add support for LS1021A external interrupt lines

2017-12-11 Thread Rasmus Villemoes
On 2017-12-11 14:45, Rasmus Villemoes wrote: > On 2017-12-11 11:02, Alexander Stein wrote: > >> Oh, and what is the content of register SCFG_SCFGREVCR? > > Good point. On my board it's 0x, set even before U-boot starts, > and lots board support code in U-boot expects this. I can't immedia

[PATCH v2 0/4] Assorted changes for Exynos PRNG driver

2017-12-11 Thread Łukasz Stelmach
Hello, This is a series of patches for exynos-rng driver I've decided to create after adding support for Exynos5250+ chips. They do not strictly depend on each other, but I think it is better to send them as a single patch-set. The driver requires appropriate DT configuration introduced in h

[PATCH v2 4/4] crypto: exynos - Introduce mutex to prevent concurrent access to hardware

2017-12-11 Thread Łukasz Stelmach
Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz Hardware operations like reading random numbers and setting a seed need to be conducted in a single thread. Therefore a mutex is required to prevent multiple threads (processes) from accessing the hardware at the same time. The sequence of mutex_

Re: [PATCH v3 1/3] sched/pelt: Move pelt related code in a dedicated file

2017-12-11 Thread Quentin Perret
Hi Vincent, Although I agree that moving the PELT code in a dedicated file is probably the cleanest way to achieve what you want, I was wondering if you were able no measure any overhead due to moving the __update_load_avg_*() functions in a different translation unit ? This is introducing functio

Re: [PATCH v1 2/2] drm/tegra: Support disabled CONFIG_PM

2017-12-11 Thread Dmitry Osipenko
On 11.12.2017 16:53, Dmitry Osipenko wrote: > On 11.12.2017 13:13, Thierry Reding wrote: >> On Mon, Dec 11, 2017 at 02:19:44AM +0300, Dmitry Osipenko wrote: >>> Add manual HW power management to drivers probe/remove in order to >>> not fail in a case of runtime power management being disabled in ke

Re: [PATCH 1/4] fs/notify: fdinfo can report unsupported file handles.

2017-12-11 Thread Amir Goldstein
On Mon, Dec 11, 2017 at 3:46 PM, Pavel Emelyanov wrote: > On 12/11/2017 10:05 AM, Amir Goldstein wrote: >> On Mon, Dec 11, 2017 at 8:41 AM, Amir Goldstein wrote: >>> On Mon, Dec 11, 2017 at 8:04 AM, NeilBrown wrote: If a filesystem does not set sb->s_export_op, then it does not support

Re: Linux 4.15-rc2: Regression in resume from ACPI S3

2017-12-11 Thread Zhang Rui
On Sun, 2017-12-10 at 12:30 -0800, Linus Torvalds wrote: > On Sun, Dec 10, 2017 at 10:56 AM, Pavel Machek wrote: > > > > > > Confirmed, revert fixes it. You see how it moves > > fix_processor_context > > around #ifdef CONFIG_X86_32 block? And how people forget 32-bit > > machines exist? Aha. > Y

Re: [Xen-devel] [PATCH v3 4/4] x86/xen: supply rsdp address in boot params for pvh guests

2017-12-11 Thread Ingo Molnar
* Juergen Gross wrote: > On 11/12/17 11:09, Jan Beulich wrote: > On 08.12.17 at 16:11, wrote: > >> Set the boot loader version to 2.14 (0x020e) replacing the wrong 0x0212 > >> which should have been 0x020c. > > > > This part of the description has become partly stale now with the > > new

[PATCH v7 4/6] clk: meson-axg: add clock controller drivers

2017-12-11 Thread Yixun Lan
From: Qiufang Dai Add clock controller drivers for Amlogic Meson-AXG SoC. Acked-by: Neil Armstrong Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- arch/arm64/Kconfig.platforms | 1 + drivers/clk/meson/Kconfig| 8 + drivers/clk/meson/Makefile | 1 + drivers/clk/meson/axg.c

[PATCH v7 3/6] clk: meson-axg: add clocks dt-bindings required header

2017-12-11 Thread Yixun Lan
From: Qiufang Dai Add the required header for the clocks ID dt-bindings exported from various subsystem in the Meson-AXG SoC. Acked-by: Rob Herring Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- include/dt-bindings/clock/axg-clkc.h | 71 1 file c

[PATCH v7 1/6] clk: meson: make the spinlock naming more specific

2017-12-11 Thread Yixun Lan
Make the spinlock more specific, so better for lockdep debugging and ctags/grep. Suggested-by: Stephen Boyd Signed-off-by: Yixun Lan --- this patch try to address the issue which bring up by Stephen at [1] [1] http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005534.html --- dr

[PATCH net-next v5 0/2] net: thunderx: add support for PTP clock

2017-12-11 Thread Aleksey Makarov
This series adds support for IEEE 1588 Precision Time Protocol to Cavium ethernet driver. The first patch adds support for the Precision Time Protocol Clocks and Timestamping coprocessor (PTP) found on Cavium processors. It registers a new PTP clock in the PTP core and provides functions to use th

[PATCH v7 5/6] arm64: dts: meson-axg: add clock DT info for Meson AXG SoC

2017-12-11 Thread Yixun Lan
From: Qiufang Dai Try to add Hiubus DT info, and also enable clock DT info for the Amlogic's Meson-AXG SoC. Acked-by: Rob Herring Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --g

[PATCH net-next v5 1/2] net: add support for Cavium PTP coprocessor

2017-12-11 Thread Aleksey Makarov
From: Radoslaw Biernacki This patch adds support for the Precision Time Protocol Clocks and Timestamping hardware found on Cavium ThunderX processors. Signed-off-by: Radoslaw Biernacki Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/Kconfig | 12 + drivers/net/ethe

[PATCH v7 6/6] arm64: dts: meson-axg: switch uart_ao clock to CLK81

2017-12-11 Thread Yixun Lan
Switch the uart_ao pclk to CLK81 since the clock driver is ready. Also move the clock info to the board.dts instead in the soc.dtsi. Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 2 ++ arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 5 + 2 files changed, 3 in

[PATCH net-next v5 2/2] net: thunderx: add timestamping support

2017-12-11 Thread Aleksey Makarov
From: Sunil Goutham This adds timestamping support for both receive and transmit paths. On the receive side no filters are supported i.e either all pkts will get a timestamp appended infront of the packet or none. On the transmit side HW doesn't support timestamp insertion but only generates a se

[PATCH] IPI performance benchmark

2017-12-11 Thread Yury Norov
This benchmark sends many IPIs in different modes and measures time for IPI delivery (first column), and total time, ie including time to acknowledge the receive by sender (second column). The scenarios are: Dry-run:do everything except actually sending IPI. Useful to estim

Re: Linux kernel configuration for MPS2 AN385

2017-12-11 Thread Guenter Roeck
On 12/11/2017 01:43 AM, Vladimir Murzin wrote: On 09/12/17 18:33, Guenter Roeck wrote: Hi folks, I am playing with qemu's mps2-an385 emulation and try to get Linux to boot with it, so far with little (ie no) success. Is a working kernel configuration for this board available somewhere ? mak

[PATCH v7 0/6] add clk controller driver for Meson-AXG SoC

2017-12-11 Thread Yixun Lan
Add driver for the clk controller which found in Meson AXG SoC Note, we deliberately create a seperate source file for the Meson AXG series, instead of sharing code with previous GXBB/GXL - the file axg.c It would help us maintaining the code more easily. Changes since v6 [6]: - move the spinl

[PATCH v7 2/6] dt-bindings: clock: add compatible variant for the Meson-AXG

2017-12-11 Thread Yixun Lan
Update the documentation to support clock driver for the Amlogic's Meson-AXG SoC. Acked-by: Rob Herring Signed-off-by: Yixun Lan --- Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/

Re: [PATCH v1] usb: phy: tegra: Increase PHY clock stabilization timeout

2017-12-11 Thread Dmitry Osipenko
On 11.12.2017 12:53, Thierry Reding wrote: > On Mon, Dec 11, 2017 at 01:55:35AM +0300, Dmitry Osipenko wrote: >> This fixes "utmi_phy_clk_enable: timeout waiting for phy to stabilize" >> error message. >> >> Signed-off-by: Dmitry Osipenko >> --- >> drivers/usb/phy/phy-tegra-usb.c | 13 ---

Re: [PATCH 1/6] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-11 Thread Ludovic BARRE
On 12/11/2017 02:40 PM, Arnd Bergmann wrote: On Mon, Dec 11, 2017 at 11:25 AM, Linus Walleij wrote: On Fri, Dec 8, 2017 at 3:11 PM, Ludovic Barre wrote: From: Ludovic Barre This patch prepares the STM32 machine for the integration of Cortex-A based microprocessor (MPU), on top of the exi

RE: [PATCH v2] Enable SR-IOV instantiation through /sys file

2017-12-11 Thread Wang, Liang-min
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Friday, December 08, 2017 6:35 PM > To: Alexander Duyck > Cc: Kirsher, Jeffrey T ; Wang, Liang-min min.w...@intel.com>; k...@vger.kernel.org; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.o

Re: [PATCH] Fix resume on x86-32 machines

2017-12-11 Thread Rafael J. Wysocki
On Sunday, December 10, 2017 10:58:23 PM CET Andy Lutomirski wrote: > > > On Dec 10, 2017, at 1:38 PM, Pavel Machek wrote: > > > > > > After 4.15-rc2, suspend stopped working on Thinkpad X60. 5b06bbc > > (unintentionally?) reordered stuff with respect to > > fix_processor_context() on 32-bit an

Re: [PATCH v1 01/10] dt-bindings: media: Add Renesas CEU bindings

2017-12-11 Thread Laurent Pinchart
Hello, On Wednesday, 15 November 2017 14:33:12 EET Sakari Ailus wrote: > On Wed, Nov 15, 2017 at 11:55:54AM +0100, Jacopo Mondi wrote: > > Add bindings documentation for Renesas Capture Engine Unit (CEU). > > > > Signed-off-by: Jacopo Mondi > > --- > > > > .../devicetree/bindings/media/renesas

Re: [PATCH v1 02/10] include: media: Add Renesas CEU driver interface

2017-12-11 Thread Laurent Pinchart
Hi Sakari, On Wednesday, 15 November 2017 14:36:33 EET Sakari Ailus wrote: > On Wed, Nov 15, 2017 at 11:55:55AM +0100, Jacopo Mondi wrote: > > Add renesas-ceu header file. > > > > Do not remove the existing sh_mobile_ceu.h one as long as the original > > driver does not go away. > > Hmm. This is

Re: [PATCHv5 2/3] x86/boot/compressed/64: Introduce place_trampoline()

2017-12-11 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > If a bootloader enables 64-bit mode with 4-level paging, we might need to > switch over to 5-level paging. The switching requires the disabling > paging. It works fine if kernel itself is loaded below 4G. > > But if the bootloader put the kernel above 4G (not sure

[PATCH 1/2] ASoC: tfa9879: clean up bindings

2017-12-11 Thread Peter Rosin
Fix a couple of nitpicks: - list #sound-dai-cells as a required property. - The chip supports full speed I2C; don't indicate standard mode only. - status = "okay" is just noise. - The chip is an amplifier, not a codec. - consistently indent with tabs. Signed-off-by: Peter Rosin --- Documentatio

[PATCH 0/2] ASoC: tfa9879: cleanup bindings and claim maintainership

2017-12-11 Thread Peter Rosin
Hi! Device tree bindings where added for the tfa9879 along with improved support for them in the driver some time ago. All behind my back. This cleans things up and properly adds me as maintainer of the new bindings. Cheers, Peter Peter Rosin (2): ASoC: tfa9879: clean up bindings ASoC: tfa98

[PATCH 2/2] ASoC: tfa9879: add DT bindings to MAINTAINERS

2017-12-11 Thread Peter Rosin
Let's keep maintenance of the driver and the bindings in one place. Signed-off-by: Peter Rosin --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index d4fdcb12616c..e7c2ca89fec4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9804,6 +9804,7 @@ NXP TFA98

Re: [PATCH v4] kernel: make groups_sort calling a responsibility group_info allocators

2017-12-11 Thread Matthew Wilcox
On Mon, Dec 11, 2017 at 11:28:06AM -0200, Thiago Rafael Becker wrote: > +++ b/fs/nfsd/auth.c > @@ -60,6 +60,9 @@ int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export > *exp) > gi->gid[i] = exp->ex_anon_gid; > else >

Re: [PATCH v1 2/2] drm/tegra: Support disabled CONFIG_PM

2017-12-11 Thread Thierry Reding
On Mon, Dec 11, 2017 at 04:53:56PM +0300, Dmitry Osipenko wrote: > On 11.12.2017 13:13, Thierry Reding wrote: > > On Mon, Dec 11, 2017 at 02:19:44AM +0300, Dmitry Osipenko wrote: > >> Add manual HW power management to drivers probe/remove in order to > >> not fail in a case of runtime power managem

Re: [PATCH] writeback: update comment in inode_io_list_move_locked

2017-12-11 Thread Tejun Heo
On Tue, Dec 05, 2017 at 07:23:19AM -0500, Wang Long wrote: > The @head can be wb->b_dirty_time, so update the comment. > > Signed-off-by: Wang Long Acked-by: Tejun Heo Thanks. -- tejun

Re: [RFC][PATCHv2] Fixing POSIX wait queue to insert in task priority order for real-time, including normal tasks

2017-12-11 Thread Steven Rostedt
OK, when I said to Cc the kernel mailing list, I should have said that you also need to still Cc everyone you want to read it. LKML gets over 600+ emails a day. Nobody reads it all. Some people filter it, but others (like myself) stopped reading it because I can barely keep up with just the emails

Re: [PATCH] crypto: stm32: fix modular build

2017-12-11 Thread Fabien DESSENNE
Hi Arnd, This issue was reported a few days ago, and Herbert applied the patch 2 minutes before you send the mail (see [https://www.mail-archive.com/linux-crypto@vger.kernel.org/msg29762.html]). Anyway, thank you for reporting this. Fabien On 11/12/17 12:47, Arnd Bergmann wrote: > Building t

Re: [PATCH v1 02/10] include: media: Add Renesas CEU driver interface

2017-12-11 Thread Laurent Pinchart
Hi Jacopo, On Monday, 11 December 2017 16:26:27 EET Laurent Pinchart wrote: > On Wednesday, 15 November 2017 14:36:33 EET Sakari Ailus wrote: > > On Wed, Nov 15, 2017 at 11:55:55AM +0100, Jacopo Mondi wrote: > >> Add renesas-ceu header file. > >> > >> Do not remove the existing sh_mobile_ceu.h on

Re: [PATCH 1/8] x86/early-quirks: Extend Intel graphics stolen memory placement to 64bit

2017-12-11 Thread Joonas Lahtinen
Hi Ingo & Thomas, Now would be a great moment to slap the final Acked-bys (first two patches of this series) as the comments have been addressed and Reviewed-by was refreshed by Chris. I consider the series ready to be merged in this state. Once acked, I will then proceed to merge these through t

Re: [PATCH net-next v5 0/2] net: thunderx: add support for PTP clock

2017-12-11 Thread Philippe Ombredanne
Aleksey, On Mon, Dec 11, 2017 at 3:14 PM, Aleksey Makarov wrote: > This series adds support for IEEE 1588 Precision Time Protocol > to Cavium ethernet driver. > > The first patch adds support for the Precision Time Protocol Clocks and > Timestamping coprocessor (PTP) found on Cavium processors. >

Re: [PATCH net-next v5 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-11 Thread David Miller
From: Kunihiko Hayashi Date: Mon, 11 Dec 2017 16:57:29 +0900 > +static inline u32 ave_desc_read(struct net_device *ndev, enum desc_id id, > + int entry, int offset) Do not use inline functions in foo.c files, let the compiler decide what to do. Thank you.

Re: [PATCH] IPI performance benchmark

2017-12-11 Thread Christian Borntraeger
On 12/11/2017 03:16 PM, Yury Norov wrote: > This benchmark sends many IPIs in different modes and measures > time for IPI delivery (first column), and total time, ie including > time to acknowledge the receive by sender (second column). > > The scenarios are: > Dry-run: do everything except

Re: [PATCH v1 05/10] arch: sh: migor: Use new renesas-ceu camera driver

2017-12-11 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Wednesday, 15 November 2017 12:55:58 EET Jacopo Mondi wrote: > Migo-R platform uses sh_mobile_ceu camera driver, which is now being > replaced by a proper V4L2 camera driver named 'renesas-ceu'. > > Move Migo-R platform to use the v4l2 renesas-ceu camera dr

Re: [PATCH v2 1/4] crypto: exynos - Support Exynos5250+ SoCs

2017-12-11 Thread Krzysztof Kozlowski
On Mon, Dec 11, 2017 at 3:06 PM, Łukasz Stelmach wrote: > Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz > > > Add support for PRNG in Exynos5250+ SoCs. > > Signed-off-by: Łukasz Stelmach > --- > .../bindings/crypto/samsung,exynos-rng4.txt| 4 ++- > drivers/crypto/exynos-rng.c

Re: [RFC] irqchip: add support for LS1021A external interrupt lines

2017-12-11 Thread Alexander Stein
On Monday, December 11, 2017, 3:06:52 PM CET Rasmus Villemoes wrote: > On 2017-12-11 14:45, Rasmus Villemoes wrote: > > On 2017-12-11 11:02, Alexander Stein wrote: > > > >> Oh, and what is the content of register SCFG_SCFGREVCR? > > > > Good point. On my board it's 0x, set even before U-b

Re: [PATCH 1/8] x86/early-quirks: Extend Intel graphics stolen memory placement to 64bit

2017-12-11 Thread Ingo Molnar
* Matthew Auld wrote: > From: Joonas Lahtinen > > To give upcoming SKU BIOSes more flexibility in placing the Intel > graphics stolen memory, make all variables storing the placement or size > compatible with full 64 bit range. Also by exporting the stolen region > as a resource, we can then n

Re: [PATCH 2/8] x86/early-quirks: replace the magical increment start values

2017-12-11 Thread Ingo Molnar
* Matthew Auld wrote: > Replace the magical +2, +9 etc. with +MB, which is far easier to read. > > Suggested-by: Ville Syrjälä > Signed-off-by: Matthew Auld > Cc: Joonas Lahtinen > Cc: Ville Syrjälä > Cc: Chris Wilson > Cc: Paulo Zanoni > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: H. P

Re: [PATCH 2/3] ahci: Add PCI ids for Intel Bay Trail, Cherry Trail and Apollo Lake AHCI

2017-12-11 Thread Tejun Heo
Hello, On Wed, Dec 06, 2017 at 04:41:09PM +0100, Hans de Goede wrote: > Add PCI ids for Intel Bay Trail, Cherry Trail and Apollo Lake AHCI > SATA controllers. This commit is a preparation patch for allowing a > different default sata link powermanagement policy for mobile chipsets. > > Signed-off

Re: ftrace/module: Move ftrace_release_mod() to ddebug_cleanup label

2017-12-11 Thread Steven Rostedt
As I mentioned, please have "[PATCH]" in the subject. On Wed, 15 Nov 2017 15:18:54 +0530 Namit Gupta wrote: > ftrace_module_init happen after dynamic_debug_setup, it is desired that > cleanup should be called after this label however in current implementation > it is called in free module label

Re: [PATCH 3/3] ahci: Allow setting a default LPM policy for mobile chipsets

2017-12-11 Thread Tejun Heo
Hello, Hans. On Wed, Dec 06, 2017 at 04:41:10PM +0100, Hans de Goede wrote: > CONFIG_SATA_AHCI=y > +CONFIG_SATA_MOBILE_LPM_POLICY=3 This would change the default behavior. Can we not do that? Other than that, looks good to me. Thanks. -- tejun

Re: [PATCH 0/2] acpi, x86: Add SPCR table support

2017-12-11 Thread Ingo Molnar
* Prarit Bhargava wrote: > If I disable "Serial Port Console Debug" in my BIOS I still see the SPCR > configured: > > [root@prarit-lab ~]# dmesg | grep SPCR > [0.00] ACPI: SPCR 0x69031000 50 (v01 > ) > > AFAICT the SPCR is always enabled on some syste

Re: [PATCH] Documentation: Better document the hardlockup_panic sysctl

2017-12-11 Thread Don Zickus
On Sun, Dec 10, 2017 at 01:48:46AM -0600, Scott Wood wrote: > Commit ac1f591249d95372f ("kernel/watchdog.c: add sysctl knob > hardlockup_panic") added the hardlockup_panic sysctl, but did not add it > to Documentation/sysctl/kernel.txt. Add this, and reference it from the > corresponding entry in

Re: [PATCH] Fix resume on x86-32 machines

2017-12-11 Thread Rafael J. Wysocki
On Monday, December 11, 2017 3:22:39 PM CET Rafael J. Wysocki wrote: > On Sunday, December 10, 2017 10:58:23 PM CET Andy Lutomirski wrote: > > > > > On Dec 10, 2017, at 1:38 PM, Pavel Machek wrote: > > > > > > > > > After 4.15-rc2, suspend stopped working on Thinkpad X60. 5b06bbc > > > (uninten

Re: [PATCH 2/2] tools/lib/lockdep: add empty declaration for early_param

2017-12-11 Thread Ingo Molnar
* alexander.le...@verizon.com wrote: > On Fri, Dec 08, 2017 at 07:20:10AM +0100, Ingo Molnar wrote: > > > >* Ingo Molnar wrote: > > > >> > >> * alexander.le...@verizon.com wrote: > >> > >> > Fixes a compilation error: > >> > > >> > CC lockdep.o > >> > In file included from lockdep.c:28

Re: [PATCH v1 08/10] media: i2c: ov772x: Remove soc_camera dependencies

2017-12-11 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Wednesday, 15 November 2017 12:56:01 EET Jacopo Mondi wrote: > Remove soc_camera framework dependencies from ov772x sensor driver. > - Handle clock directly > - Register async subdevice > - Add platform specific enable/disable functions > - Adjust build syst

Re: [PATCH v1 07/10] v4l: i2c: Copy ov772x soc_camera sensor driver

2017-12-11 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Wednesday, 15 November 2017 12:56:00 EET Jacopo Mondi wrote: > Copy the soc_camera based driver in v4l2 sensor driver directory. > This commit just copies the original file without modifying it. You might want to explain why you're not patching the Kconfig

Re: [PATCH v1 09/10] v4l: i2c: Copy tw9910 soc_camera sensor driver

2017-12-11 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Wednesday, 15 November 2017 12:56:02 EET Jacopo Mondi wrote: > Copy the soc_camera based driver in v4l2 sensor driver directory. > This commit just copies the original file without modifying it. As for patch 07/10, you might want to explain why you're not p

Re: [RESEND PATCH] irq_work: improve the flag definitions

2017-12-11 Thread Frederic Weisbecker
2017-11-27 11:52 UTC+01:00, Bartosz Golaszewski : > IRQ_WORK_FLAGS is defined simply to 3UL. This is confusing as it > says nothing about its purpose. Define IRQ_WORK_FLAGS as a bitwise > OR of IRQ_WORK_PENDING and IRQ_WORK_BUSY and change its name to > IRQ_WORK_CLAIMED. > > While we're at it: use

Re: [RESEND PATCH] irq_work: improve the flag definitions

2017-12-11 Thread Frederic Weisbecker
2017-12-11 11:59 UTC+01:00, Bartosz Golaszewski : > 2017-11-27 11:52 GMT+01:00 Bartosz Golaszewski : > It's been a couple months since I first posted this patch. Can it be > applied for 4.16? > > @Frederic: I noticed you picked up some irq_work patches in the past > so I'm Cc'ing you. Sure, I'll t

Re: [PATCH v2 2/4] crypto: exynos - Improve performance of PRNG

2017-12-11 Thread Krzysztof Kozlowski
On Mon, Dec 11, 2017 at 3:06 PM, Łukasz Stelmach wrote: > Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz > This should not appear here. > > Use memcpy_fromio() instead of custom exynos_rng_copy_random() function > to retrieve generated numbers from the registers of PRNG. > > Rearrange the lo

Re: [PATCH v1 10/10] media: i2c: tw9910: Remove soc_camera dependencies

2017-12-11 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Wednesday, 15 November 2017 12:56:03 EET Jacopo Mondi wrote: > Remove soc_camera framework dependencies from tw9910 sensor driver. > - Handle clock directly > - Register async subdevice > - Add platform specific enable/disable functions > - Adjust build syst

RE: [PATCH 1/2] ntb_transport: Fix bug with max_mw_size parameter

2017-12-11 Thread Allen Hubbe
From: Logan Gunthorpe > When using the max_mw_size parameter of ntb_transport to limit the size of > the Memory windows, communication cannot be established and the queues > freeze. > > This is because the mw_size that's reported to the peer is correctly > limited but the size used locally is not.

Re: [PATCH v2 1/3] i2c: core: improve return value handling of i2c_new_device and i2c_new_dummy

2017-12-11 Thread Bartosz Golaszewski
2017-12-06 22:13 GMT+01:00 Heiner Kallweit : > Currently i2c_new_device and i2c_new_dummy return just NULL in error > case although they have more error details internally. Therefore move > the functionality into new functions returning detailed errors and > add wrappers for compatibilty with the c

Re: [PATCH] IPI performance benchmark

2017-12-11 Thread Yury Norov
On Mon, Dec 11, 2017 at 03:35:02PM +0100, Christian Borntraeger wrote: > > > On 12/11/2017 03:16 PM, Yury Norov wrote: > > This benchmark sends many IPIs in different modes and measures > > time for IPI delivery (first column), and total time, ie including > > time to acknowledge the receive by s

Re: [PATCH v2 3/4] crypto: exynos - Reseed PRNG after generating 2^16 random bytes

2017-12-11 Thread Krzysztof Kozlowski
On Mon, Dec 11, 2017 at 3:06 PM, Łukasz Stelmach wrote: > Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz > Same as in 1/4 and 2/4. > > Reseed PRNG after reading 65 kB of randomness. Although this may reduce > performance, in most cases the loss is not noticeable. You missed the comment abou

[PATCH] sparc32,leon: Use CASA when available for atomic operations

2017-12-11 Thread Andreas Larsson
This probes for CASA support, that is commonly present in LEON processors, and when available, uses the CASA instruction for atomic operations rather than the spinlock based emulated atomic operations. All CASA instructions are encoded using .word to be able to assemble for v8. Signed-off-by: And

RE: [PATCH 2/2] ntb_hw_switchtec: Check for alignment of the buffer in mw_set_trans()

2017-12-11 Thread Allen Hubbe
From: Logan Gunthorpe > With Switchtec hardware, the buffer used for a memory window must be > aligned to its size (the hardware only replaces the lower bits). In > certain circumstances dma_alloc_coherent() will not provide a buffer > that adheres to this requirement like when using the CMA and >

Re: [PATCH] Fix resume on x86-32 machines

2017-12-11 Thread Jarkko Nikula
On 12/11/2017 04:22 PM, Rafael J. Wysocki wrote: On Sunday, December 10, 2017 10:58:23 PM CET Andy Lutomirski wrote: On Dec 10, 2017, at 1:38 PM, Pavel Machek wrote: After 4.15-rc2, suspend stopped working on Thinkpad X60. 5b06bbc (unintentionally?) reordered stuff with respect to fix_proce

Re: [PATCH v1 1/2] drm/tegra: dc: Link DC1 to DC0 on Tegra20

2017-12-11 Thread Dmitry Osipenko
On 11.12.2017 13:12, Thierry Reding wrote: > On Mon, Dec 11, 2017 at 02:19:43AM +0300, Dmitry Osipenko wrote: >> HW reset isn't actually broken on Tegra20, but there is a dependency on >> first display controller to be taken out of reset for the second to be >> enabled successfully. >> >> Signed-of

Re: [PATCH v2 4/4] crypto: exynos - Introduce mutex to prevent concurrent access to hardware

2017-12-11 Thread Krzysztof Kozlowski
On Mon, Dec 11, 2017 at 3:06 PM, Łukasz Stelmach wrote: > Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz > > > Hardware operations like reading random numbers and setting a seed need > to be conducted in a single thread. Therefore a mutex is required to > prevent multiple threads (processes) f

[PATCH] x86/PCI: limit the size of the 64bit BAR to 256GB

2017-12-11 Thread Christian König
Xen hides a bit of system memory from the OS for its own purpose by intercepting e820. This memory is unfortunately not reported as reserved, but rather completely invisible. Avoid this address space collision and possible similar problems by limiting the size of the newly allocated root hub windo

Re: [PATCH v1 03/10] v4l: platform: Add Renesas CEU driver

2017-12-11 Thread Laurent Pinchart
Hi Sakari, On Friday, 17 November 2017 02:36:51 EET Sakari Ailus wrote: > On Wed, Nov 15, 2017 at 03:25:11PM +0100, jacopo mondi wrote: > > On Wed, Nov 15, 2017 at 02:45:51PM +0200, Sakari Ailus wrote: > >> Hi Jacopo, > >> > >> Could you remove the original driver and send the patch using git > >

Re: [PATCH] cgroup: limit max copied char length for cgroup file name

2017-12-11 Thread Tejun Heo
On Sat, Dec 09, 2017 at 01:47:58PM +0800, Ma Shimiao wrote: > the result of cgroup_file_name will be used by kernfs_remove_name, > and then by kernfs_remove_by_name_ns(). > If reached the max length, may have problem printed by WARN() in > kernfs_remove_by_name_ns(). > > Signed-off-by: Ma Shimiao

Re: [PATCH] tuners: tda8290: reduce stack usage with kasan

2017-12-11 Thread Michael Ira Krufky
On Mon, Dec 11, 2017 at 7:06 AM, Arnd Bergmann wrote: > With CONFIG_KASAN enabled, we get a relatively large stack frame in one > function > > drivers/media/tuners/tda8290.c: In function 'tda8290_set_params': > drivers/media/tuners/tda8290.c:310:1: warning: the frame size of 1520 bytes > is larg

Re: [PATCH v5] pata_pdc2027x: Fix pdc_adjust_pll() to return the error value

2017-12-11 Thread Tejun Heo
On Wed, Dec 06, 2017 at 10:52:54PM +0530, Arvind Yadav wrote: > This change is to ensure that function pdc_adjust_pll() returns the > error value to avoid the unnecessary error check for pdc_hardware_init() > in pdc2027x_reinit_one(). > > Signed-off-by: Arvind Yadav Doesn't apply on libata/for-4

Re: [PATCH] cgroup: avoid cgroup root name longer than max

2017-12-11 Thread Tejun Heo
On Fri, Dec 08, 2017 at 04:47:46PM +0800, Ma Shimiao wrote: > cgroup root name has max length limit, we should avoid copying > longer name than that to the name. > > Signed-off-by: Ma Shimiao > --- > kernel/cgroup/cgroup.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a

Re: RFC(v2): Audit Kernel Container IDs

2017-12-11 Thread Richard Guy Briggs
On 2017-12-09 11:20, Mickaël Salaün wrote: > > On 12/10/2017 18:33, Casey Schaufler wrote: > > On 10/12/2017 7:14 AM, Richard Guy Briggs wrote: > >> Containers are a userspace concept. The kernel knows nothing of them. > >> > >> The Linux audit system needs a way to be able to track the container

Re: [PATCH] Fix resume on x86-32 machines

2017-12-11 Thread Ingo Molnar
* Andy Lutomirski wrote: > > > > On Dec 10, 2017, at 1:38 PM, Pavel Machek wrote: > > > > > > After 4.15-rc2, suspend stopped working on Thinkpad X60. 5b06bbc > > (unintentionally?) reordered stuff with respect to > > fix_processor_context() on 32-bit and 64-bit. We undo that change on > >

Re: [RFC][PATCHv2] Fixing POSIX wait queue to insert in task priority order for real-time, including normal tasks

2017-12-11 Thread Jonathan Haws
> OK, when I said to Cc the kernel mailing list, I should have said > that you > also need to still Cc everyone you want to read it. LKML gets over > 600+ emails > a day. Nobody reads it all. Some people filter it, but others (like > myself) > stopped reading it because I can barely keep up with ju

[PATCH v5] kernel: make groups_sort calling a responsibility group_info allocators

2017-12-11 Thread Thiago Rafael Becker
In testing, we found that nfsd threads may call set_groups in parallel for the same entry cached in auth.unix.gid, racing in the call of groups_sort, corrupting the groups for that entry and leading to permission denials for the client. This patch: - Make groups_sort globally visible. - Move the

Re: [PATCH 7/9] workqueue: remove unneeded kallsyms include

2017-12-11 Thread Tejun Heo
On Fri, Dec 08, 2017 at 11:56:14AM +0900, Sergey Senozhatsky wrote: > The filw was converted from print_symbol() to %pf some time > ago (044c782ce3a901fb "workqueue: fix checkpatch issues"). > kallsyms does not seem to be needed anymore. > > Signed-off-by: Sergey Senozhatsky > Cc: Tejun Heo > Cc

Re: [PATCH v3 4/4] DTS: Pandora: fix panel compatibility string

2017-12-11 Thread Tony Lindgren
* Tomi Valkeinen [171201 02:03]: > On 01/12/17 11:48, H. Nikolaus Schaller wrote: > > > Just a note: there is no toppoly->tpo change for *this* panel and > > Pandora board. Just omapdss removal. > > > > The GTA04 needs a toppoly->tpo change but no omapdss, removal. > > > > So they solve differe

Re: [PATCH 5/8] ASoC: uniphier: add support for UniPhier AIO driver

2017-12-11 Thread Mark Brown
On Mon, Dec 11, 2017 at 06:21:58PM +0900, Katsuhiro Suzuki wrote: > But I can't find how to use/map this DAI in machine driver or Device-Tree or > something. I think that it's same as PCM DAI, am I correct? Yes, that probably makes sense from a binding point of view. > I read compress-offload.rs

[PATCH v8 3/9] x86/early-quirks: replace the magical increment start values

2017-12-11 Thread Matthew Auld
Replace the magical +2, +9 etc. with +MB, which is far easier to read. Suggested-by: Ville Syrjälä Signed-off-by: Matthew Auld Cc: Joonas Lahtinen Cc: Ville Syrjälä Cc: Chris Wilson Cc: Paulo Zanoni Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Cc: x...@kernel.org Cc: linux-kerne

[PATCH v8 1/9] x86/early-quirks: Extend Intel graphics stolen memory placement to 64bit

2017-12-11 Thread Matthew Auld
From: Joonas Lahtinen To give upcoming SKU BIOSes more flexibility in placing the Intel graphics stolen memory, make all variables storing the placement or size compatible with full 64 bit range. Signed-off-by: Joonas Lahtinen Signed-off-by: Matthew Auld Cc: Joonas Lahtinen Cc: Ville Syrjälä

[PATCH v8 2/9] x86/early-quirks: export the stolen region as a resource

2017-12-11 Thread Matthew Auld
We duplicate the stolen discovery code in early-quirks and in i915, however if we just export the region as a resource from early-quirks we can nuke the duplication. Signed-off-by: Matthew Auld Cc: Joonas Lahtinen Cc: Ville Syrjälä Cc: Chris Wilson Cc: Paulo Zanoni Cc: Thomas Gleixner Cc: In

<    2   3   4   5   6   7   8   9   >