[PATCH v2] acpi: apei: Add SEI notification type support for ARMv8

2017-09-14 Thread Dongjiu Geng
ARMv8.2 requires implementation of the RAS extension, in this extension it adds SEI(SError Interrupt) notification type, this patch adds new GHES error source SEI handling functions. Because this error source parsing and handling methods are similar with the SEA. so share some SEA handling function

[PATCH] perf/core: Update cgroup time with descendants

2017-09-14 Thread linxiulei
From: "leilei.lin" This fix updating cgroup time when event is being scheduled in by cgroup descendants Signed-off-by: leilei.lin --- kernel/events/core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/events/core.c b/kernel/events/core.c index 3e691b7..6f6bd1e 1

Re: [PATCH v3 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-09-14 Thread Florian Eckert
Hello Rob > + > +Requires node properties: > +- compatible value : > + "lantiq,cputemp" Kind of non-specific. How is this device even accessed without any other property? It does not need any further properties. If this is set in the device tree then the driver is loaded. DT is n

[PATCH 2/2] drm/fsl-dcu: Fix the interrupt issue in suspend/resume functions

2017-09-14 Thread Alison Wang
drm_atomic_helper_suspend()/drm_atomic_helper_resume() are used in suspend/resume functions. Interrupt can not be disabled when calling drm_atomic_helper_resume(). Or else vblank interrupt will not generate and the error about vblank wait timed out will occur. This patch will enable interrupt befo

[PATCH 1/2] drm/fsl-dcu: Fix DCU pixel clock issue in suspend/resume functions

2017-09-14 Thread Alison Wang
As there is not corresponding clk_prepare_enable() for fsl_dev->pix_clk in previous contexts, clk_disable_unprepare() for fsl_dcu->pix_clk in suspend function will fail. This patch will add clk_prepare_enable() for fsl_dev->pix_clk in previous contexts and resume function to fix the issue. This p

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 I/O scheduler for that devi

[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 +- 1 file changed, 1 insertion(+)

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 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 o

[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] 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 ("get_comp

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 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 - __opd_

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 done

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 Programmable Clock register for >> > the backup use case. >> >> "System Cloc

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 Hughes ; Yehezkel Bernat > ; Mika Westerberg > Subject: Re: [PA

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 drivers/input/touch

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 -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 > > synchronous IO operation so

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 Ap

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

2017-09-14 Thread Laurent Dufour
Hi, On 14/09/2017 02:31, Sergey Senozhatsky wrote: > Hi, > > On (09/13/17 18:56), Laurent Dufour wrote: >> Hi Sergey, >> >> On 13/09/2017 13:53, Sergey Senozhatsky wrote: >>> Hi, >>> >>> On (09/08/17 20:06), Laurent Dufour wrote: > [..] >>> ok, so what I got on my box is: >>> >>> vm_munmap() ->

Re: [PATCH] mfd: rtsx: Add support for RTS5260

2017-09-14 Thread Lee Jones
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 subsystems are involved? Could it

[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 us

[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 Gaignard --- drivers/clo

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 Kumyk

[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 2

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 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 recommende

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). Signe

Re: Resizeable PCI BAR support V8

2017-09-14 Thread Bjorn Helgaas
On Mon, Jul 10, 2017 at 04:59:48PM +0200, Christian König wrote: > Hi everyone, > > This is the eighth incarnation of this set of patches. It enables device > drivers to resize and most likely also relocate the PCI BAR of devices > they manage to allow the CPU to access all of the device local me

Re: keyboard backlight max_brightness bug on Dell Latitude E6410

2017-09-14 Thread Pali Rohár
On Monday 11 September 2017 23:25:27 Gabriel M. Elder wrote: > Hi all,Hans de Goede, one of > the upower maintainers, suggested I alert you all to this > bug: href="https://bugs.freedesktop.org/show_bug.cgi?id=100041"; > mce_href="https://bugs.freedesktop.org/show_bug.cgi?id=100041"; > title="h

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
On 09/14/17 at 03:49pm, Dave Young wrote: > > > diff --git a/arch/x86/include/asm/uv/uv.h b/arch/x86/include/asm/uv/uv.h > > > index b5a32231abd8..93d7ad8763ba 100644 > > > --- a/arch/x86/include/asm/uv/uv.h > > > +++ b/arch/x86/include/asm/uv/uv.h > > > @@ -18,6 +18,11 @@ extern void uv_nmi_init(v

Maintenance, how to check the solar water heating system

2017-09-14 Thread Mr.David
New price, New products, New certificate, solar water heater 2017 It is our pleasure to work with you to make the business better. We will try our best to support you on the new price,new products, new certificate, 1. Temperature limitation heat pipe which stop working at 80 degree C,

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

Re: [RESEND PATCH v3 3/5] i2c: i2c-stm32f7: add driver

2017-09-14 Thread Pierre Yves MORDRET
On 09/13/2017 11:26 PM, Wolfram Sang wrote: > Hi, > > thanks for this driver! > >> +/** >> + * struct stm32f7_i2c_spec - private i2c specification timing >> + * @rate: I2C bus speed (Hz) >> + * @rate_min: 80% of I2C bus speed (Hz) >> + * @rate_max: 120% of I2C bus speed (Hz) > > You would gene

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 12/09/17

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 > > > >

[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 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dts

[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 Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: linux-watch...@vger.ker

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

2017-09-14 Thread Minchan Kim
On Thu, Sep 14, 2017 at 08:53:04AM +0800, Huang, Ying wrote: > Hi, Andrew, > > Andrew Morton writes: > > > 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 co

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 60d920d32ca40660e382cf9ccbc236599a49e6

Re: [PATCH] Support for secure erase functionality

2017-09-14 Thread Johannes Thumshirn
On Wed, Sep 13, 2017 at 05:37:53PM +0200, Philipp Guendisch wrote: > This patch adds a software based secure erase option to improve data > confidentiality. The CONFIG_BLK_DEV_SECURE_ERASE option enables a mount > flag called 'sw_secure_erase'. When you mount a volume with this flag, > every discar

Re: [PATCH] mm: Restore mmput_async

2017-09-14 Thread Michal Hocko
On Wed 13-09-17 17:59:27, Sherry Yang wrote: > Restore asynchronous mmput, allowing mmput_async to be called > from an atomic context in Android binder shrinker callback. > > mmput_async was initially introduced in ec8d7c14e > ("mm, oom_reaper: do not mmput synchronously from the > oom reaper cont

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

2017-09-14 Thread 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 performance drop when running inside VM. But are we trading a lot of CPU for a bit of lower late

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 stru

Re: [RFC PATCH v2 3/7] sched/idle: Add poll before enter real idle path

2017-09-14 Thread Quan Xu
on 2017/9/1 13:57, Quan Xu wrote: on 2017/8/29 20:45, Peter Zijlstra wrote: On Tue, Aug 29, 2017 at 11:46:37AM +, Yang Zhang wrote: Add poll in do_idle. For UP VM, if there are running task, it will not goes into idle path, so we only enable poll in SMP VM. Signed-off-by: Yang Zhang Si

Re: [PATCH] Support for secure erase functionality

2017-09-14 Thread Damien Le Moal
Philipp, On 9/14/17 00:37, Philipp Guendisch wrote: > This patch adds a software based secure erase option to improve data > confidentiality. The CONFIG_BLK_DEV_SECURE_ERASE option enables a mount > flag called 'sw_secure_erase'. When you mount a volume with this flag, > every discard call is prep

[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 sav

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: scheduling while atomic from vmci_transport_recv_stream_cb in 3.16 kernels

2017-09-14 Thread Michal Hocko
On Wed 13-09-17 18:58:13, Jorgen S. Hansen wrote: [...] > The patch series look good to me. Thanks for double checking. Ben, could you merge this to 3.16 stable branch, please? -- Michal Hocko SUSE Labs

Re: [patch V2 04/29] parisc: Use lockup_detector_stop()

2017-09-14 Thread Helge Deller
* Thomas Gleixner : > The broken lockup_detector_suspend/resume() interface is going away. Use > the new lockup_detector_soft_poweroff() interface to stop the watchdog from > the busy looping power off routine. > > Signed-off-by: Thomas Gleixner > Cc: Don Zickus > Cc: Chris Metcalf > Cc: linux-

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

2017-09-14 Thread Oleksij Rempel
On 14.09.2017 10:16, Masahiro Yamada wrote: 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) Hm.. according to https://www.altera.com/en_US

microblaze fails to to compile with allmodconfig

2017-09-14 Thread Michal Hocko
Hi, I've started seeing the following compilation failures with microblaze with the current linux-next (next-20170913). I have no idea when this has been introduced but microblaze clearly doesn't have arch specific kvm_para.h. In file included from ./include/linux/kvm_para.h:4:0,

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 >> still suspended, which may

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: [PATCH v3 04/20] mm: VMA sequence count

2017-09-14 Thread Laurent Dufour
On 14/09/2017 11:11, Sergey Senozhatsky wrote: > 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. So I'm doubting about the probability of a deadlock here, but I don't like to se

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

2017-09-14 Thread Ingo Molnar
* Josh Poimboeuf wrote: > I'm still looking at the other one (sha512-avx2), but so far I haven't > found a way to speed it back up. Here's a couple of very quick observations with possible optimizations: AFAICS the main effect of the RBP fixes is the introduction of a memory load into the cr

Re: [PATCH] gpio: dwapb: Add wakeup source support

2017-09-14 Thread Linus Walleij
On Wed, Sep 13, 2017 at 12:14 AM, Jamie Iles wrote: > On Tue, Sep 12, 2017 at 11:47:52AM +0200, Linus Walleij wrote: >> Jamie, do you consider yourself maintainer? If not >> would someone else using this driver please step up? > > I don't think I'm best suited to the job - I don't actually have ac

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: adv7180: add missing adv7180cp, adv7180st i2c devi

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 bug be fixed by a wor

Re: [RFC PATCH v2 3/7] sched/idle: Add poll before enter real idle path

2017-09-14 Thread Borislav Petkov
On Thu, Sep 14, 2017 at 04:41:39PM +0800, Quan Xu wrote: > > > On Tue, Aug 29, 2017 at 11:46:37AM +, Yang Zhang wrote: > > > > Add poll in do_idle. For UP VM, if there are running task, it will not > > > > goes into idle path, so we only enable poll in SMP VM. > > > > > > > > Signed-off-by: Ya

Re: microblaze fails to to compile with allmodconfig

2017-09-14 Thread Geert Uytterhoeven
Hi Michal, On Thu, Sep 14, 2017 at 11:07 AM, Michal Hocko wrote: > I've started seeing the following compilation failures with microblaze > with the current linux-next (next-20170913). I have no idea when this > has been introduced but microblaze clearly doesn't have arch specific > kvm_para.h. >

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

2017-09-14 Thread Wanpeng Li
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 performance drop when running in

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

2017-09-14 Thread Lukas Wunner
On Thu, Sep 14, 2017 at 06:42:03AM +, mario.limoncie...@dell.com wrote: > > On Fri, Sep 08, 2017 at 10:23:11AM -0500, Mario Limonciello wrote: > > > +static const struct wmi_device_id intel_wmi_thunderbolt_id_table[] = { > > > + { .guid_string = INTEL_WMI_THUNDERBOLT_GUID }, > > > + { }, > > >

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 insertions(+), 1 deletion(-

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 reload

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 maxi

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 insertion(+), 2 deletions(

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. This new commit will fix > the er

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

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 | 8 > 2 f

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 > --- > drivers/mf

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 if the workload is

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 Save and restore the System Clock and Programmable Clock registe

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

2017-09-14 Thread Sergey Senozhatsky
On (09/14/17 11:15), Laurent Dufour wrote: > On 14/09/2017 11:11, Sergey Senozhatsky wrote: > > 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. > > So I'm doubting abo

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 performance drop whe

[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: [PATCH 00/14] Fix wrong %pF and %pS printk format specifier usages

2017-09-14 Thread Helge Deller
On 14.09.2017 11:27, Sergey Senozhatsky wrote: 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

答复: [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 subsystems are involved? Could it

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

[RFC] [DVB][FRONTEND] Added a new ioctl for optimizing frontend property set operation

2017-09-14 Thread Satendra Singh Thakur
-For setting one frontend property , one FE_SET_PROPERTY ioctl is called -Since, size of struct dtv_property is 72 bytes, this ioctl requires ---allocating 72 bytes of memory in user space ---allocating 72 bytes of memory in kernel space ---copying 72 bytes of data from user space to kernel space -

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 regi

[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: [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 h

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

2017-09-14 Thread Philipp Zabel
Hi Oleksij, On Thu, 2017-09-14 at 10:14 +0200, Oleksij Rempel wrote: > 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

[PATCH] Staging: media: atomisp: Use kcalloc instead of kzalloc

2017-09-14 Thread Srishti Sharma
Use kcalloc instead of kzalloc to check for an overflow before multiplication. Done using the following semantic patch by coccinelle. http://coccinelle.lip6.fr/rules/kzalloc.cocci Signed-off-by: Srishti Sharma --- drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_firmware.c | 4 +++- 1

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 > --- > arch/x86/kvm/svm.c | 52

Re: [tpmdd-devel] [PATCH v2 0/3] Call GetEventLog before ExitBootServices

2017-09-14 Thread Javier Martinez Canillas
Hello Thiebaud, On 09/11/2017 12:00 PM, Thiebaud Weksteen via tpmdd-devel wrote: > With TPM 1.2, the ACPI table ("TCPA") has two fields to recover the Event Log > Area (LAML and LASA). These logs are useful to understand and rebuild the > final values of PCRs. > > With TPM 2.0, the ACPI table ("T

Re: [lkp-robot] [kprobes] e1ce3eee7d: BUG:using_smp_processor_id()in_preemptible

2017-09-14 Thread Masami Hiramatsu
On Thu, 14 Sep 2017 12:28:32 +0800 kernel test robot wrote: > > FYI, we noticed the following commit: > > commit: e1ce3eee7dcda03f2b2f2d64e2cb2f3a993a3b34 ("kprobes: Use > synchronize_rcu_tasks() for optprobe with CONFIG_PREEMPT") > url: > https://github.com/0day-ci/linux/commits/Masami-Hiram

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 s

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 a/arch/x86/kvm/svm.c b/a

[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 Improve a size determination in three

[PATCH 1/8] [media] ttusb_dec: Use common error handling code in ttusb_dec_init_dvb()

2017-09-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 13 Sep 2017 18:08:19 +0200 Add jump targets so that a bit of exception handling can be better reused at the end of this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/media/usb/ttusb-dec/ttusb_dec.c

[PATCH 2/8] [media] ttusb_dec: Adjust five checks for null pointers

2017-09-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 13 Sep 2017 18:22:35 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written … Thus fix the affected source code pla

[PATCH 3/8] [media] ttusb_dec: Improve a size determination in three functions

2017-09-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 13 Sep 2017 19:56:38 +0200 * The script "checkpatch.pl" pointed information out like the following. ERROR: do not use assignment in if condition Thus fix a few source code places. * Replace the specification of data structures by pointer dereferences as th

[PATCH 2/5] lightnvm: pblk: simplify work_queue mempool

2017-09-14 Thread Javier González
In pblk, we have a mempool to allocate a generic structure that we pass along workqueues. This is heavily used in the GC path in order to have enough inflight reads and fully utilize the GC bandwidth. However, the current GC path copies data to the host memory and puts it back into the write buffe

[PATCH 4/8] [media] ttusb_dec: Delete an error message for a failed memory allocation in ttusb_dec_probe()

2017-09-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 13 Sep 2017 20:10:39 +0200 Omit an extra message for a memory allocation failure in this function. Signed-off-by: Markus Elfring --- drivers/media/usb/ttusb-dec/ttusb_dec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/usb/

[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 drivers/lightnvm/pblk-recovery.c | 35 +++---

[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 drivers/lightnvm/pblk-init.c | 22 +

  1   2   3   4   5   6   7   >