Re: [PATCH 02/13] x86/microcode: Use own MSR accessors

2017-01-17 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Borislav Petkov wrote: > diff --git a/arch/x86/include/asm/microcode.h > b/arch/x86/include/asm/microcode.h > index 38711df3bcb5..fbecea6e46e2 100644 > --- a/arch/x86/include/asm/microcode.h > +++ b/arch/x86/include/asm/microcode.h > @@ -5,20 +5,33 @@ > #include > #include

Re: [PATCH 09/12] x86/cqm: Add RMID reuse

2017-01-17 Thread Thomas Gleixner
On Fri, 6 Jan 2017, Vikas Shivappa wrote: > +static void cqm_schedule_rmidwork(int domain); This forward declaration is required because all callers of that function are coming _after_ the function implementation, right? > +static inline bool is_first_cqmwork(int domain) > +{ > + return (!ato

Re: [PATCH v7 2/3] input: tm2-touchkey: Add touchkey driver support for TM2

2017-01-17 Thread Dmitry Torokhov
On Tue, Jan 17, 2017 at 9:20 AM, Krzysztof Kozlowski wrote: > On Tue, Jan 17, 2017 at 02:54:38PM +0900, Jaechul Lee wrote: >> This patch adds support for the TM2 touch key and led >> functionality. >> >> The driver interfaces with userspace through an input device and >> reports KEY_PHONE and KEY_

Re: [PATCH 08/12] x86/cqm: Add support for monitoring task and cgroup together

2017-01-17 Thread Thomas Gleixner
On Fri, 6 Jan 2017, Vikas Shivappa wrote: > From: Vikas Shivappa > > This patch adds support to monitor a cgroup x and a task p1 > when p1 is part of cgroup x. Since we cannot write two RMIDs during > sched in the driver handles this. Again you explain WHAT not WHY > This patch introduces a

Re: [PATCH V2 2/4] efi/x86: move efi_print_memmap to drivers/firmware/efi/memmap.c

2017-01-17 Thread Ard Biesheuvel
On 16 January 2017 at 02:45, Dave Young wrote: > Signed-off-by: Dave Young Acked-by: Ard Biesheuvel > --- > v1->v2: move efi_print_memmap declaration to general header file > arch/x86/include/asm/efi.h|1 - > arch/x86/platform/efi/efi.c | 16 > drivers/firmware/ef

Re: [PATCH] ASoC: sunxi: Add bindings for sun8i to SPDIF

2017-01-17 Thread Mark Brown
On Thu, Jan 12, 2017 at 06:33:43PM +0100, codekip...@gmail.com wrote: > From: Marcus Cooper > > The H3 SoC uses the same SPDIF block as found in earlier SoCs, but the > transmit fifo is at a different address. > > Signed-off-by: Marcus Cooper > --- > Documentation/devicetree/bindings/sound/sun

Re: [PATCH v7 2/3] input: tm2-touchkey: Add touchkey driver support for TM2

2017-01-17 Thread Krzysztof Kozlowski
On Tue, Jan 17, 2017 at 10:06:27AM -0800, Dmitry Torokhov wrote: > On Tue, Jan 17, 2017 at 9:20 AM, Krzysztof Kozlowski wrote: > > On Tue, Jan 17, 2017 at 02:54:38PM +0900, Jaechul Lee wrote: > >> This patch adds support for the TM2 touch key and led > >> functionality. > >> > >> The driver interf

Re: [PATCH 02/17] spi: Adjust checks for null pointers in two functions

2017-01-17 Thread Mark Brown
On Fri, Jan 13, 2017 at 06:09:52PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 13 Jan 2017 13:23:32 +0100 > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit Something's messed up with your setup for sending out patches here... c

Re: [PATCH 02/13] x86/microcode: Use own MSR accessors

2017-01-17 Thread Borislav Petkov
On Tue, Jan 17, 2017 at 06:51:06PM +0100, Thomas Gleixner wrote: > That would get rid of all the extra microcode specific MSR accessors which > are just yet another copy of stuff in msr.h. Well, I did think about reusing those but last time I did, they received those tracepoints (apparently, we're

Re: [PATCH 04/17] spi: fsl: Use kmalloc_array() in of_fsl_spi_get_chipselects()

2017-01-17 Thread Mark Brown
On Fri, Jan 13, 2017 at 06:12:23PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 13 Jan 2017 13:37:25 +0100 > > A multiplication for the size determination of a memory allocation > indicated that an array data structure should be processed. > Thus use the corresponding funct

[PATCH v3 4/8] ARM: dts: armada-xp-linksys-mamba: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Tested-by: Andrew Lunn Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 53 ++

[PATCH v3 6/8] ARM: dts: kirkwood-linksys-viper: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Reviewed-by: Andrew Lunn Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/kirkwood-linksys-viper.dts | 49 +

[PATCH v3 7/8] ARM: dts: kirkwood-mv88f6281gtw-ge: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Reviewed-by: Andrew Lunn Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts | 49 +++

[PATCH v3 8/8] ARM: dts: kirkwood-rd88f6281: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/kirkwood-rd88f6281-a.dts | 9 +++--- arch/arm/boot/dts/kirkwood-rd88f6281

[PATCH v3 0/8] ARM: dts: Switch to new DSA binding

2017-01-17 Thread Florian Fainelli
Hi all, This patch series converts the in-tree users to utilize the new (relatively) DSA binding that was introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Changes in v3: - collected tags from Andrew and Russ

[PATCH v3 5/8] ARM: dts: kirkwood-dir665: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Tested-by: Andrew Lunn Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/kirkwood-dir665.dts | 49 ++

[PATCH v3 1/8] ARM: dts: armada-370-rd: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Tested-by: Andrew Lunn Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/armada-370-rd.dts | 44

[PATCH v3 2/8] ARM: dts: armada-385-linksys: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Reviewed-by: Andrew Lunn Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/armada-385-linksys.dtsi | 52

Re: aacraid: kernel: AAC: Host adapter dead -1 (bisected)

2017-01-17 Thread Arkadiusz Miskiewicz
On Tuesday 17 of January 2017, Dave Carroll wrote: > > Hi. > > > > There is a bug with handling of adaptec raid cards (in my case it is > > Adaptec 3405) where kernel logs hundreds of "AAC: Host adapter dead -1" > > messages. > > > > Bug was reported previously on lkml but there was no progres in

[PATCH v3 3/8] ARM: dts: armada-388-clearfog: Utilize new DSA binding

2017-01-17 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Acked-by: Russell King Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/armada-388-clearfog.dts | 65 ++

davinci common clock framework (was Re: [PATCH 03/10] devicetree: bindings: add bindings for ahci-da850)

2017-01-17 Thread David Lechner
On 01/17/2017 06:00 AM, Sekhar Nori wrote: On Tuesday 17 January 2017 12:17 AM, David Lechner wrote: On 01/16/2017 08:30 AM, Bartosz Golaszewski wrote: 2017-01-16 13:45 GMT+01:00 Sekhar Nori : On Monday 16 January 2017 03:43 PM, Bartosz Golaszewski wrote: It's true that once davinci gets por

Re: Regression on Dell XPS13 (was: [char-misc for 4.10-rc4 V2] mei: bus: enable OS version only for SPT and newer)

2017-01-17 Thread Greg KH
On Tue, Jan 17, 2017 at 04:57:49PM +, mario.limoncie...@dell.com wrote: > So in the <6s scenario, the intel-hid driver is responsible to receive the > ACPI > event and process accordingly. The maintainer has a patch ready for the > intel-hid > portion of this work, but it's currently being r

Re: [PATCH 07/17] spi/mpc52xx: Combine substrings for two messages

2017-01-17 Thread Mark Brown
On Fri, Jan 13, 2017 at 06:15:54PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 13 Jan 2017 14:14:45 +0100 > > The script "checkpatch.pl" pointed information out like the following. > > WARNING: quoted string split across lines > > Thus fix the affected source code places

Re: [PATCH 10/17] spi/ppc4xx: Adjust checks for null pointers in two functions

2017-01-17 Thread Mark Brown
On Fri, Jan 13, 2017 at 06:19:35PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 13 Jan 2017 14:56:10 +0100 > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit This is also corrupted. signature.asc Description: PGP signature

Re: [PATCH] clk: meson-gxbb: Export HDMI clocks

2017-01-17 Thread Stephen Boyd
On 01/17, Neil Armstrong wrote: > Export HDMI clock from internal to dt-bindings. > > Signed-off-by: Neil Armstrong > --- Acked-by: Stephen Boyd I think we decided this would go with the dts changes if more needed to be exposed. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora

Re: [PATCH v2 01/14] devicetree: bindings: add bindings for ahci-da850

2017-01-17 Thread David Lechner
On 01/17/2017 06:26 AM, Bartosz Golaszewski wrote: Add DT bindings for the TI DA850 AHCI SATA controller. Signed-off-by: Bartosz Golaszewski --- Documentation/devicetree/bindings/ata/ahci-da850.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devi

Re: [PATCH v3 10/30] perf clang: Add builtin clang support ant test case

2017-01-17 Thread Alexei Starovoitov
On Tue, Jan 17, 2017 at 5:38 AM, Arnaldo Carvalho de Melo wrote: > > [acme@jouet linux]$ ls -lah /tmp/perf > -rwxr-xr-x. 1 acme acme 4.4M Jan 17 10:29 /tmp/perf > [acme@jouet linux]$ size /tmp/perf >textdata bss dec hex filename > 3954488 622440 2391210428489032

Re: [PATCH 3/3] arm64: dts: exynos: Add stmfts touchscreen node for TM2 and TM2E

2017-01-17 Thread Krzysztof Kozlowski
On Tue, Jan 17, 2017 at 10:54:41PM +0900, Andi Shyti wrote: > TM2 and TM2E devices are provided with a ST-Microelectronics > Finger Tip S device with small differences: > > - screen size > - TM2E uses the stmfts also as a touchkey for "back" and "menu" > > Signed-off-by: Andi Shyti > --- > ar

Applied "spi/ppc4xx: Use kcalloc() in spi_ppc4xx_of_probe()" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi/ppc4xx: Use kcalloc() in spi_ppc4xx_of_probe() has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "ASoC: rt5659: fix platform_no_drv_owner.cocci warnings" to the asoc tree

2017-01-17 Thread Mark Brown
The patch ASoC: rt5659: fix platform_no_drv_owner.cocci warnings has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "spi/topcliff-pch: Delete an error message for a failed memory allocation in pch_spi_set_tx()" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi/topcliff-pch: Delete an error message for a failed memory allocation in pch_spi_set_tx() has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually

Applied "spi: fsl: Use kcalloc() in of_fsl_spi_get_chipselects()" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi: fsl: Use kcalloc() in of_fsl_spi_get_chipselects() has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and se

Applied "spi/topcliff-pch: Delete an unnecessary return statement in two functions" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi/topcliff-pch: Delete an unnecessary return statement in two functions has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the nex

Applied "spi/mpc52xx: Use kmalloc_array() in mpc52xx_spi_probe()" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi/mpc52xx: Use kmalloc_array() in mpc52xx_spi_probe() has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and se

Applied "spi: pxa2xx: Factor out handle_bad_msg" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi: pxa2xx: Factor out handle_bad_msg has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus durin

Applied "spi: Use kcalloc() in spi_register_board_info()" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi: Use kcalloc() in spi_register_board_info() has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Li

Applied "spi: fsl: Combine substrings for two messages" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi: fsl: Combine substrings for two messages has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linu

Applied "spi/ppc4xx: Combine substrings for a message in spi_ppc4xx_of_probe()" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi/ppc4xx: Combine substrings for a message in spi_ppc4xx_of_probe() has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "spi: fsl: Use kmalloc_array() in of_fsl_spi_get_chipselects()" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi: fsl: Use kmalloc_array() in of_fsl_spi_get_chipselects() has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "spi/topcliff-pch: Use kcalloc() in pch_spi_handle_dma()" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi/topcliff-pch: Use kcalloc() in pch_spi_handle_dma() has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and se

ATENCIÓN

2017-01-17 Thread administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de corre

Applied "spi/mpc52xx: Combine substrings for two messages" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi/mpc52xx: Combine substrings for two messages has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to L

Re: spi/ppc4xx: Adjust checks for null pointers in two functions

2017-01-17 Thread SF Markus Elfring
>> From: Markus Elfring >> Date: Fri, 13 Jan 2017 14:56:10 +0100 >> MIME-Version: 1.0 >> Content-Type: text/plain; charset=UTF-8 >> Content-Transfer-Encoding: 8bit > > This is also corrupted. Would you like to explain this information a bit more? The published patch looks reasonable in princip

RE: Regression on Dell XPS13 (was: [char-misc for 4.10-rc4 V2] mei: bus: enable OS version only for SPT and newer)

2017-01-17 Thread Mario.Limonciello
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, January 17, 2017 12:24 PM > To: Limonciello, Mario > Cc: pmen...@molgen.mpg.de; rafael.j.wyso...@intel.com; > li...@leemhuis.info; tomas.wink...@intel.com; j...@gondor.com; > alexander.usys...@intel.c

Applied "spi/topcliff-pch: Improve size determinations in pch_spi_probe()" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi/topcliff-pch: Improve size determinations in pch_spi_probe() has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

Applied "spi/topcliff-pch: Combine substrings for four messages" to the spi tree

2017-01-17 Thread Mark Brown
The patch spi/topcliff-pch: Combine substrings for four messages has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sen

Re: [PATCH V2 1/4] efi/x86: move efi bgrt init code to early init code

2017-01-17 Thread Ard Biesheuvel
On 16 January 2017 at 02:45, Dave Young wrote: > Before invoking the arch specific handler, efi_mem_reserve() reserves > the given memory region through memblock. > > efi_bgrt_init will call efi_mem_reserve after mm_init(), at that time > memblock is dead and it should not be used any more. > > ef

Re: [PATCH 03/13] x86/microcode/AMD: Clean up find_equiv_id()

2017-01-17 Thread Borislav Petkov
On Tue, Jan 17, 2017 at 06:54:48PM +0100, Thomas Gleixner wrote: > and even simpler: > > for (; equiv_table->installed_cpu; equiv_table++) Very nice, thanks! Here's v1.1: --- From: Borislav Petkov Date: Sun, 18 Dec 2016 12:05:50 +0100 Subject: [PATCH -v1.1 03/13] x86/microcode/AMD: Clean

Re: [PATCH v2 11/14] sata: ahci-da850: un-hardcode the MPY bits

2017-01-17 Thread David Lechner
On 01/17/2017 06:26 AM, Bartosz Golaszewski wrote: In order to make the MPY bits configurable, try to obtain the refclk and calculate the required multiplier from its rate. If we fail to get the clock, fall back to the default value which keeps backwards compatibility. It seems like it would b

Re: [PATCH 1/3] Input: add STMicroelectronics FingerTip touchscreen driver

2017-01-17 Thread Krzysztof Kozlowski
On Tue, Jan 17, 2017 at 10:54:39PM +0900, Andi Shyti wrote: > Add binding for the STMicroelectronics FingerTip (stmfts) > touchscreen driver. > > Signed-off-by: Andi Shyti > --- > .../bindings/input/touchscreen/st,stmfts.txt | 43 > ++ > 1 file changed, 43 insertions(+

Re: [PATCH v2 14/14] ARM: dts: da850-lcdk: enable the SATA node

2017-01-17 Thread David Lechner
On 01/17/2017 06:26 AM, Bartosz Golaszewski wrote: Enable the SATA node for da850-lcdk. We omit the pinctrl property on purpose - the muxed SATA pins are not hooked up to anything SATA-related on the lcdk. The REFCLKN/P rate on the board is 100MHz, so we need a multiplier of 15 for 1.5GHz PLL ra

[PATCH] Fix coding style errors "open brace go on the same line"

2017-01-17 Thread Adrien Descamps
Open braces for enum, union and struct go on the same line. Signed-off-by: Adrien Descamps Reviewed-by: Eric Anholt --- .../interface/vchi/connections/connection.h| 3 +-- .../interface/vchi/message_drivers/message.h | 9 +++-- drivers/staging/vc04_services/interface

Re: [PATCH 03/13] x86/microcode/AMD: Clean up find_equiv_id()

2017-01-17 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Borislav Petkov wrote: > + for (; equiv_table && equiv_table->installed_cpu; equiv_table++) > + if (sig == equiv_table->installed_cpu) > + return equiv_table->equiv_cpu; This would be perfect if you just kept the braces around the for loop.

Re: [PATCH] Set elsiocb contexts to NULL after freeing it

2017-01-17 Thread Martin K. Petersen
> "Johannes" == Johannes Thumshirn writes: Johannes> Dick, James, any comments? I'd really like to get this in soon Johannes> as it solves customer issues. Ping? -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] bfa: fix wrongly initialized variable in bfad_im_bsg_els_ct_request()

2017-01-17 Thread Martin K. Petersen
> "Johannes" == Johannes Thumshirn writes: Johannes> Commit 01e0e15c8b3b ("scsi: don't use fc_bsg_job::request and Johannes> fc_bsg_job::reply directly") introduced a typo, which causes Johannes> that the bsg_request variable in bfad_im_bsg_els_ct_request() Johannes> is initialized to itself

Re: [PATCH 2/9] slab: remove synchronous rcu_barrier() call in memcg cache release path

2017-01-17 Thread Tejun Heo
On Tue, Jan 17, 2017 at 08:37:45AM -0800, Tejun Heo wrote: > The call sequence doesn't matter. Whether you're using call_rcu() or > rcu_barrier(), you're just waiting for a grace period to pass before > continuing. It doens't give any other ordering guarantees, so the new > code should be equival

Re: [PATCH] stmmac: add missing of_node_put

2017-01-17 Thread David Miller
From: Julia Lawall Date: Tue, 17 Jan 2017 12:23:21 +0100 > The function stmmac_dt_phy provides several possibilities for initializing > plat->mdio_node, all of which have the effect of increasing the reference > count of the assigned value. This field is not updated elsewhere, so the > value is

Re: spi/ppc4xx: Adjust checks for null pointers in two functions

2017-01-17 Thread Mark Brown
On Tue, Jan 17, 2017 at 07:48:26PM +0100, SF Markus Elfring wrote: > >> From: Markus Elfring > >> Date: Fri, 13 Jan 2017 14:56:10 +0100 > >> MIME-Version: 1.0 > >> Content-Type: text/plain; charset=UTF-8 > >> Content-Transfer-Encoding: 8bit > > This is also corrupted. > Would you like to explain

Re: [PATCH v2 2/3] spi: pxa2xx: Prepare for edge-triggered interrupts

2017-01-17 Thread Jan Kiszka
On 2017-01-16 20:46, Jan Kiszka wrote: > On 2017-01-16 20:07, Andy Shevchenko wrote: >> On Mon, 2017-01-16 at 19:44 +0100, Jan Kiszka wrote: >>> When using the a device with edge-triggered interrupts, such as MSIs, >>> the interrupt handler has to ensure that there is a point in time >>> during >>>

Re: [PATCH 04/12] x86/cqm: Add Per pkg rmid support\

2017-01-17 Thread Shivappa Vikas
On Mon, 16 Jan 2017, Thomas Gleixner wrote: On Fri, 6 Jan 2017, Vikas Shivappa wrote: Subject : [PATCH 04/12] x86/cqm: Add Per pkg rmid support Can you please be a bit more careful about the subject lines. 'Per' wants to be 'per' and pkg really can be written as package. There is no point

Re: [PATCH 02/13] x86/microcode: Use own MSR accessors

2017-01-17 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Borislav Petkov wrote: > On Tue, Jan 17, 2017 at 06:51:06PM +0100, Thomas Gleixner wrote: > > That would get rid of all the extra microcode specific MSR accessors which > > are just yet another copy of stuff in msr.h. > > Well, I did think about reusing those but last time I

Re: [PATCH v3 10/30] perf clang: Add builtin clang support ant test case

2017-01-17 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 17, 2017 at 10:27:39AM -0800, Alexei Starovoitov escreveu: > On Tue, Jan 17, 2017 at 5:38 AM, Arnaldo Carvalho de Melo > wrote: > > [acme@jouet linux]$ ls -lah /tmp/perf > > -rwxr-xr-x. 1 acme acme 4.4M Jan 17 10:29 /tmp/perf > > [acme@jouet linux]$ size /tmp/perf > >textdata

Re: [PATCH] pciehp: Fix race condition handling surprise link-down

2017-01-17 Thread Raj, Ashok
Hi Bjorn Sorry to bug you, didn't hear from you after i added the lock for consistency to address the feedback. Let me know if there is anymore changes you like to see. Cheers, Ashok On Fri, Dec 09, 2016 at 01:06:04PM -0800, Ashok Raj wrote: > Changes from v1: > Address comments from Bjor

Re: [PATCH v3] arm64: mm: Fix NOMAP page initialization

2017-01-17 Thread Will Deacon
On Tue, Jan 17, 2017 at 11:00:15AM +0100, Robert Richter wrote: > On 13.01.17 14:15:00, Robert Richter wrote: > > On 13.01.17 09:19:04, Will Deacon wrote: > > > On Thu, Jan 12, 2017 at 07:58:25PM +0100, Robert Richter wrote: > > > > On 12.01.17 16:05:36, Will Deacon wrote: > > > > > On Mon, Jan 09,

Re: [PATCH v3 2/2] hv_utils: implement Hyper-V PTP source

2017-01-17 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Vitaly Kuznetsov wrote: > Stephen Hemminger writes: > >> static int hv_timesync_init(struct hv_util_service *srv) > >> { > >>INIT_WORK(&wrk.work, hv_set_host_time); > >> + > >> + hv_ptp_clock = ptp_clock_register(&ptp_hyperv_info, NULL); > >> + if (IS_ERR_OR_NULL(hv_pt

Re: [virtio-dev] Re: [PATCH v6 kernel 2/5] virtio-balloon: define new feature bit and head struct

2017-01-17 Thread Michael S. Tsirkin
On Fri, Jan 13, 2017 at 09:24:22AM +, Li, Liang Z wrote: > > On Wed, Dec 21, 2016 at 02:52:25PM +0800, Liang Li wrote: > > > Add a new feature which supports sending the page information with > > > range array. The current implementation uses PFNs array, which is not > > > very efficient. Using

[PATCH v2 1/2] can: holt_hi311x: document device tree bindings

2017-01-17 Thread Akshay Bhat
Document the HOLT HI-311x CAN device tree bindings. Signed-off-by: Akshay Bhat Acked-by: Rob Herring --- v1 -> v2: - No changes .../devicetree/bindings/net/can/holt_hi311x.txt| 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/binding

[PATCH v2 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-01-17 Thread Akshay Bhat
This patch adds support for the Holt HI-311x CAN controller. The HI311x CAN controller is capable of transmitting and receiving standard data frames, extended data frames and remote frames. The HI311x interfaces with the host over SPI. Datasheet: www.holtic.com/documents/371-hi-3110_v-rev-jpdf.do

Re: [PATCH 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-01-17 Thread Akshay Bhat
Marc, On 01/03/2017 10:31 AM, Marc Kleine-Budde wrote: > On 11/14/2016 06:55 PM, Akshay Bhat wrote: >> This patch adds support for the Holt HI-311x CAN controller. The HI311x >> CAN controller is capable of transmitting and receiving standard data >> frames, extended data frames and remote frames.

Re: [PATCH v6 kernel 3/5] virtio-balloon: speed up inflate/deflate process

2017-01-17 Thread Michael S. Tsirkin
On Wed, Dec 21, 2016 at 02:52:26PM +0800, Liang Li wrote: > > - /* We should always be able to add one buffer to an empty queue. */ > - virtqueue_add_outbuf(vq, &sg, 1, vb, GFP_KERNEL); > - virtqueue_kick(vq); > +static void do_set_resp_bitmap(struct virtio_balloon *vb, > +

[PATCH v4 2/3] powerpc/reloc64: add support for 32-bit CRC pseudo-symbols

2017-01-17 Thread Ard Biesheuvel
In preparation of modifying the core modversions code to emit the CRCs as 32-bit quantities, ensure that 64-bit PowerPC will be able to deal with this when CONFIG_RELOCATABLE=y, in which case the CRCs will be emitted into the final ELF binary as R_PPC64_ADDR32 relocations. Since 32-bit relocations

[PATCH v4 3/3] modversions: treat symbol CRCs as 32 bit quantities on 64 bit archs

2017-01-17 Thread Ard Biesheuvel
The modversion symbol CRCs are emitted as ELF symbols, which allows us to easily populate the kcrctab sections by relying on the linker to associate each kcrctab slot with the correct value. This has a couple of downsides: - Given that the CRCs are treated as memory addresses, we waste 4 bytes f

[PATCH v4 0/3] modversions: Fix CRC mangling under CONFIG_RELOCATABLE=y

2017-01-17 Thread Ard Biesheuvel
This series is a followup to the single patch 'modversions: treat symbol CRCs as 32 bit quantities on 64 bit archs', of which three versions have been sent out so far [0][1][2] Given the recent issues regarding modversions, I have added some more people to cc this time. As pointed out by Michael,

[PATCH v4 1/3] powerpc/reloc32: fix corrupted modversion CRCs

2017-01-17 Thread Ard Biesheuvel
Commit 0e0ed6406e61 ("powerpc/modules: Module CRC relocation fix causes perf issues") fixed an issue with relocatable PIE kernels in a way that essentially reintroduced the issue again for 32-bit builds. Since the chosen approach does is not applicable to 32-bit, fix the issue by updating the runt

Re: [PATCH] gcc-plugins: Add structleak for more stack initialization

2017-01-17 Thread PaX Team
On 17 Jan 2017 at 18:07, Dave P Martin wrote: > On Tue, Jan 17, 2017 at 06:09:49PM +0100, PaX Team wrote: > > On 17 Jan 2017 at 10:42, Dave P Martin wrote: > > > > > This can be read with the interpretation you suggest, but the wording > > > doesn't seem rock-solid. For the kernel, I guess it's s

Re: [PATCH] tpm/tpm_i2c_infineon: ensure no ongoing commands on shutdown

2017-01-17 Thread Jason Gunthorpe
On Tue, Jan 17, 2017 at 09:58:27AM -0800, Andrey Pronin wrote: > > Yes, sorry, I should have mentioned that.. Maybe that is too much to > > fix.. > > If we fix sysfs to go through tpm_try_get_ops, then all we can do for > shutdown is indeed something like Maybe yes, I also had at one point a thou

Re: [PATCH RFC] ASoC: rt5663: use msleep() for uncritical delay

2017-01-17 Thread Mark Brown
On Wed, Jan 11, 2017 at 04:03:51PM +0100, Nicholas Mc Guire wrote: > The delay here does not seem to be critical with respect to longer > delays than 10ms as this delay is to ensure that the write took > effect before the next soc_update_bits/write call only, thus a > high resolution timer makes l

Re: [PATCH v4 4/4] sparc64: Add support for ADI (Application Data Integrity)

2017-01-17 Thread Khalid Aziz
On 01/16/2017 09:39 PM, David Miller wrote: From: Khalid Aziz Date: Wed, 11 Jan 2017 09:12:54 -0700 + __asm__ __volatile__( + ".word 0xa1438000\n\t"/* rd %mcdper, %l0 */ Just use "rd %%asr14, %0" this way you don't have to play all of these fixed

Re: [PATCH RFC] ASoC: rt5663: use msleep() for long delay loop

2017-01-17 Thread Mark Brown
On Wed, Jan 11, 2017 at 04:03:13PM +0100, Nicholas Mc Guire wrote: > As the overall delay is in range of seconds and the wait granularity > is 10ms msleep() seems more reasonable than to put load on the highres > timer subsystem. Thia also contains a whole bunch of other refactoring that's not men

Re: spi/ppc4xx: Adjust checks for null pointers in two functions

2017-01-17 Thread SF Markus Elfring
> You've got MIME headers in the middle of the patch description. The extra header fields were automatically added by the tool “git” because I dared to use an Unicode character in the commit message for this patch (and a few others). Would you like to change the mentioned implementation detail at

Re: [PATCH] gcc-plugins: Add structleak for more stack initialization

2017-01-17 Thread PaX Team
On 17 Jan 2017 at 17:48, Mark Rutland wrote: > That being the case, (and given the relevant bug has now been fixed), > it's not clear to me what the value of this is today. i.e. given the > general case, is this preventing many leaks? no idea, i stopped looking at the instrumentation log long ago

Re: spi/ppc4xx: Adjust checks for null pointers in two functions

2017-01-17 Thread Mark Brown
On Tue, Jan 17, 2017 at 08:28:12PM +0100, SF Markus Elfring wrote: > > You've got MIME headers in the middle of the patch description. > The extra header fields were automatically added by the tool “git” > because I dared to use an Unicode character in the commit message > for this patch (and a fe

Re: [PATCH v9 2/5] i2c: Add STM32F4 I2C driver

2017-01-17 Thread Uwe Kleine-König
Hello, On Tue, Jan 17, 2017 at 04:26:58PM +0100, M'boumba Cedric Madianga wrote: > +static void stm32f4_i2c_set_rise_time(struct stm32f4_i2c_dev *i2c_dev) > +{ > + u32 freq = DIV_ROUND_UP(i2c_dev->parent_rate, HZ_TO_MHZ); > + u32 trise; > + > + /* > + * These bits must be programm

[PATCH] arm64: dts: qcom: Replace PMU compatible with a53 specific one

2017-01-17 Thread Stephen Boyd
The PMU on msm8916 is for the cortex-a53 type CPU. Update the compatible to the more specific one so we can get the a53 specific events out of the PMU. Signed-off-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/a

Re: [PATCH v4 4/4] sparc64: Add support for ADI (Application Data Integrity)

2017-01-17 Thread David Miller
From: Khalid Aziz Date: Tue, 17 Jan 2017 12:32:46 -0700 > On 01/16/2017 09:39 PM, David Miller wrote: >> From: Khalid Aziz >> Date: Wed, 11 Jan 2017 09:12:54 -0700 >> >>> + __asm__ __volatile__( >>> + ".word 0xa1438000\n\t" /* rd %mcdper, %l0 */ >> >> Just use "rd %

Re: [PATCH V2 4/4] efi/x86: make efi_memmap_reserve only insert into boot mem areas

2017-01-17 Thread Nicolai Stange
On Tue, Jan 17 2017, Ard Biesheuvel wrote: > On 16 January 2017 at 02:45, Dave Young wrote: >> efi_mem_reserve cares only about boot services regions, for making sure >> later efi_free_boot_services does not free areas which are still useful, >> such as bgrt image buffer. >> >> So add a new argum

Re: [PATCH v2 2/3] mwifiex: pcie: don't loop/retry interrupt status checks

2017-01-17 Thread Brian Norris
On Sun, Jan 15, 2017 at 04:54:52PM -0800, Dmitry Torokhov wrote: > On Fri, Jan 13, 2017 at 03:35:37PM -0800, Brian Norris wrote: > > The following sequence occurs when using IEEE power-save on 8997: > > (a) driver sees SLEEP event > > (b) driver issues SLEEP CONFIRM > > (c) driver recevies CMD inte

Re: [PATCH] mfd: axp20x: Add AXP288 volatile registers.

2017-01-17 Thread Christian Mauderer
Am 17.01.2017 um 15:58 schrieb Lee Jones: > On Fri, 13 Jan 2017, Lee Jones wrote: > >> On Wed, 11 Jan 2017, Christian Mauderer wrote: >> >>> The axp288_fuelgauge driver and some other axp288_xxx are using a number >>> of the registers of the chip that are changed by hardware (for example >>> charg

Re: [PATCH 04/13] x86/microcode/AMD: Shorten function parameter's name

2017-01-17 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Borislav Petkov wrote: > From: Borislav Petkov > > The whole driver calls this "mc", do that here too. > > No functionality change. > > Signed-off-by: Borislav Petkov Reviewed-by: Thomas Gleixner

Re: [PATCH 2/2] pidns: Expose task pid_ns_for_children to userspace

2017-01-17 Thread Andrei Vagin
On Sat, Jan 14, 2017 at 05:15:04PM +0300, Kirill Tkhai wrote: > For correct checkpointing/restoring of a task from userspace > it's need to know the task's pid_ns_for_children. Currently, > there is no a sane way to do that (the only possible trick > is to force the task create a new child and to a

Re: [PATCH 11/13] MIPS: octeon: avoid empty-body warning

2017-01-17 Thread David Daney
On 01/17/2017 07:18 AM, Arnd Bergmann wrote: gcc-6 reports a harmless build warning: arch/mips/cavium-octeon/dma-octeon.c: In function 'octeon_dma_alloc_coherent': arch/mips/cavium-octeon/dma-octeon.c:179:3: error: suggest braces around empty body in an 'else' statement [-Werror=empty-body] We

Re: [PATCH 01/13] x86/microcode/intel: Drop stashed AP patch pointer optimization

2017-01-17 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Borislav Petkov wrote: > From: Borislav Petkov > > This was meant to save us the scanning of the microcode containter in > the initrd since the first AP had already done that but it can also hurt > us: > > Imagine a single hyperthreaded CPU (Intel(R) Atom(TM) CPU N270 for >

[PATCH net-next v2] bridge: multicast to unicast

2017-01-17 Thread Linus Lüssing
From: Felix Fietkau Implements an optional, per bridge port flag and feature to deliver multicast packets to any host on the according port via unicast individually. This is done by copying the packet per host and changing the multicast destination MAC to a unicast one accordingly. multicast-to-

[GIT PULL] modules fixes for 4.10-rc5

2017-01-17 Thread Jessica Yu
Linus, Please pull below to receive a small modules fix for v4.10-rc5. Summary and details in the tag. Thanks, Jessica --- The following changes since commit 0c744ea4f77d72b3dcebb7a8f2684633ec79be88: Linux 4.10-rc2 (2017-01-01 14:31:53 -0800) are available in the git repository at: git://

Re: i386 mm: Is the BUILD_BUG() macro broken?

2017-01-17 Thread Randy Dunlap
Please wrap long text lines around column 70 or so. Thanks. I'll take a shot at answering this. Maybe someone will correct me if I am mistaken. On 01/17/17 08:32, Delien, Robert wrote: > Hi, > > I am building Kernel 4.9.4 i386_defconfig and I notice a lot of > (unconditional) use of the macro

Re: [PATCH 1/4] phy: sun4i-usb: support PHY0 on H3 in MUSB mode

2017-01-17 Thread Maxime Ripard
On Wed, Jan 18, 2017 at 12:57:08AM +0800, Icenowy Zheng wrote: > > > 17.01.2017, 16:06, "Maxime Ripard" : > > On Tue, Jan 17, 2017 at 03:14:46AM +0800, Icenowy Zheng wrote: > >>  The PHY0 on H3 can be wired either to MUSB controller or OHCI/EHCI > >>  controller. > >> > >>  The original driver wi

Re: [PATCH v4 4/4] sparc64: Add support for ADI (Application Data Integrity)

2017-01-17 Thread Khalid Aziz
On 01/17/2017 12:42 PM, David Miller wrote: From: Khalid Aziz Date: Tue, 17 Jan 2017 12:32:46 -0700 On 01/16/2017 09:39 PM, David Miller wrote: From: Khalid Aziz Date: Wed, 11 Jan 2017 09:12:54 -0700 + __asm__ __volatile__( + ".word 0xa1438000\n\t"

RE: [PATCH 3/4] ARCv2: smp: MCIP: remove debug aid to halt all cores when one halts

2017-01-17 Thread Alexey Brodkin
Hi Vineet, > -Original Message- > From: Vineet Gupta > Sent: Monday, January 16, 2017 11:58 PM > To: linux-snps-...@lists.infradead.org; Alexey Brodkin > > Cc: linux-kernel@vger.kernel.org; Vineet Gupta > Subject: [PATCH 3/4] ARCv2: smp: MCIP: remove debug aid to halt all cores > when on

[GIT PULL] ARM: at91: drivers for 4.11

2017-01-17 Thread Alexandre Belloni
Arnd, Olof, This is a single fix for the atmel-ebi. The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: Linux 4.10-rc1 (2016-12-25 16:13:08 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git tags/at91-ab

Re: [PATCH] tpm/tpm_i2c_infineon: ensure no ongoing commands on shutdown

2017-01-17 Thread Andrey Pronin
On Tue, Jan 17, 2017 at 12:27:28PM -0700, Jason Gunthorpe wrote: > On Tue, Jan 17, 2017 at 09:58:27AM -0800, Andrey Pronin wrote: > > > Yes, sorry, I should have mentioned that.. Maybe that is too much to > > > fix.. > > > > If we fix sysfs to go through tpm_try_get_ops, then all we can do for > >

<    1   2   3   4   5   6   7   8   9   10   >