Re: [PATCH 10/11] staging: lustre: move ldlm into ptlrpc

2018-06-08 Thread NeilBrown
On Thu, Jun 07 2018, NeilBrown wrote: > On Thu, Jun 07 2018, James Simmons wrote: > >>> The ldlm code is built into the ptlrpc module, yet it lived in a >>> separate directory. This requires filename editing in the Makefile >>> and make it difficult to e.g. build the .s file for code in ldlm. >>>

Re: [PATCH v5 21/31] kconfig: show compiler version text in the top comment

2018-06-08 Thread Masahiro Yamada
Hi Geert, 2018-06-07 17:58 GMT+09:00 Masahiro Yamada : > Hi Geert, > > > 2018-06-07 17:42 GMT+09:00 Geert Uytterhoeven : >> Hi Yamada-san, >> >> On Mon, May 28, 2018 at 11:21 AM, Masahiro Yamada >> wrote: >>> The kernel configuration phase is now tightly coupled with the compiler >>> in use. It

[PATCH] crypto: arm64/aes-blk - fix and move skcipher_walk_done out of kernel_neon_begin,_end

2018-06-08 Thread Jia He
In a arm64 server(QDF2400),I met a similar might-sleep warning as [1]: [7.019116] BUG: sleeping function called from invalid context at ./include/crypto/algapi.h:416 [7.027863] in_atomic(): 1, irqs_disabled(): 0, pid: 410, name: cryptomgr_test [7.035106] 1 lock held by cryptomgr_test/41

[PATCH] tpm: Allow tpm_tis drivers to set hwrng quality.

2018-06-08 Thread Louis Collard
Adds plumbing required for drivers based on tpm_tis to set hwrng quality. Signed-off-by: Louis Collard --- drivers/char/tpm/tpm_tis_core.c | 2 ++ drivers/char/tpm/tpm_tis_core.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/char/tpm/tpm_tis_core.c b/drivers/char/tpm/tpm_tis_core

regression: "95cde3c59966 debugfs: inode: debugfs_create_dir uses mode permission from parent" terminally annoys libvirt

2018-06-08 Thread Mike Galbraith
Greetings, $subject bisected and verified via revert. Box is garden variety i4790, distro is openSUSE Leap 15.0. Error starting domain: internal error: process exited while connecting to monitor: ioctl(KVM_CREATE_VM) failed: 12 Cannot allocate memory 2018-06-08T03:18:00.453006Z qemu-system-x86_

Re: [LINUX PATCH v9 1/4] Devicetree: Add pl353 smc controller devicetree binding information

2018-06-08 Thread Miquel Raynal
Hi Naga, On Fri, 8 Jun 2018 05:20:33 +, Naga Sureshkumar Relli wrote: > Hi Miquel, > > Thanks for the review. > > > -Original Message- > > From: Miquel Raynal [mailto:miquel.ray...@bootlin.com] > > Sent: Thursday, June 7, 2018 9:12 PM > > To: Naga Sureshkumar Relli > > Cc: boris.b

Re: [PATCH v4 4/4] mm/sparse: Optimize memmap allocation during sparse_init()

2018-06-08 Thread Baoquan He
On 06/07/18 at 03:46pm, Dave Hansen wrote: > > @@ -297,8 +298,8 @@ void __init sparse_mem_maps_populate_node(struct page > > **map_map, > > if (!present_section_nr(pnum)) > > continue; > > > > - map_map[pnum] = sparse_mem_map_populate(pnum, nodeid, NULL)

possible deadlock in vprintk_emit

2018-06-08 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:1c8c5a9d38f6 Merge git://git.kernel.org/pub/scm/linux/kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=131d4ddf80 kernel config: https://syzkaller.appspot.com/x/.config?x=4f1acdf888c9d4e9 da

[GIT PULL] GPIO bulk changes for v4.18

2018-06-08 Thread Linus Walleij
Hi Linus, here is the big bulk of GPIO changes for v4.18. Highlight: we get rid of the pesky VLAs. The one change hitting MFD has an ACK from the MFD maintainer. The rest of the details are in the signed tag as usual. Mostly smallish cleanups. Please pull it in! Yours, Linus Walleij The foll

Re: [4.17 regression] Performance drop on kernel-4.17 visible on Stream, Linpack and NAS parallel benchmarks

2018-06-08 Thread Mel Gorman
On Fri, Jun 08, 2018 at 07:49:37AM +0200, Jirka Hladky wrote: > Hi Mel, > > we will do the bisection today and report the results back. > The most likely outcome is 2c83362734dad8e48ccc0710b5cd2436a0323893 which is a patch that restricts newly forked processes from selecting a remote node when t

Re: [PATCH v4 4/4] mm/sparse: Optimize memmap allocation during sparse_init()

2018-06-08 Thread Baoquan He
On 06/08/18 at 03:28pm, Baoquan He wrote: > On 06/07/18 at 03:46pm, Dave Hansen wrote: > > > @@ -297,8 +298,8 @@ void __init sparse_mem_maps_populate_node(struct page > > > **map_map, > > > if (!present_section_nr(pnum)) > > > continue; > > > > > > - map_map[p

Re: possible deadlock in vprintk_emit

2018-06-08 Thread Dmitry Vyukov
On Fri, Jun 8, 2018 at 9:38 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:1c8c5a9d38f6 Merge git://git.kernel.org/pub/scm/linux/kern.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=131d4ddf80 > kernel config: h

Re: [PATCH] ARM: pxa, regulator: fix building ezx e680

2018-06-08 Thread Linus Walleij
On Wed, May 30, 2018 at 11:24 PM, Arnd Bergmann wrote: > The reference to camera_supply_gpiod_table was added in the wrong function, > as observed from this randconfig build failure: > > arch/arm/mach-pxa/ezx.c: In function 'e680_init': > arch/arm/mach-pxa/ezx.c:905:26: error: 'camera_supply_gpio

Re: [PATCH v3 1/5] gpio: syscon: allow fetching syscon from parent node

2018-06-08 Thread Linus Walleij
On Thu, May 31, 2018 at 5:27 AM, wrote: > From: Heiko Stuebner > > Syscon nodes can be a simple-mfd and the syscon-users then be declared > as children of this node. That way the parent-child structure can be > better represented for devices that are fully embedded in the syscon. > > Therefore

Re: possible deadlock in vprintk_emit

2018-06-08 Thread Sergey Senozhatsky
On (06/08/18 09:50), Dmitry Vyukov wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:1c8c5a9d38f6 Merge git://git.kernel.org/pub/scm/linux/kern.. > > git tree: upstream > > console output: https://syzkaller.appspot.com/x/log.txt?x=131d4ddf80 > > kernel

RE: [LINUX PATCH v9 1/4] Devicetree: Add pl353 smc controller devicetree binding information

2018-06-08 Thread Naga Sureshkumar Relli
Hi Boris, Thanks for letting us know the similar stuff. I will look into it and if any update is required, I will update as per that. Thanks, Naga Sureshkumar Relli > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Friday, June 8, 2018 11:22 AM > T

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-08 Thread Petr Mladek
On Thu 2018-06-07 20:47:25, Thierry Escande wrote: > Hi Petr, > > On 07/06/2018 14:24, Petr Mladek wrote: > > On Mon 2018-06-04 13:37:08, Thierry Escande wrote: > > > If the test_printf module is loaded before the crng is initialized, the > > > plain 'p' tests will fail because the printed address

[PATCH] ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card

2018-06-08 Thread Katsuhiro Suzuki
This patch adds headphone and microphone jack detection gpios as same as simple-card driver. This feature move into simple-card-utils from simple-card to avoid the duplicating code. Signed-off-by: Katsuhiro Suzuki --- include/sound/simple_card_utils.h | 15 +++ sound/soc/generic/audio-gr

Re: [PATCH v6 2/3] phy: Add QMP phy based UFS phy support for sdm845

2018-06-08 Thread Vivek Gautam
Hi Can, On 5/29/2018 10:07 AM, Can Guo wrote: Add UFS PHY support to make SDM845 UFS work with common PHY framework. Signed-off-by: Can Guo --- drivers/phy/qualcomm/phy-qcom-qmp.c | 200 +--- drivers/phy/qualcomm/phy-qcom-qmp.h | 15 +++ 2 files changed, 2

Re: [RFC 0/1] mconf: Emacs-like isearch

2018-06-08 Thread Dirk Gouders
Sam Ravnborg writes: >> >> I'd say it's not important to start isearch with CTRL-s, I am just so >> used to it. So, I am open for suggestions. > > Today we have first or one of the first letters as shortcut to menus. > How about considering everything typed as search inputs. > Search is then st

[PATCH 0/6] mmc: add support for sdhci 4.0

2018-06-08 Thread Chunyan Zhang
>From the SD host controller version 4.0 on, SDHCI implementation either is version 3 compatible or version 4 mode. This patch-set covers those changes which are common for SDHCI 4.0 version, regardless of whether they are used with SD or eMMC storage devices. This patchset also added a new sdhci

[PATCH 4/6] mmc: sdhci: add 32-bit block count support for v4 mode

2018-06-08 Thread Chunyan Zhang
When Host Version 4 is enabled, SDMA System Address register is re-defined as 32-bit Block Count, and SDMA uses ADMA System Address register (05Fh-058h) instead. Signed-off-by: Chunyan Zhang --- drivers/mmc/host/sdhci.c | 3 ++- drivers/mmc/host/sdhci.h | 1 + 2 files changed, 3 insertions(+), 1

[PATCH 2/6] mmc: sdhci: made changes for System Address register of SDMA

2018-06-08 Thread Chunyan Zhang
According to the SD host controller specification version 4.10, when Host Version 4 is enabled, SDMA uses ADMA System Address register (05Fh-058h) instead of using SDMA System Address register to support both 32-bit and 64-bit addressing. Signed-off-by: Chunyan Zhang --- drivers/mmc/host/sdhci.c

Re: possible deadlock in console_unlock

2018-06-08 Thread Petr Mladek
On Thu 2018-06-07 23:01:00, Sergey Senozhatsky wrote: > On (06/07/18 13:00), Petr Mladek wrote: > > > Another way could be - switch to printk_safe mode around that > > > kmalloc(): > > > > > > __printk_safe_enter(); > > > kmalloc(sizeof(struct tty_buffer) + 2 * size, GFP_ATOMIC); > > > __pri

[PATCH 6/6] mmc: host: sdhci-sprd: added Spreadtrum's host controller R11

2018-06-08 Thread Chunyan Zhang
From: Chunyan Zhang This patch adds the initial support of Secure Digital Host Controller Interface compliant controller - R11 found in some latest Spreadtrum chipsets. R11 is a variant based on SD v4.0 specification. With this driver, mmc can be initialized, can be mounted, read and written.

Re: [PATCH] kbuild: fix endless syncconfig in case arch Makefile sets CROSS_COMPILE

2018-06-08 Thread Geert Uytterhoeven
Hi Yamada-san, On Fri, Jun 8, 2018 at 2:21 AM, Masahiro Yamada wrote: > Commit 21c54b774744 ("kconfig: show compiler version text in the top > comment") was intended to detect the compiler upgrade, but Geert > reported a breakage on the m68k build. > > The compiler upgrade is detected by the chan

Re: [PATCH v5 21/31] kconfig: show compiler version text in the top comment

2018-06-08 Thread Geert Uytterhoeven
Hi Yamada-san, On Fri, Jun 8, 2018 at 9:04 AM, Masahiro Yamada wrote: > 2018-06-07 17:58 GMT+09:00 Masahiro Yamada : >> 2018-06-07 17:42 GMT+09:00 Geert Uytterhoeven : >>> On Mon, May 28, 2018 at 11:21 AM, Masahiro Yamada >>> wrote: The kernel configuration phase is now tightly coupled with

[PATCH 5/6] mmc: sdhci: add CMD23 support for v4 mode

2018-06-08 Thread Chunyan Zhang
Host Driver Version 4.10 adds a new bit in Host Control 2 Register for selecting Auto CMD23 or Auto CMD12 for ADMA3 data transfer. Signed-off-by: Chunyan Zhang --- drivers/mmc/host/sdhci.c | 16 +++- drivers/mmc/host/sdhci.h | 1 + 2 files changed, 16 insertions(+), 1 deletion(-) d

Re: [RFC PATCH v3 03/10] PM: Introduce an Energy Model management framework

2018-06-08 Thread Quentin Perret
Hi Dietmar, On Thursday 07 Jun 2018 at 17:55:32 (+0200), Dietmar Eggemann wrote: > On 06/07/2018 05:19 PM, Quentin Perret wrote: > > Hi Juri, > > > > On Thursday 07 Jun 2018 at 16:44:09 (+0200), Juri Lelli wrote: > > > On 21/05/18 15:24, Quentin Perret wrote: > > [...] > > > > Mmm, this gets co

[PATCH 3/6] mmc: sdhci: add ADMA2 64-bit addressing support for V4 mode

2018-06-08 Thread Chunyan Zhang
ADMA2 64-bit addressing support is divided into V3 mode and V4 mode. So there are two kinds of descriptors for ADMA2 64-bit addressing i.e. 96-bit Descriptor for V3 mode, and 128-bit Descriptor for V4 mode. 128-bit Descriptor is aligned to 8-byte. For V4 mode, ADMA2 64-bit addressing is enabled vi

[PATCH 1/6] mmc: sdhci: add sd host v4 mode

2018-06-08 Thread Chunyan Zhang
For SD host controller version 4.00 or later ones, there're two modes of implementation - Version 3.00 compatible mode or Version 4 mode. This patch introduces a flag to record this. Signed-off-by: Chunyan Zhang --- drivers/mmc/host/sdhci.c | 6 ++ drivers/mmc/host/sdhci.h | 6 ++ 2 fil

[PATCH] ASoC: rockchip: add config for rockchip dmaengine pcm register

2018-06-08 Thread Jianqun Xu
This patch makes the rockchip i2s pcm configurable by adding rockchip pcm config for devm_snd_dmaengine_pcm_register. Signed-off-by: Jianqun Xu --- sound/soc/rockchip/Makefile | 3 ++- sound/soc/rockchip/rockchip_i2s.c | 3 ++- sound/soc/rockchip/rockchip_pcm.c | 45 +

Re: [PATCH V5] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-08 Thread Daniel Lezcano
On 08/06/2018 06:48, Viresh Kumar wrote: > On 07-06-18, 16:11, Daniel Lezcano wrote: I'm wondering if we can have a CPU hotplugged right after the 'put_online_cpus', resulting in the 'should park' flag set and then the thread goes in the kthread_parkme instead of jumping back the idl

Re: [RFC v6 4/5] virtio_ring: add event idx support in packed ring

2018-06-08 Thread Tiwei Bie
On Thu, Jun 07, 2018 at 05:50:32PM +0800, Jason Wang wrote: > On 2018年06月05日 15:40, Tiwei Bie wrote: > > static bool virtqueue_enable_cb_delayed_packed(struct virtqueue *_vq) > > { > > struct vring_virtqueue *vq = to_vvq(_vq); > > + u16 bufs, used_idx, wrap_counter; > > START_USE(vq);

[GIT] livepatching

2018-06-08 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching.git for-linus to receive = - livepatching documentation fix from Petr Mladek = Thanks. Petr Mladek (1): livepatch: Remove n

[GIT PULL] HID

2018-06-08 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive merge window updates for HID subsystem: = - Valve Steam Controller support from Rodrigo Rivas Costa - Redragon Asura support from Robert Munteanu - improvement of duplicate usage handl

Re: [PATCH v2] printk: make sure to print log on console.

2018-06-08 Thread Petr Mladek
On Fri 2018-06-01 14:26:42, Maninder Singh wrote: > This patch make sure printing of log on console if loglevel > at time of storing log is less than current console loglevel. > > @why > In SMP printk can work asynchronously, logs can be missed on console > because it checks current log level at t

Re: [PATCH v2 1/5] dmaengine: imx-sdma: add virt-dma support

2018-06-08 Thread Sascha Hauer
On Fri, Jun 08, 2018 at 09:44:46PM +0800, Robin Gong wrote: > The legacy sdma driver has below limitations or drawbacks: > 1. Hardcode the max BDs number as "PAGE_SIZE / sizeof(*)", and alloc > one page size for one channel regardless of only few BDs needed > most time. But in few cases

Re: [PATCH v2 0/5] add virt-dma support for imx-sdma

2018-06-08 Thread Sascha Hauer
On Fri, Jun 08, 2018 at 09:44:45PM +0800, Robin Gong wrote: > The legacy sdma driver has below limitations or drawbacks: > 1. Hardcode the max BDs number as "PAGE_SIZE / sizeof(*)", and alloc > one page size for one channel regardless of only few BDs needed > most time. But in few cases

Re: [PATCH v3 00/12] cros_ec: Match licenses and switch to SPDX identifier.

2018-06-08 Thread Enric Balletbo i Serra
Hi Joe, On 06/06/18 17:42, Joe Perches wrote: > On Wed, 2018-06-06 at 17:08 +0200, Enric Balletbo i Serra wrote: >> Dear all, >> >> This patchset is just to adopt the SPDX license identifier for all >> ChromeOS Embedded Controller related drivers. > > This bit is fine, > >> The patches touches

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-08 Thread Thierry Escande
On 08/06/2018 10:04, Petr Mladek wrote: On Thu 2018-06-07 20:47:25, Thierry Escande wrote: Hi Petr, On 07/06/2018 14:24, Petr Mladek wrote: On Mon 2018-06-04 13:37:08, Thierry Escande wrote: If the test_printf module is loaded before the crng is initialized, the plain 'p' tests will fail b

Re: building in 32bit chroot on x86_64 host broken

2018-06-08 Thread Michal Kubecek
On Thu, Jun 07, 2018 at 12:40:30PM -0700, Linus Torvalds wrote: > On Thu, Jun 7, 2018 at 12:35 PM Thomas Backlund wrote: > > > > I can work around it for now (or keep the revert in our kernel builds > > for now) until it gets properly fixed... > > So rather than doing the revert, it's probably be

Re: linux-next: build warning after merge of the pm tree

2018-06-08 Thread Rafael J. Wysocki
On Friday, June 8, 2018 2:30:35 AM CEST Stephen Rothwell wrote: > > --Sig_/ncqmE76IGCiWNItKgM.lURc > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: quoted-printable > > Hi all, Hi, > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > produced th

Re: [PATCH] power: Print wakeup_count instead of event_count in the sysfs attribute.

2018-06-08 Thread Rafael J. Wysocki
On Thursday, June 7, 2018 6:47:24 PM CEST Ravi Chandra Sadineni wrote: > Hi Rafeal, > > Soft ping. Is this patch good to be merged ? Yes, it is. It's there in my linux-next branch. Thanks, Rafael

Re: [PATCH v4 05/14] coresight: get/put module in coresight_build/release_path

2018-06-08 Thread Suzuki K Poulose
On 06/07/2018 10:47 PM, Kim Phillips wrote: On Thu, 7 Jun 2018 22:10:07 +0100 Suzuki K Poulose wrote: On 06/07/2018 06:13 PM, Kim Phillips wrote: I'm going to assume the series is still valid after this discussion, since technically just this patch can get dropped, and the user is able to sho

Re: [4.17 regression] Performance drop on kernel-4.17 visible on Stream, Linpack and NAS parallel benchmarks

2018-06-08 Thread Mel Gorman
On Fri, Jun 08, 2018 at 10:49:03AM +0200, Jirka Hladky wrote: > Hi Mel, > > automatic NUMA balancing doesn't run long enough to migrate all the > > memory. That would definitely be the case for STREAM. > > This could explain the behavior we observe. stream is running ~20 seconds > at the moment.

Re: [RFC PATCH v3 03/10] PM: Introduce an Energy Model management framework

2018-06-08 Thread Juri Lelli
On 08/06/18 09:25, Quentin Perret wrote: > Hi Dietmar, > > On Thursday 07 Jun 2018 at 17:55:32 (+0200), Dietmar Eggemann wrote: [...] > > IMHO, part of the problem why this might be harder to understand is the fact > > that the patches show the use of the 2. init call > > 'em_rescale_cpu_capacit

[RFC v3 0/1] Emacs-like isearch for mconf.

2018-06-08 Thread Dirk Gouders
Hello, v2 went out incomplete, without the patch. Better so, because it would have just wasted people's time. For v4 I am planning to implement Sam's idea to kind of being in a permanent isearch when not using special keys. Changes in v3: * Use current git tree to make the patch apply. * Elimi

RE: [PATCH v2 0/5] add virt-dma support for imx-sdma

2018-06-08 Thread Robin Gong
Thanks Sacha, I'll intergrate it into v3. -Original Message- From: Sascha Hauer [mailto:s.ha...@pengutronix.de] Sent: 2018年6月8日 16:43 To: Robin Gong Cc: vk...@kernel.org; dan.j.willi...@intel.com; dmaeng...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.

[RFC v3 1/1] Emacs-like isearch for mconf.

2018-06-08 Thread Dirk Gouders
This patch implements isearch functionality for mconf as follows: * isearch is started by pressing \ or CTRL-s; those keys can also be used to find further matches of an already entered string. * isearch is implemented as a ring search. * Once isearch is started, all alphanumerical characters

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-08 Thread Andy Shevchenko
On Fri, Jun 8, 2018 at 12:07 PM, Thierry Escande wrote: > But as I type I realize it's not necessary. I will simply enclose the call > to wait_for_random_bytes() by #if IS_MODULE() #endif so it gets called only > if built as a module, which is how run_kselftest.sh wants it... If > test_printf is

[PATCH] mmc: Move the mmc driver init earlier

2018-06-08 Thread Feng Tang
When doing some boot time optimization for an eMMC rootfs NUCs, we found the rootfs may spend around 100 microseconds waiting for eMMC card to be initialized, then the rootfs could be mounted. [1.216561] Waiting for root device /dev/mmcblk1p1... [1.289262] mmc1: new HS400 MM

Re: [PATCH 4/4] kthread: Simplify kthread_park() completion

2018-06-08 Thread Oleg Nesterov
Peter, I am travelling till the end of the next week, unlikely I will be able to reply to emails or even read them. But I want very much to comment this change, On 06/07, Peter Zijlstra wrote: > > Now that smpboot_update_cpumask_percpu_thread() is gone, we no longer > have anybody calling kthrea

Re: [PATCH v7 2/2] Refactor part of the oom report in dump_header

2018-06-08 Thread 禹舟键
Hi Mike > My question was why do you call to alloc_constrained in the dump_header() > function rather than pass the constraint that was detected a bit earlier to > that function? dump_header will be called by three functions: oom_kill_process, check_panic_on_oom, out_of_memory. We can get the cons

[PATCH] pinctrl: actions: Fix uninitialized error in owl_pin_config_set()

2018-06-08 Thread Geert Uytterhoeven
With gcc 4.1.2: drivers/pinctrl/actions/pinctrl-owl.c: In function ‘owl_pin_config_set’: drivers/pinctrl/actions/pinctrl-owl.c:336: warning: ‘ret’ may be used uninitialized in this function Indeed, if num_configs is zero, the uninitialized value will be returned as an error code. Fix th

[PATCH] clk: imx6: fix video_27m parent for IMX6QDL_CLK_CKO1_SEL

2018-06-08 Thread Philipp Puschmann
q/dl datasheets list the 5th selection value for ck01_sel as video_27M_clk_root. By replacing the dummy value we then can set IMX6QDL_CLK_VIDEO_27M as parent for IMX6QDL_CLK_CKO1_SEL. Signed-off-by: Philipp Puschmann --- drivers/clk/imx/clk-imx6q.c | 2 +- 1 file changed, 1 insertion(+), 1 dele

Re: [PATCH] clk: imx6: fix video_27m parent for IMX6SX_CLK_CKO1_SEL

2018-06-08 Thread Philipp Puschmann
I screwed up the title: IMX6SX_CLK_CKO1_SEL instead of IMX6QDL_CLK_CKO1_SEL I have resent the patch with correct title. Sorry for the inconvenience. Am 06.06.2018 um 15:07 schrieb Fabio Estevam: > On Wed, Jun 6, 2018 at 6:29 AM, Philipp Puschmann wrote: >> q/dl datasheets list the 5th selection

Re: [PATCH] pinctrl: actions: Fix uninitialized error in owl_pin_config_set()

2018-06-08 Thread Manivannan Sadhasivam
On Fri, Jun 08, 2018 at 12:05:47PM +0200, Geert Uytterhoeven wrote: > With gcc 4.1.2: > > drivers/pinctrl/actions/pinctrl-owl.c: In function ‘owl_pin_config_set’: > drivers/pinctrl/actions/pinctrl-owl.c:336: warning: ‘ret’ may be used > uninitialized in this function > > Indeed, if num_c

Re: [RFC PATCH v3 09/10] sched/fair: Select an energy-efficient CPU on task wake-up

2018-06-08 Thread Juri Lelli
Hi, On 21/05/18 15:25, Quentin Perret wrote: [...] > +static int find_energy_efficient_cpu(struct task_struct *p, int prev_cpu) > +{ > + unsigned long cur_energy, prev_energy, best_energy, cpu_cap, task_util; > + int cpu, best_energy_cpu = prev_cpu; > + struct sched_energy_fd *sfd; >

Re: [PATCH v2 09/16] irqchip/irq-mvebu-sei: add new driver for Marvell SEI

2018-06-08 Thread Miquel Raynal
Hi Marc, > > +static struct irq_chip mvebu_sei_ap_wired_irq_chip = { > > + .name = "AP wired SEI", > > + .irq_mask = mvebu_sei_mask_irq, > > + .irq_unmask = mvebu_sei_unmask_irq, > > + .irq_eoi= irq_chip_eoi_parent, > > + .irq_s

[PATCH] libahci: Fix possible Spectre-v1 pmp indexing in ahci_led_store()

2018-06-08 Thread John Garry
Currently smatch warns of possible Spectre-V1 issue in ahci_led_store(): drivers/ata/libahci.c:1150 ahci_led_store() warn: potential spectre issue 'pp->em_priv' (local cap) Userspace controls @pmp from following callchain: em_message->store() ->ata_scsi_em_message_store() -->ap->ops->em_store() -

Re: [RFC PATCH v3 07/10] sched/fair: Introduce an energy estimation helper function

2018-06-08 Thread Juri Lelli
On 21/05/18 15:25, Quentin Perret wrote: [...] > +static long compute_energy(struct task_struct *p, int dst_cpu) > +{ > + long util, max_util, sum_util, energy = 0; > + struct sched_energy_fd *sfd; > + int cpu; > + > + for_each_freq_domain(sfd) { > + max_util = sum_uti

Re: [RFC PATCH v3 03/10] PM: Introduce an Energy Model management framework

2018-06-08 Thread Quentin Perret
On Friday 08 Jun 2018 at 11:36:13 (+0200), Juri Lelli wrote: > On 08/06/18 09:25, Quentin Perret wrote: > > Hi Dietmar, > > > > On Thursday 07 Jun 2018 at 17:55:32 (+0200), Dietmar Eggemann wrote: > > [...] > > > > IMHO, part of the problem why this might be harder to understand is the > > > fa

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-08 Thread Thierry Escande
On 08/06/2018 11:46, Andy Shevchenko wrote: On Fri, Jun 8, 2018 at 12:07 PM, Thierry Escande wrote: But as I type I realize it's not necessary. I will simply enclose the call to wait_for_random_bytes() by #if IS_MODULE() #endif so it gets called only if built as a module, which is how run_ksel

Re: [PATCH NEXT 6/6] PCI/PORTDRV: Remove ERR_FATAL handling from pcie_portdrv_slot_reset()

2018-06-08 Thread okaya
On 2018-06-08 00:57, p...@codeaurora.org wrote: On 2018-06-08 03:04, Bjorn Helgaas wrote: On Thu, Jun 07, 2018 at 07:18:03PM +0530, p...@codeaurora.org wrote: On 2018-06-07 11:30, Oza Pawandeep wrote: > We are handling ERR_FATAL by resetting the Link in software,skipping the > driver pci_error_

Re: [PATCH] printk/nmi: Prevent deadlock when serializing NMI backtraces

2018-06-08 Thread Petr Mladek
On Wed 2018-06-06 19:33:56, Sergey Senozhatsky wrote: > On (06/06/18 14:10), Sergey Senozhatsky wrote: > > On (06/05/18 14:47), Petr Mladek wrote: > > [..] > > > Grr, the ABBA deadlock is still there. NMIs are not sent to the other > > > CPUs atomically. Even if we detect that logbuf_lock is availa

Re: [PATCH v3 1/3] nvmem: Update the OF binding to use a subnode for the cells list

2018-06-08 Thread Alban
On Thu, 7 Jun 2018 18:03:16 +0100 Srinivas Kandagatla wrote: > On 07/06/18 17:41, Alban wrote: > > AFAIU the only thing that we disagree on now is if the nodes > > representing the cells should be direct children of the provider > > or in a dedicated subnode. For the MTD case both solution would

[PATCH] perf script: Show hw-cache events

2018-06-08 Thread Seeteena Thoufeek
perf script fails to report hardware cache events (PERF_TYPE_HW_CACHE) where as perf report shows the samples. Fix it. Ex, # perf record -e L1-dcache-loads ./a.out [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.008 MB perf.data (11 samples)] Before patch:

Re: [PATCH 2/4] Staging:rtl8192e Fix Comparison to False is error prone

2018-06-08 Thread Dan Carpenter
On Fri, Jun 08, 2018 at 12:33:56AM -0400, Janani Sankara Babu wrote: > This patch removes comparison to False(ie. bool) in the code > > Signed-off-by: Janani Sankara Babu > --- > drivers/staging/rtl8192e/rtl819x_BAProc.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > dif

Re: [PATCH v2] mm/ksm: ignore STABLE_FLAG of rmap_item->address in rmap_walk_ksm

2018-06-08 Thread Suzuki K Poulose
On 06/07/2018 11:13 PM, Andrew Morton wrote: On Thu, 24 May 2018 13:38:05 -0700 Andrew Morton wrote: Jia, Andrew, What is the status of this patch ? I have it scheduled for 4.18-rc1, with a cc:stable for backporting. I'd normally put such a fix into 4.17-rcX but I'd like to give Hugh tim

Re: [4.17 regression] Performance drop on kernel-4.17 visible on Stream, Linpack and NAS parallel benchmarks

2018-06-08 Thread Mel Gorman
On Fri, Jun 08, 2018 at 01:02:54PM +0200, Jirka Hladky wrote: > > > > Unknown and unknowable. It depends entirely on the reference pattern of > > the different threads. If they are fully parallelised with private buffers > > that are page-aligned then I expect it to be quick (to pass the 2-referenc

Re: [RFC PATCH v3 09/10] sched/fair: Select an energy-efficient CPU on task wake-up

2018-06-08 Thread Quentin Perret
On Friday 08 Jun 2018 at 12:24:46 (+0200), Juri Lelli wrote: > Hi, > > On 21/05/18 15:25, Quentin Perret wrote: > > [...] > > > +static int find_energy_efficient_cpu(struct task_struct *p, int prev_cpu) > > +{ > > + unsigned long cur_energy, prev_energy, best_energy, cpu_cap, task_util; > > +

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-08 Thread Petr Mladek
On Fri 2018-06-08 12:32:33, Thierry Escande wrote: > On 08/06/2018 11:46, Andy Shevchenko wrote: > > On Fri, Jun 8, 2018 at 12:07 PM, Thierry Escande > > wrote: > > > > > But as I type I realize it's not necessary. I will simply enclose the call > > > to wait_for_random_bytes() by #if IS_MODULE()

Re: [PATCH RESEND] lib/test_printf.c: call wait_for_random_bytes() before plain %p tests

2018-06-08 Thread Thierry Escande
On 08/06/2018 13:22, Petr Mladek wrote: On Fri 2018-06-08 12:32:33, Thierry Escande wrote: On 08/06/2018 11:46, Andy Shevchenko wrote: On Fri, Jun 8, 2018 at 12:07 PM, Thierry Escande wrote: But as I type I realize it's not necessary. I will simply enclose the call to wait_for_random_byte

Re: [PATCH v4 1/3] compiler-gcc.h: add gnu_inline to all inline declarations

2018-06-08 Thread Andrea Parri
On Fri, Jun 08, 2018 at 12:04:36PM +0200, Sedat Dilek wrote: > On Fri, Jun 8, 2018 at 9:59 AM, Arnd Bergmann wrote: > > On Thu, Jun 7, 2018 at 10:49 PM, Nick Desaulniers > > wrote: > >> Functions marked extern inline do not emit an externally visible > >> function when the gnu89 C standard is use

Re: [PATCH 0/3] platform/x86: silead_dmi: Sort alphabetically + add 1 more model

2018-06-08 Thread Andy Shevchenko
On Thu, Jun 7, 2018 at 11:36 PM, Hans de Goede wrote: > Hi Darren, Andy, > > This series is mostly about sorting the silead_dmi.c entries > alphabetically to create some order in the chaos. > > It also adds an entry for 1 more model. > > Note this series applies on top of the pending > "platform/x

Re: [PATCH 0/1] platform/x86: Rename silead_dmi to touchscreen_dmi

2018-06-08 Thread Andy Shevchenko
On Fri, Jun 8, 2018 at 12:00 AM, Hans de Goede wrote: > Hi, > > This patch is part of / preparation for the EFI embedded firmware > stuff. But it can be merged by itself without the test of that series > and since silead_dmi.c sees quite a bit of churn I would like to get > this one of my queue an

Re: [PATCH v3 1/3] nvmem: Update the OF binding to use a subnode for the cells list

2018-06-08 Thread Srinivas Kandagatla
On 08/06/18 11:59, Alban wrote: On Thu, 7 Jun 2018 18:03:16 +0100 Srinivas Kandagatla wrote: On 07/06/18 17:41, Alban wrote: AFAIU the only thing that we disagree on now is if the nodes representing the cells should be direct children of the provider or in a dedicated subnode. For the MTD

RE: [PATCH 03/11] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-06-08 Thread Yogesh Narayan Gaur
Hi Frieder, I have tried to validate your patch on fsl,ls2080a target having 2 Spansion NOR flash, S25FS512S, as slave device. Below are my observations: Observation 1: In Linux boot logs after driver probing is successful, getting below log messages [1.435986] m25p80 spi0.0: found s25fl512

Re: [RFC PATCH v3 09/10] sched/fair: Select an energy-efficient CPU on task wake-up

2018-06-08 Thread Juri Lelli
On 08/06/18 12:19, Quentin Perret wrote: > On Friday 08 Jun 2018 at 12:24:46 (+0200), Juri Lelli wrote: > > Hi, > > > > On 21/05/18 15:25, Quentin Perret wrote: > > > > [...] > > > > > +static int find_energy_efficient_cpu(struct task_struct *p, int prev_cpu) > > > +{ > > > + unsigned long cur_e

Re: [PATCH 3.16 315/410] btrfs: use proper endianness accessors for super_copy

2018-06-08 Thread Ben Hutchings
On Fri, 2018-06-08 at 04:02 +0800, Anand Jain wrote: > Hi Ben, > > This patch was reverted from the mainline and 4.14 stable as it only > added half of the endianness conversion and caused regression. This > patch should not be included. Oh yes, sorry I didn't spot that. I'll drop it. Ben

Re: [PATCH V2 1/3] scsi: ufs: set the device reference clock setting

2018-06-08 Thread Adrian Hunter
On 08/06/18 14:06, Sayali Lokhande wrote: > From: Subhash Jadavani > > UFS host supplies the reference clock to UFS device and UFS device > specification allows host to provide one of the 4 frequencies (19.2 MHz, > 26 MHz, 38.4 MHz, 52 MHz) for reference clock. Host should set the > device refere

Re: [PATCH 3.16 191/410] Input: mms114 - fix license module information

2018-06-08 Thread Ben Hutchings
On Thu, 2018-06-07 at 14:41 -0700, Dmitry Torokhov wrote: > On Thu, Jun 7, 2018 at 7:05 AM, Ben Hutchings wrote: > > 3.16.57-rc1 review patch. If anyone has any objections, please let me know. > > Not a hard objection, but rather a curiosity: for this to be pulled > into stable what user issue d

[PATCH v6 00/11] track CPU utilization

2018-06-08 Thread Vincent Guittot
This patchset initially tracked only the utilization of RT rq. During OSPM summit, it has been discussed the opportunity to extend it in order to get an estimate of the utilization of the CPU. - Patches 1,2 move pelt code in a dedicated file and remove some blank lines - Patches 3-4 add utiliza

[PATCH v6 11/11] proc/sched: remove unused sched_time_avg_ms

2018-06-08 Thread Vincent Guittot
/proc/sys/kernel/sched_time_avg_ms entry is not used anywhere. Remove it Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Kees Cook Cc: "Luis R. Rodriguez" Signed-off-by: Vincent Guittot --- include/linux/sched/sysctl.h | 1 - kernel/sched/core.c | 8 kernel/sched/sched.h | 1

[PATCH v6 06/11] cpufreq/schedutil: use dl utilization tracking

2018-06-08 Thread Vincent Guittot
Now that we have both the dl class bandwidth requirement and the dl class utilization, we can detect when CPU is fully used so we should run at max. Otherwise, we keep using the dl bandwidth requirement to define the utilization of the CPU Cc: Ingo Molnar Cc: Peter Zijlstra Signed-off-by: Vincen

[PATCH v6 05/11] sched/dl: add dl_rq utilization tracking

2018-06-08 Thread Vincent Guittot
Similarly to what happens with rt tasks, cfs tasks can be preempted by dl tasks and the cfs's utilization might no longer describes the real utilization level. Current dl bandwidth reflects the requirements to meet deadline when tasks are enqueued but not the current utilization of the dl sched cla

[PATCH v6 03/11] sched/rt: add rt_rq utilization tracking

2018-06-08 Thread Vincent Guittot
schedutil governor relies on cfs_rq's util_avg to choose the OPP when cfs tasks are running. When the CPU is overloaded by cfs and rt tasks, cfs tasks are preempted by rt tasks and in this case util_avg reflects the remaining capacity but not what cfs want to use. In such case, schedutil can select

[PATCH v6 08/11] cpufreq/schedutil: take into account interrupt

2018-06-08 Thread Vincent Guittot
The time spent under interrupt can be significant but it is not reflected in the utilization of CPU when deciding to choose an OPP. Now that we have access to this metric, schedutil can take it into account when selecting the OPP for a CPU. rqs utilization don't see the time spend under interrupt c

[PATCH v6 10/11] sched: remove rt_avg code

2018-06-08 Thread Vincent Guittot
rt_avg is no more used anywhere so we can remove all related code Cc: Ingo Molnar Cc: Peter Zijlstra Signed-off-by: Vincent Guittot --- kernel/sched/core.c | 26 -- kernel/sched/fair.c | 2 -- kernel/sched/sched.h | 17 - 3 files changed, 45 deletions

[PATCH v6 09/11] sched: use pelt for scale_rt_capacity()

2018-06-08 Thread Vincent Guittot
The utilization of the CPU by rt, dl and interrupts are now tracked with PELT so we can use these metrics instead of rt_avg to evaluate the remaining capacity available for cfs class. scale_rt_capacity() behavior has been changed and now returns the remaining capacity available for cfs instead of

[PATCH v6 07/11] sched/irq: add irq utilization tracking

2018-06-08 Thread Vincent Guittot
interrupt and steal time are the only remaining activities tracked by rt_avg. Like for sched classes, we can use PELT to track their average utilization of the CPU. But unlike sched class, we don't track when entering/leaving interrupt; Instead, we take into account the time spent under interrupt c

[PATCH v6 04/11] cpufreq/schedutil: use rt utilization tracking

2018-06-08 Thread Vincent Guittot
Take into account rt utilization when selecting an OPP for cfs tasks in order to reflect the utilization of the CPU. Cc: Ingo Molnar Cc: Peter Zijlstra Signed-off-by: Vincent Guittot --- kernel/sched/cpufreq_schedutil.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

[PATCH v6 02/11] sched/pelt: remove blank line

2018-06-08 Thread Vincent Guittot
remove some blank lines in __update_load_avg_se() and __update_load_avg_cfs_rq Cc: Ingo Molnar Cc: Peter Zijlstra Reported-by: Patrick Bellasi Signed-off-by: Vincent Guittot --- kernel/sched/pelt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/sched/pelt.c b/kernel/sched/pelt.c

[PATCH v6 01/11] sched/pelt: Move pelt related code in a dedicated file

2018-06-08 Thread Vincent Guittot
We want to track rt_rq's utilization as a part of the estimation of the whole rq's utilization. This is necessary because rt tasks can steal utilization to cfs tasks and make them lighter than they are. As we want to use the same load tracking mecanism for both and prevent useless dependency betwee

Re: regression: "95cde3c59966 debugfs: inode: debugfs_create_dir uses mode permission from parent" terminally annoys libvirt

2018-06-08 Thread Thomas-Mich Richter
On 06/08/2018 09:16 AM, Mike Galbraith wrote: > Greetings, > > $subject bisected and verified via revert. Box is garden variety > i4790, distro is openSUSE Leap 15.0. > > Error starting domain: internal error: process exited while connecting to > monitor: ioctl(KVM_CREATE_VM) failed: 12 Cannot

[GIT PULL] overlayfs update for 4.18

2018-06-08 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git tags/ovl-update-4.18 This contains two new features: 1) Stack file operations: this allows removal of several hacks from the VFS, proper interaction of read-only open files with copy-up, possi

Re: [PATCH v6 8/8] staging: rtl8192e: remove unnecessary parentheses - Coding Style

2018-06-08 Thread Dan Carpenter
On Wed, Jun 06, 2018 at 12:40:03PM +0100, John Whitmore wrote: > @@ -1072,10 +1072,10 @@ void HTInitializeHTInfo(struct ieee80211_device *ieee) > pHTInfo->CurrentAMPDUFactor = pHTInfo->AMPDU_Factor; > > // Initialize all of the parameters related to 11n > - memset((void *)(&(pHTIn

RE: [LINUX PATCH v9 4/4] mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2018-06-08 Thread Naga Sureshkumar Relli
Hi Miquel, > -Original Message- > From: Miquel Raynal [mailto:miquel.ray...@bootlin.com] > Sent: Friday, June 8, 2018 1:30 AM > To: Naga Sureshkumar Relli > Cc: boris.brezil...@bootlin.com; rich...@nod.at; w...@infradead.org; > computersforpe...@gmail.com; marek.va...@gmail.com; f.faine..

Re: [PATCH 4.4 010/268] xen-swiotlb: fix the check condition for xen_swiotlb_free_coherent

2018-06-08 Thread Ben Hutchings
On Thu, 2018-06-07 at 13:59 -0700, Joe Jin wrote: > On 6/7/18 1:28 PM, Ben Hutchings wrote: > > On Mon, 2018-05-28 at 11:59 +0200, Greg Kroah-Hartman wrote: > > > 4.4-stable review patch.  If anyone has any objections, please let me > > > know. > > > > > > -- > > > > > > From: Jo

  1   2   3   4   >