[PATCH] dt-bindings: nand: denali: reduce the register space in the example

2017-09-14 Thread Masahiro Yamada
This example allocates too much for register regions. Especially, there are only two registers in the "nand_data" interface of this hardware (ADDR: 0x00, DATA: 0x10). Signed-off-by: Masahiro Yamada --- Documentation/devicetree/bindings/mtd/denali-nand.txt | 2 +-

Re: [PATCH 00/14] Fix wrong %pF and %pS printk format specifier usages

2017-09-14 Thread Sergey Senozhatsky
On (09/08/17 20:28), Helge Deller wrote: [..] > I don't like this kind of trying to figure out at runtime at all. > It's too much guessing in here IMHO. well, may be we can avoid any guessing by checking that the pointer belongs to .opd section. for kernel we can add 2 new unsigned longs -

[PATCH 1/2] clocksource: stm32: rework driver to use only one timer

2017-09-14 Thread Benjamin Gaignard
Rework driver code to use only one timer for both clocksource and clockevent. This patch also forbids to use 16 bits timers because they are not enough accurate. Do some clean up in structures and functions names too. Signed-off-by: Ludovic Barre Signed-off-by: Benjamin

Re: [Patch v2 2/2] libiscsi: Remove iscsi_destroy_session

2017-09-14 Thread Johannes Thumshirn
On Wed, Sep 13, 2017 at 05:09:03PM -0700, Lee Duncan wrote: > On 07/13/2017 09:11 AM, Khazhismel Kumykov wrote: > > iscsi_session_teardown was the only user of this function. Function > > currently is just short for iscsi_remove_session + iscsi_free_session. > > > > Signed-off-by: Khazhismel

[PATCH 2/2] arm: dts: stm32: remove useless clocksource nodes

2017-09-14 Thread Benjamin Gaignard
16 bits timers aren't accurate enough to be used as clocksource, remove them from stm32f4 and stm32f7 devicetree. Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32f429.dtsi | 32 arch/arm/boot/dts/stm32f746.dtsi | 32

[PATCH 0/2] stm32 clocksource driver rework

2017-09-14 Thread Benjamin Gaignard
These patch implements clocksource and clockevent by using only one hardware block. It also limits usage of clocksource to 32 bits timers because 16 bits ones aren't enough accurate. Series includes minor clean up in structures, function prototypes and driver name. Since 16 bits timers become

Re: [PATCH v3 04/20] mm: VMA sequence count

2017-09-14 Thread Sergey Senozhatsky
Hi, On (09/14/17 09:55), Laurent Dufour wrote: [..] > > so if there are two CPUs, one doing write_seqcount() and the other one > > doing read_seqcount() then what can happen is something like this > > > > CPU0CPU1 > > > >

Re: [PATCH 2/4] xen: limit grant v2 interface to the v1 functionality

2017-09-14 Thread Juergen Gross
On 13/09/17 18:20, Boris Ostrovsky wrote: > On 09/13/2017 10:45 AM, Juergen Gross wrote: >> On 13/09/17 15:50, Boris Ostrovsky wrote: >>> On 09/13/2017 09:38 AM, Juergen Gross wrote: On 13/09/17 15:22, Boris Ostrovsky wrote: > On 09/12/2017 02:18 PM, Juergen Gross wrote: >> On

Re: [PATCH 00/14] Fix wrong %pF and %pS printk format specifier usages

2017-09-14 Thread Sergey Senozhatsky
On (09/14/17 10:39), Helge Deller wrote: [..] > The basic concept of your proposal may work, and since it will avoid such > coding issues in the future I think it's probably the best solution. > > Will you come up with a patch ? (I won't have time the next few days). > If yes,I'd be happy to test

[GIT PULL] dmi fixes for v4.14

2017-09-14 Thread Jean Delvare
Hi Linus, Please pull dmi subsystem fixes for Linux v4.14 from: git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging.git dmi-for-linus arch/x86/kernel/acpi/boot.c | 4 ++-- arch/x86/kernel/apm_32.c| 2 +- arch/x86/kernel/io_delay.c

Re: [RFC Part2 PATCH v3 17/26] KVM: SVM: Add support for SEV LAUNCH_MEASURE command

2017-09-14 Thread Borislav Petkov
On Mon, Jul 24, 2017 at 03:02:54PM -0500, Brijesh Singh wrote: > The command is used to retrieve the measurement of memory encrypted > through the LAUNCH_UPDATE_DATA command. This measurement can be used > for attestation purposes. > > Signed-off-by: Brijesh Singh > --- >

[tip:core/urgent] watchdog/core: Split out cpumask write function

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: 05ba3de74a3f499dcaa37b186220aaf174c95a4b Gitweb: http://git.kernel.org/tip/05ba3de74a3f499dcaa37b186220aaf174c95a4b Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:08 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[tip:core/urgent] watchdog/core: Clean up stub functions

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: 2b9d7f233b835663cbc7b6b3f88dd20f61118d1e Gitweb: http://git.kernel.org/tip/2b9d7f233b835663cbc7b6b3f88dd20f61118d1e Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:06 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[tip:core/urgent] watchdog/core: Clean up the #ifdef maze

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: 368a7e2ce8ff0ddcdcb37eadb76530b033f6eb2d Gitweb: http://git.kernel.org/tip/368a7e2ce8ff0ddcdcb37eadb76530b033f6eb2d Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:07 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[PATCH] [media] rcar_drif: fix potential uninitialized variable use

2017-09-14 Thread Arnd Bergmann
Older compilers like gcc-4.6 may run into a case that returns an uninitialized variable from rcar_drif_enable_rx() if that function was ever called with an empty cur_ch_mask: drivers/media/platform/rcar_drif.c:658:2: error: ‘ret’ may be used uninitialized in this function [-Werror=uninitialized]

[PATCH] mtd: spi-nor: stm32-quadspi: avoid unintialized return code

2017-09-14 Thread Arnd Bergmann
If we send zero-length data to stm32_qspi_tx_poll() on older compiler versions such as gcc-4.6, we get warned that the return code is uninitialized: drivers/mtd/spi-nor/stm32-quadspi.c:248:2: error: ‘ret’ may be used uninitialized in this function [-Werror=uninitialized] On newer compiler

Re: [RFC Part2 PATCH v3 19/26] KVM: svm: Add support for SEV GUEST_STATUS command

2017-09-14 Thread Brijesh Singh
On 9/14/17 5:35 AM, Borislav Petkov wrote: ... > + >> +if (copy_from_user(, (void *) argp->data, >> +sizeof(struct kvm_sev_guest_status))) > Let me try to understand what's going on here. You copy user data into > params... This is wrong -- since all the

BUG: Sporadic crashes with current Linus tree

2017-09-14 Thread Thomas Gleixner
Hi! I've seen the following crash sporadically with commit 46c1e79fee: Have not seen that with 3882a734c19b, though I saw the PCID warnings on that machine. I have no idea how to reproduce so bisecting is pretty much pointless. Any idea what to do? Thanks, tglx BUG: unable to handle

Re: [PATCH v2 RESEND 1/2] x86/UV: Introduce a helper function to check UV system at earlier stage

2017-09-14 Thread Dave Young
On 09/14/17 at 03:29pm, Baoquan He wrote: > Add Dave to the CC list, he may have concerns about the code change. Baoquan, thanks for cc me > > On 09/07/17 at 03:42pm, Baoquan He wrote: > > The BIOS on SGI UV system will report a UV system table which describes > > specific firmware capabilities

Re: [PATCH v3 04/20] mm: VMA sequence count

2017-09-14 Thread Sergey Senozhatsky
On (09/14/17 10:58), Laurent Dufour wrote: [..] > That's right, but here this is the sequence counter mm->mm_seq, not the > vm_seq one. d'oh... you are right. -ss

Re: [RFC PATCH 1/2] autofs: set compat flag on sbi when daemon uses 32bit addressation

2017-09-14 Thread Stanislav Kinsburskiy
14.09.2017 02:38, Ian Kent пишет: > On 01/09/17 19:21, Stanislav Kinsburskiy wrote: >> Signed-off-by: Stanislav Kinsburskiy >> --- >> fs/autofs4/autofs_i.h |3 +++ >> fs/autofs4/dev-ioctl.c |3 +++ >> fs/autofs4/inode.c |4 +++- >> 3 files changed, 9

[PATCH] fs/proc: report eip/esp in /prod/PID/stat for coredumping

2017-09-14 Thread John Ogness
Commit 0a1eb2d474ed ("fs/proc: Stop reporting eip and esp in /proc/PID/stat") stopped reporting eip/esp because it is racey and dangerous for executing tasks. The comment adds: As far as I know, there are no use programs that make any material use of these fields, so just get rid of them.

Re: [RFC PATCH v2 0/7] x86/idle: add halt poll support

2017-09-14 Thread Quan Xu
On 2017/9/14 17:19, Wanpeng Li wrote: 2017-09-14 16:36 GMT+08:00 Quan Xu : on 2017/9/13 19:56, Yang Zhang wrote: On 2017/8/29 22:56, Michael S. Tsirkin wrote: On Tue, Aug 29, 2017 at 11:46:34AM +, Yang Zhang wrote: Some latency-intensive workload will see obviously

答复: [PATCH] mfd: rtsx: Add support for RTS5260

2017-09-14 Thread 冯锐
On Fri, 08 Sep 2017, rui_f...@realsil.com.cn wrote: > From: rui_feng > > Add support for new chip rts5260. You are adding over 600 lines in this patch. It desearves a more forthcoming commit message. What is it? What functionality does it provide? What other

Re: [PATCH v4 11/18] fpga: region: add fpga-region.h header

2017-09-14 Thread Wu Hao
On Thu, Sep 14, 2017 at 04:48:34AM +0800, Alan Tull wrote: > * Create fpga-region.h. > * Export fpga_region_program_fpga. > * Move struct fpga_region and other things to the header. > > This is a step in separating FPGA region common code > from Device Tree support. > > Signed-off-by: Alan Tull

[PATCH 0/8] [media] ttusb_dec: Fine-tuning for some function implementations

2017-09-14 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 14 Sep 2017 12:26:24 +0200 Some update suggestions were taken into account from static source code analysis. Markus Elfring (8): Use common error handling code in ttusb_dec_init_dvb() Adjust five checks for null pointers

[PATCH 5/5] lightnvm: pblk: remove checks on mempool alloc.

2017-09-14 Thread Javier González
As part of the mempool audit on pblk, remove unnecessary mempool allocation checks on mempools. Reported-by: Jens Axboe Signed-off-by: Javier González --- drivers/lightnvm/pblk-core.c | 4 drivers/lightnvm/pblk-read.c | 8

[PATCH 3/5] lightnvm: pblk: decouple read/erase mempools

2017-09-14 Thread Javier González
Since read and erase paths offer different guarantees for inflight I/Os, separate the mempools to set the right min_nr for each on creation. Reported-by: Jens Axboe Signed-off-by: Javier González --- drivers/lightnvm/pblk-core.c | 12

[PATCH 4/5] lightnvm: pblk: do not use a mempool for line bitmaps

2017-09-14 Thread Javier González
pblk holds two sector bitmaps: one to keep track of the mapped sectors while the line is active and another one to keep track of the invalid sectors. The latter is kept during the whole live of the line, until it is recycled. Since we cannot guarantee forward progress for the mempool in this case,

[PATCH] libata: Add new med_power_with_dipm link_power_management_policy setting

2017-09-14 Thread Hans de Goede
As described by Matthew Garret quite a while back: https://mjg59.dreamwidth.org/34868.html Intel CPUs starting with the Haswell generation need SATA links to power down for the "package" part of the CPU to reach low power-states like PC7 / P8 which bring a significant power-saving with them. The

Re: [RFC Part2 PATCH v3 19/26] KVM: svm: Add support for SEV GUEST_STATUS command

2017-09-14 Thread Borislav Petkov
On Mon, Jul 24, 2017 at 03:02:56PM -0500, Brijesh Singh wrote: > The command is used for querying the SEV guest status. > > Signed-off-by: Brijesh Singh > --- > arch/x86/kvm/svm.c | 38 ++ > 1 file changed, 38 insertions(+) > > diff

[tip:core/urgent] watchdog/core: Mark hardlockup_detector_disable() __init

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: 7a3558200739e1378800a7a6d7f63c031115f7a4 Gitweb: http://git.kernel.org/tip/7a3558200739e1378800a7a6d7f63c031115f7a4 Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:02 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[tip:core/urgent] watchdog/core: Remove broken suspend/resume interfaces

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: 5490125d77a43016b26f629d4b485e2c62172551 Gitweb: http://git.kernel.org/tip/5490125d77a43016b26f629d4b485e2c62172551 Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:36:59 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[tip:core/urgent] watchdog/core: Rework CPU hotplug locking

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: b7a349819d4b9b5db64e523351e66a79a758eaa5 Gitweb: http://git.kernel.org/tip/b7a349819d4b9b5db64e523351e66a79a758eaa5 Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:00 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[PATCH] KVM: async_pf: Fix #DF due to inject "Page not Present" and "Page Ready" exceptions simultaneously

2017-09-14 Thread Wanpeng Li
From: Wanpeng Li qemu-system-x86-8600 [004] d..1 7205.687530: kvm_entry: vcpu 2 qemu-system-x86-8600 [004] 7205.687532: kvm_exit: reason EXCEPTION_NMI rip 0xa921297d info eb2c0e44e018 8b0e qemu-system-x86-8600 [004] 7205.687532:

[tip:core/urgent] watchdog/core: Rename watchdog_proc_mutex

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: 946d197794b23202b8b46c43016747c72fe23393 Gitweb: http://git.kernel.org/tip/946d197794b23202b8b46c43016747c72fe23393 Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:01 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[tip:core/urgent] watchdog/core, powerpc: Make watchdog_nmi_reconfigure() two stage

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: 6592ad2fcc8f15b4f99b36c1db7d9f65510c203b Gitweb: http://git.kernel.org/tip/6592ad2fcc8f15b4f99b36c1db7d9f65510c203b Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:16 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[tip:core/urgent] watchdog/hardlockup/perf: Use new perf CPU enable mechanism

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: 146c9d0e9dfdb62ed6afd43cc263efafbbfd1dcf Gitweb: http://git.kernel.org/tip/146c9d0e9dfdb62ed6afd43cc263efafbbfd1dcf Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:21 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[tip:core/urgent] watchdog/hardlockup/perf: Implement CPU enable replacement

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: 2a1b8ee4f5665b4291e43e4a25d964c3eb2f4c32 Gitweb: http://git.kernel.org/tip/2a1b8ee4f5665b4291e43e4a25d964c3eb2f4c32 Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:20 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[tip:core/urgent] watchdog/hardlockup/perf: Implement init time detection of perf

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: a994a3147e4c0c9c50a46e6cace7586254975e20 Gitweb: http://git.kernel.org/tip/a994a3147e4c0c9c50a46e6cace7586254975e20 Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:19 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[tip:core/urgent] watchdog/hardlockup: Clean up hotplug locking mess

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: ab5fe3ff38ff9653490910cc71dbbedc95a86e41 Gitweb: http://git.kernel.org/tip/ab5fe3ff38ff9653490910cc71dbbedc95a86e41 Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:23 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

Re: [PATCH 1/1] Coccinelle: array_size: report even if include is missing

2017-09-14 Thread Julia Lawall
On Wed, 13 Sep 2017, Jérémy Lefaure wrote: > Rule r does not depend on rule i (which is the include of > linux/kernel.h) so the output should not depend on i in > org and report mode. > > Signed-off-by: Jérémy Lefaure Acked-by: Julia Lawall

Re: [patch 00/52] x86: Rework the vector management

2017-09-14 Thread Juergen Gross
On 13/09/17 23:29, Thomas Gleixner wrote: > Sorry for the large CC list, but this is a major surgery. > > The vector management in x86 including the surrounding code is a > conglomorate of ancient bits and pieces which have been subject to > 'modernization' and featuritis over the years. The most

Re: [PATCH v7 2/8] mfd: wm97xx-core: core support for wm97xx Codec

2017-09-14 Thread Lee Jones
On Wed, 13 Sep 2017, Robert Jarzmik wrote: > The WM9705, WM9712 and WM9713 are highly integrated codecs, with an > audio codec, DAC and ADC, GPIO unit and a touchscreen interface. > > Historically the support was spread across drivers/input/touchscreen and > sound/soc/codecs. The sharing was

Re: [PATCH v1 03/10] clk: at91: pmc: Support backup for programmable clocks

2017-09-14 Thread romain izard
2017-09-13 19:03 GMT+02:00 Alexandre Belloni : > On 13/09/2017 at 14:29:35 +0200, Nicolas Ferre wrote: >> On 08/09/2017 at 17:35, Romain Izard wrote: >> > From: Romain Izard >> > >> > Save and restore the System Clock and

Re: [PATCH] ARM: sun7i: a20: enable ac/battery power supplies for Lamobo R1 board

2017-09-14 Thread Maxime Ripard
On Wed, Sep 13, 2017 at 09:21:30PM +0800, Icenowy Zheng wrote: > The Lamobo R1 board connected the ACIN of the AXP209 PMIC to a MicroUSB > port, and the battery input is connected to a generic connector. > > Enable these two power supplies in the device tree. > > Signed-off-by: Icenowy Zheng

Re: [PATCH 00/14] Fix wrong %pF and %pS printk format specifier usages

2017-09-14 Thread Sergey Senozhatsky
On (09/14/17 16:40), Sergey Senozhatsky wrote: [..] > powerpc and parisc handle kernel .opd section as well: > > arch/powerpc/kernel/vmlinux.lds.S: .opd > arch/parisc/kernel/vmlinux.lds.S: .opd for modules, arch-s define mod_arch_specific struct. parisc has .opd (fdesc offset should

Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example

2017-09-14 Thread Masahiro Yamada
Hi. 2017-09-14 17:04 GMT+09:00 Oleksij Rempel : > Hi, > > i assume arch/arm/boot/dts/socfpga.dtsi should be update as well. Right? I think so. (also arch/arm/boot/dts/socfpga_arria10.dtsi in the same way) The wrong property "dma-mask" was removed by commit

Re: [PATCH v4 13/18] fpga: region: add register/unregister functions

2017-09-14 Thread Wu Hao
On Thu, Sep 14, 2017 at 04:48:36AM +0800, Alan Tull wrote: > Another step in separating common code from device tree specific > code for FPGA regions. > > * add FPGA region register/unregister functions. > * add the register/unregister functions to the header > * use devm_kzalloc to alloc the

Re: [tpmdd-devel] [PATCH v2 2/3] efi: call get_event_log before ExitBootServices

2017-09-14 Thread Javier Martinez Canillas
On 09/11/2017 12:00 PM, Thiebaud Weksteen via tpmdd-devel wrote: > With TPM 2.0 specification, the event logs may only be accessible by > calling an EFI Boot Service. Modify the EFI stub to copy the log area to > a new Linux-specific EFI configuration table so it remains accessible > once booted.

[PATCH] drivers: of: static DT reservations incorrectly added to dynamic list

2017-09-14 Thread Stewart Smith
There are two types of memory reservations firmware can ask the kernel to make in the device tree: static and dynamic. See Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt If you have greater than 16 entries in /reserved-memory (as we do on POWER9 systems) you would get this

[tip:core/urgent] watchdog/sysctl: Clean up sysctl variable name space

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: 7feeb9cd4f5b34476ffb9e6d58d58c5416375b19 Gitweb: http://git.kernel.org/tip/7feeb9cd4f5b34476ffb9e6d58d58c5416375b19 Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:15 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[tip:core/urgent] watchdog/sysctl: Get rid of the #ifdeffery

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: 51d4052b01ca555e0d1d5fe297b309beb6c64aa0 Gitweb: http://git.kernel.org/tip/51d4052b01ca555e0d1d5fe297b309beb6c64aa0 Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:14 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

Re: [PATCH] block,bfq: Disable writeback throttling

2017-09-14 Thread oleksandr
Tested-by: Oleksandr Natalenko Similarly to CFQ, BFQ has its write-throttling heuristics, and it is better not to combine them with further write-throttling heuristics of a different nature. So this commit disables write-back throttling for a device if BFQ is used as

[PATCH] net: phy: Fix mask value write on gmii2rgmii converter speed register.

2017-09-14 Thread Fahad Kunnathadi
To clear Speed Selection in MDIO control register(0x10), ie, clear bits 6 and 13 to zero while keeping other bits same. Before AND operation,The Mask value has to be perform with bitwise NOT operation (ie, ~ operator) This patch clears current speed selection before writing the new speed settings

Re: [PATCH v3 2/3] mmc: sdhci-omap: Add OMAP SDHCI driver

2017-09-14 Thread Adrian Hunter
On 06/09/17 14:45, Kishon Vijay Abraham I wrote: > Create a new sdhci-omap driver to configure the eMMC/SD/SDIO controller > in TI's OMAP SoCs making use of the SDHCI core library. For OMAP specific > configurations, populate sdhci_ops with OMAP specific callbacks and use > SDHCI quirks. > Enable

Re: [PATCH] dt-bindings: nand: denali: reduce the register space in the example

2017-09-14 Thread Oleksij Rempel
Hi, i assume arch/arm/boot/dts/socfpga.dtsi should be update as well. Right? On 14.09.2017 09:17, Masahiro Yamada wrote: This example allocates too much for register regions. Especially, there are only two registers in the "nand_data" interface of this hardware (ADDR: 0x00, DATA: 0x10).

[PATCH v1 2/2] ARM: socfpga: dtsi: add dw-wdt reset lines

2017-09-14 Thread Oleksij Rempel
From: Steffen Trumtrar Signed-off-by: Steffen Trumtrar Signed-off-by: Oleksij Rempel Cc: Dinh Nguyen Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/boot/dts/socfpga.dtsi | 2

[PATCH v1 1/2] watchdog: dw_wdt: add stop watchdog operation

2017-09-14 Thread Oleksij Rempel
From: Steffen Trumtrar The only way of stopping the watchdog is by resetting it. Add the watchdog op for stopping the device and reset if a reset line is provided. Signed-off-by: Steffen Trumtrar Signed-off-by: Oleksij Rempel

Re: [PATCH 00/14] Fix wrong %pF and %pS printk format specifier usages

2017-09-14 Thread Helge Deller
On 14.09.2017 10:03, Sergey Senozhatsky wrote: On (09/14/17 16:40), Sergey Senozhatsky wrote: [..] powerpc and parisc handle kernel .opd section as well: arch/powerpc/kernel/vmlinux.lds.S: .opd arch/parisc/kernel/vmlinux.lds.S: .opd for modules, arch-s define mod_arch_specific

Re: [PATCH v2] net: smsc911x: Quieten netif during suspend

2017-09-14 Thread Geert Uytterhoeven
Hi Florian, On Thu, Sep 14, 2017 at 1:28 AM, Florian Fainelli wrote: > On 09/13/2017 10:42 AM, Geert Uytterhoeven wrote: >> If the network interface is kept running during suspend, the net core >> may call net_device_ops.ndo_start_xmit() while the Ethernet device is >>

Re: [PATCH 2/2] mfd: tps65218: Introduce dependency on CONFIG_OF

2017-09-14 Thread Lee Jones
On Wed, 13 Sep 2017, Keerthy wrote: > Currently the driver boots only via device tree hence add a > dependency on CONFIG_OF. This leaves with a bunch of unused code > so clean that up. > > Signed-off-by: Keerthy > --- > drivers/mfd/Kconfig| 2 +- > drivers/mfd/tps65218.c

Re: [PATCH 1/2] mfd: tps65218: Correct the config description

2017-09-14 Thread Lee Jones
On Wed, 13 Sep 2017, Keerthy wrote: > When the initial support was added for this PMIC was added > only regulator support was present. Now we have GPIO and Powerbutton > support as well. Hence correct the description of MFD_TPS65218 config > option. > > Signed-off-by: Keerthy

Re: [PATCH 00/12] x86/crypto: Fix RBP usage in several crypto .S files

2017-09-14 Thread Ingo Molnar
* Ingo Molnar wrote: > 1) > > Note how R12 is used immediately, right in the next instruction: > > vpaddq (TBL), Y_0, XFER > > I.e. the RBP fixes lengthen the program order data dependencies - that's a > new > constraint and a few extra cycles per loop iteration

Re: [PATCH v1 03/10] clk: at91: pmc: Support backup for programmable clocks

2017-09-14 Thread Nicolas Ferre
On 14/09/2017 at 09:41, romain izard wrote: > 2017-09-13 19:03 GMT+02:00 Alexandre Belloni > : >> On 13/09/2017 at 14:29:35 +0200, Nicolas Ferre wrote: >>> On 08/09/2017 at 17:35, Romain Izard wrote: From: Romain Izard

Re: [PATCH] checkpatch: support function pointers for unnamed function definition arguments

2017-09-14 Thread Miles Chen
On Wed, 2017-09-13 at 22:33 -0700, Joe Perches wrote: > On Thu, 2017-09-14 at 11:01 +0800, Miles Chen wrote: > > Current unnamed function definition argument does not include function > > pointer cases and it reports warnings like: > > > > WARNING: function definition argument 'void' should also

Re: [RFC Part2 PATCH v3 18/26] KVM: SVM: Add support for SEV LAUNCH_FINISH command

2017-09-14 Thread Borislav Petkov
On Mon, Jul 24, 2017 at 03:02:55PM -0500, Brijesh Singh wrote: > The command is used for finializing the SEV guest launch process. > > Signed-off-by: Brijesh Singh > --- > arch/x86/kvm/svm.c | 23 +++ > 1 file changed, 23 insertions(+) > > diff --git

[PATCH 0/5] lightnvm: pblk: audit mempool usage

2017-09-14 Thread Javier González
As suggested by Jens [1], I audited all mempools on pblk. This patche series (i) fixes bad mempool allocations that did not guarantee forward progress and downsizes the sizes of some overused mempools, (ii) removes unnecessary checks, and (iii) eliminates some mempools that where introduced in

[PATCH 6/8] [media] ttusb_dec: Reduce the scope for three variables in ttusb_dec_process_urb()

2017-09-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 13 Sep 2017 21:23:29 +0200 * Move the definition for the local variables "b", "d" and "length" into an if branch so that the corresponding setting will only be performed if a memory allocation succeeded in this function. *

[PATCH 0/1] libata: Add new med_power_with_dipm link_power_management_policy setting

2017-09-14 Thread Hans de Goede
Hi All, As described by Matthew Garret quite a while back: https://mjg59.dreamwidth.org/34868.html On Intel CPUs starting with the Haswell generation SATA link power management can save a significant amount of power. Previous attempts to try and enable SATA LPM by default have gotten stuck on

[PATCH 1/5] lightnvm: pblk: fix min size for page mempool

2017-09-14 Thread Javier González
pblk uses an internal page mempool for allocating pages on internal bios. The main two users of this memory pool are partial reads (reads with some sectors in cache and some on media) and padded writes, which need to add dummy pages to an existing bio already containing valid data (and with a

[PATCH 5/8] [media] ttusb_dec: Move an assignment in ttusb_dec_probe()

2017-09-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 13 Sep 2017 20:32:25 +0200 Assign a pointer to a data structure member without using an intermediate local variable. Signed-off-by: Markus Elfring --- drivers/media/usb/ttusb-dec/ttusb_dec.c | 6

[tip:core/urgent] perf/x86/intel, watchdog/core: Sanitize PMU HT bug workaround

2017-09-14 Thread tip-bot for Peter Zijlstra
Commit-ID: 2406e3b166eee42777a6b0b38f52f924454474d7 Gitweb: http://git.kernel.org/tip/2406e3b166eee42777a6b0b38f52f924454474d7 Author: Peter Zijlstra AuthorDate: Tue, 12 Sep 2017 21:36:56 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[tip:core/urgent] watchdog/core: Provide interface to stop from poweroff()

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: 6554fd8cf06db86f861bb24d7487b2873ca444c4 Gitweb: http://git.kernel.org/tip/6554fd8cf06db86f861bb24d7487b2873ca444c4 Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:36:57 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[tip:core/urgent] watchdog/hardlockup: Provide interface to stop/restart perf events

2017-09-14 Thread tip-bot for Peter Zijlstra
Commit-ID: d0b6e0a8ef24b1b07078ababe5d91bcdf4f4264a Gitweb: http://git.kernel.org/tip/d0b6e0a8ef24b1b07078ababe5d91bcdf4f4264a Author: Peter Zijlstra AuthorDate: Tue, 12 Sep 2017 21:36:55 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[tip:core/urgent] parisc, watchdog/core: Use lockup_detector_stop()

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: 47bb4baf7df43ac8bbc51c24022466972ba29ef1 Gitweb: http://git.kernel.org/tip/47bb4baf7df43ac8bbc51c24022466972ba29ef1 Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:36:58 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[PATCH] selftests: intel_pstate: compile programs if executable not found

2017-09-14 Thread naresh . kamboju
From: Naresh Kamboju Test exit due to aperf.c: No such file or directory ./run.sh gcc: error: aperf.c: No such file or directory Problem compiling aperf.c. The Makefile installs executable programs "aperf" and "msr" so skip compile on target. Signed-off-by: Naresh

[tip:core/urgent] watchdog/core: Get rid of the thread teardown/setup dance

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: d57108d4f6791291e89d980e7f7a3566c32ab188 Gitweb: http://git.kernel.org/tip/d57108d4f6791291e89d980e7f7a3566c32ab188 Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:11 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[tip:core/urgent] smpboot/threads, watchdog/core: Avoid runtime allocation

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: 0d85923c7a81719567311ba0eae8ecb2efd4c8a0 Gitweb: http://git.kernel.org/tip/0d85923c7a81719567311ba0eae8ecb2efd4c8a0 Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:09 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

[tip:core/urgent] watchdog/core: Create new thread handling infrastructure

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: 2eb2527f847d1bd8d8fb9db1e8139db5d6eddb36 Gitweb: http://git.kernel.org/tip/2eb2527f847d1bd8d8fb9db1e8139db5d6eddb36 Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:10 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

Re: [PATCH] net/packet: fix race condition between fanout_add and __unregister_prot_hook

2017-09-14 Thread Willem de Bruijn
On Wed, Sep 13, 2017 at 10:40 PM, nixiaoming wrote: > If fanout_add is preempted after running po-> fanout = match > and before running __fanout_link, > it will cause BUG_ON when __unregister_prot_hook call __fanout_unlink > > so, we need add mutex_lock(_mutex) to

Re: [PATCH] signal: remove unused variable

2017-09-14 Thread Christos Gkekas
On 11/09/17 22:03:37 +0200, Arnd Bergmann wrote: > The get_compat_sigset() cleanup missed a variable that is now unused: > > kernel/signal.c: In function 'C_SYSC_rt_sigaction': > kernel/signal.c:3443:19: error: unused variable 'mask' > [-Werror=unused-variable] > > Fixes: 9b24ec57688a

[RFC] KVM: arm/arm64: Introduce KVM_DEV_ARM_ITS_CTRL_RESET

2017-09-14 Thread Eric Auger
At the moment, the in-kernel emulated ITS is not properly reset. On guest restart/reset some registers keep their old values and internal structures like device, ITE, collection lists are not emptied. This may lead to various bugs. Among them, we can have incorrect state backup or failure when

Re: [PATCH v3 04/20] mm: VMA sequence count

2017-09-14 Thread Laurent Dufour
On 14/09/2017 10:13, Sergey Senozhatsky wrote: > Hi, > > On (09/14/17 09:55), Laurent Dufour wrote: > [..] >>> so if there are two CPUs, one doing write_seqcount() and the other one >>> doing read_seqcount() then what can happen is something like this >>> >>> CPU0

Re: [PATCH v3] Make initramfs honor CONFIG_DEVTMPFS_MOUNT

2017-09-14 Thread Christophe LEROY
Le 14/09/2017 à 01:51, Rob Landley a écrit : From: Rob Landley Make initramfs honor CONFIG_DEVTMPFS_MOUNT, and move /dev/console open after devtmpfs mount. Add workaround for Debian bug that was copied by Ubuntu. Is that a bug only for Debian ? Why ? Why should a Debian

Re: [git:media_tree/master] media: adv7180: add missing adv7180cp, adv7180st i2c device IDs

2017-09-14 Thread Geert Uytterhoeven
On Wed, Sep 13, 2017 at 10:50 AM, Geert Uytterhoeven wrote: > On Thu, Jul 20, 2017 at 12:54 PM, Mauro Carvalho Chehab > wrote: >> This is an automatic generated email to let you know that the following >> patch were queued: >> >> Subject: media:

Re: [PATCH 2/2] mfd: fsl-imx25: clean up irq settings during removal

2017-09-14 Thread Lee Jones
On Tue, 12 Sep 2017, Martin Kaiser wrote: > When fsl-imx25-tsadc is compiled as a module, unloading and reloading > the module will lead to a crash. > > Add a removal function which clears the irq handler and removes the irq > domain. With this cleanup in place, it's possible to unload and

Re: [PATCH v2 4/4] tpm: use tpm_msleep() value as max delay

2017-09-14 Thread Nayna Jain
On 09/13/2017 06:17 AM, Jarkko Sakkinen wrote: On Wed, Sep 06, 2017 at 08:56:39AM -0400, Nayna Jain wrote: Currently, tpm_msleep() uses delay_msec as the minimum value in usleep_range. However, that is the maximum time we want to wait. The function is modified to use the delay_msec as the

Re: [PATCH 1/2] mfd: fsl-imx25: set irq handler and data in one go

2017-09-14 Thread Lee Jones
On Tue, 12 Sep 2017, Martin Kaiser wrote: > Replace the two separate calls for setting the irq handler and data with > a single irq_set_chained_handler_and_data() call. > > Signed-off-by: Martin Kaiser > --- > drivers/mfd/fsl-imx25-tsadc.c | 3 +-- > 1 file changed, 1

Re: [PATCH V1] MAINTAINERS: Fix Dialog search term for watchdog binding file

2017-09-14 Thread Lee Jones
On Tue, 12 Sep 2017, Steve Twiss wrote: > From: Steve Twiss > > Commit 340267640d769d3b3af9 ("MAINTAINERS: da9062/61 updates to the Dialog > Semiconductor search terms") contained a typo for the watchdog binding: > da92??-wdt.txt should have read da90??-wdt.txt.

[PATCH 8/8] [media] ttusb_dec: Delete four unwanted spaces

2017-09-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 13 Sep 2017 22:22:41 +0200 The script "checkpatch.pl" pointed information out like the following. ERROR: space prohibited after that open parenthesis '(' Thus fix affected source code places. Signed-off-by: Markus Elfring

[PATCH 7/8] [media] ttusb_dec: Add spaces for better code readability

2017-09-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 13 Sep 2017 22:12:07 +0200 The script "checkpatch.pl" pointed information out like the following. ERROR: spaces required around that '=' (ctx:VxV) Thus fix the affected source code places. Signed-off-by: Markus Elfring

Re: [PATCH] ARC: reset: remove the misleading v1 suffix all over

2017-09-14 Thread Philipp Zabel
On Mon, 2017-09-11 at 09:33 -0700, Vineet Gupta wrote: > On 09/11/2017 03:28 AM, Philipp Zabel wrote: > > Hi Vineet, > > > > [added Eugeniy to Cc] > > > > On Thu, 2017-08-31 at 11:06 -0700, Vineet Gupta wrote: > > > There is no plan yet to do a v2 board. And even if we were to do > > > it > > >

[tip:core/urgent] watchdog/hardlockup/perf: Simplify deferred event destroy

2017-09-14 Thread tip-bot for Thomas Gleixner
Commit-ID: a33d44843d4574ec05bec39527d8a87b7af2072c Gitweb: http://git.kernel.org/tip/a33d44843d4574ec05bec39527d8a87b7af2072c Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:22 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017

Re: [PATCH v2 RESEND 1/2] x86/UV: Introduce a helper function to check UV system at earlier stage

2017-09-14 Thread Baoquan He
Add Dave to the CC list, he may have concerns about the code change. On 09/07/17 at 03:42pm, Baoquan He wrote: > The BIOS on SGI UV system will report a UV system table which describes > specific firmware capabilities available to the Linux kernel at runtime. > This UV system table only exists on

RE: [PATCH v3] Add driver to force WMI Thunderbolt controller power status

2017-09-14 Thread Mario.Limonciello
> -Original Message- > From: Lukas Wunner [mailto:lu...@wunner.de] > Sent: Wednesday, September 13, 2017 12:20 PM > To: Limonciello, Mario > Cc: dvh...@infradead.org; LKML ; > platform-driver- > x...@vger.kernel.org; Richard

Re: [PATCH v7 2/8] mfd: wm97xx-core: core support for wm97xx Codec

2017-09-14 Thread Lee Jones
On Thu, 14 Sep 2017, Lee Jones wrote: > On Wed, 13 Sep 2017, Robert Jarzmik wrote: > > > The WM9705, WM9712 and WM9713 are highly integrated codecs, with an > > audio codec, DAC and ADC, GPIO unit and a touchscreen interface. > > > > Historically the support was spread across

Re: [PATCH -mm -v4 3/5] mm, swap: VMA based swap readahead

2017-09-14 Thread Minchan Kim
On Wed, Sep 13, 2017 at 02:02:29PM -0700, Andrew Morton wrote: > On Wed, 13 Sep 2017 10:40:19 +0900 Minchan Kim wrote: > > > Every zram users like low-end android device has used 0 page-cluster > > to disable swap readahead because it has no seek cost and works as > >

Re: [PATCH 2/2] zram: remove zlib from the list of recommended algorithms

2017-09-14 Thread Minchan Kim
On Wed, Sep 13, 2017 at 12:38:56PM +0200, Adam Borowski wrote: > On Wed, Sep 13, 2017 at 04:12:46PM +0900, Minchan Kim wrote: > > On Tue, Sep 12, 2017 at 02:00:05PM +0900, Sergey Senozhatsky wrote: > > > ZSTD tends to outperform deflate/inflate, thus we remove > > > zlib from the list of

Re: [patch V2 00/29] lockup_detector: Cure hotplug deadlocks and replace duct tape

2017-09-14 Thread Thomas Gleixner
On Wed, 13 Sep 2017, Don Zickus wrote: > > Aside from the simple compile issue in patch 25. I have no issues with this > patchset. Thanks Thomas! > > Reviewed-by: Don Zickus Thanks for your time and feedback! tglx

  1   2   3   4   5   6   7   8   9   10   >