Re: compile error at sun6i_video

2019-02-05 Thread Sakari Ailus
Hi Morimoto-san, On Tue, Feb 05, 2019 at 03:38:29PM +0900, Kuninori Morimoto wrote: > > Hi MultiMedia ML > > I got below compile error at SH. > > ... > CC drivers/tty/tty_io.o > /opt/RB02197/home/morimoto/save/WORK/linux/drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c: > In funct

Re: [PATCH] MAINTAINERS: Add James Morse to the list of APEI reviewers

2019-02-05 Thread James Morse
Hi guys, On 05/02/2019 08:38, Borislav Petkov wrote: > From: Borislav Petkov > > Add James to the list of reviewers of the firmware-assisted RAS glue. Fine by me, Acked-by: James Morse Thanks, James

Re: [REGRESSION 4.20-rc1] 45975c7d21a1 ("rcu: Define RCU-sched API in terms of RCU for Tree RCU PREEMPT builds")

2019-02-05 Thread Aaro Koskinen
Hi, On Tue, Feb 05, 2019 at 01:07:00PM +0800, Tom Li wrote: > On Tue, Nov 13, 2018 at 03:54:53PM +0200, Ville Syrjälä wrote: > > Hi Paul, > > After 4.20-rc1 some of my 32bit UP machines no longer reboot/shutdown. > > I bisected this down to commit 45975c7d21a1 ("rcu: Define RCU-sched > > API in te

Re: [RFC PATCH] clk: sunxi-ng: sun4i: Use CLK_SET_RATE_PARENT for mmc2 clock

2019-02-05 Thread Maxime Ripard
On Sat, Feb 02, 2019 at 05:52:09PM +0200, Priit Laes wrote: > Recent patch of improving MP clock rate calculations by taking > into account whether adjusting parent rate is allowed, have > unfortunately broken eMMC support on A20 Olinuxino-Lime2-eMMC > boards which fail with following error: > > [

Re: [PATCH v2 06/20] x86/alternative: use temporary mm for text poking

2019-02-05 Thread Borislav Petkov
On Mon, Jan 28, 2019 at 04:34:08PM -0800, Rick Edgecombe wrote: > From: Nadav Amit > > text_poke() can potentially compromise the security as it sets temporary s/the // > PTEs in the fixmap. These PTEs might be used to rewrite the kernel code > from other cores accidentally or maliciously, if a

Re: [PATCH] xfs: allow disabling xfs tracepoints via Kconfig

2019-02-05 Thread Rasmus Villemoes
On 05/02/2019 00.13, Dave Chinner wrote: > On Mon, Feb 04, 2019 at 11:12:57PM +0100, Rasmus Villemoes wrote: >> On 04/02/2019 22.53, Dave Chinner wrote: >>> On Mon, Feb 04, 2019 at 10:20:35PM +0100, Rasmus Villemoes wrote: linux/tracepoints.h allows individual subsystems to disable their

Re: [PATCH] mtd: spi-nor: cadence-quadspi: write upto 8-bytes data in STIG mode

2019-02-05 Thread Vignesh R
On 05/02/19 12:30 PM, Mandal, Purna Chandra wrote: > > > On 04-Feb-19 7:07 PM, Vignesh R wrote: >> Hi, >> >> On 03/02/19 5:50 PM, tudor.amba...@microchip.com wrote: >>> + Vignesh >>> >> >> Thanks for looping in. >> >>> On 01/28/2019 07:02 AM, Purna Chandra Mandal wrote: cadence-quadspi co

Re: [PATCH v9 6/6] tpm: pass an array of tpm_extend_digest structures to tpm_pcr_extend()

2019-02-05 Thread Roberto Sassu
On 2/1/2019 8:15 PM, Mimi Zohar wrote: Hi Roberto, Sorry for the delayed review.  A few comments inline below, minor suggestions. diff --git a/security/integrity/ima/ima.h b/security/integrity/ima/ima.h index cc12f3449a72..e6b2dcb0846a 100644 --- a/security/integrity/ima/ima.h +++ b/security/i

Re: [PATCH v2] powerpc: drop page_is_ram() and walk_system_ram_range()

2019-02-05 Thread Michael Ellerman
Christophe Leroy writes: > Le 04/02/2019 à 11:24, Michael Ellerman a écrit : >> Christophe Leroy writes: >> >>> Since commit c40dd2f76644 ("powerpc: Add System RAM to /proc/iomem") >>> it is possible to use the generic walk_system_ram_range() and >>> the generic page_is_ram(). >>> >>> To enable

Re: [PATCH v7 12/15] KVM: s390: kvm_s390_gisa_clear() now clears the IPM only

2019-02-05 Thread Pierre Morel
On 31/01/2019 09:52, Michael Mueller wrote: Function kvm_s390_gisa_clear() now clears the Interruption Pending Mask of the GISA asap. If the GISA is in the alert list at this time it stays in the list but is removed by process_gib_alert_list(). Signed-off-by: Michael Mueller I would have wri

Re: [PATCH 01/22] x86/fpu: Remove fpu->initialized usage in __fpu__restore_sig()

2019-02-05 Thread Sebastian Andrzej Siewior
On 2019-01-14 17:24:00 [+0100], Borislav Petkov wrote: > > @@ -315,40 +313,33 @@ static int __fpu__restore_sig(void __user *buf, void > > __user *buf_fx, int size) … > > - sanitize_restored_xstate(tsk, &env, xfeatures, fx_only); > > + sanitize_restored_xstate(st

Re: [PATCH 1/5] perf/arm-cci: Fix CPU hotplug race avoidance

2019-02-05 Thread Corentin Labbe
On Mon, Feb 04, 2019 at 05:09:04PM +, Robin Murphy wrote: > The arm-cci probe logic faces a cyclic dependency wherein it has to pick > a valid CPU to associate with before registering the PMU device, has to > have the PMU state initialised before handling hotplug events in case it > must be mig

Re: [PATCH v3] selftests: add TPM 2.0 tests

2019-02-05 Thread Jarkko Sakkinen
On Tue, Feb 05, 2019 at 01:29:10AM +0200, Jarkko Sakkinen wrote: > On Mon, Feb 04, 2019 at 03:16:40PM +0200, Jarkko Sakkinen wrote: > > Added the tests that I've been using for testing TPM 2.0 functionality > > for a long time but have been out-of-tree so far, residing in > > > > https://github.co

Re: [PATCH v3] selftests: add TPM 2.0 tests

2019-02-05 Thread Jarkko Sakkinen
On Tue, Feb 05, 2019 at 12:13:22PM +0200, Jarkko Sakkinen wrote: > On Tue, Feb 05, 2019 at 01:29:10AM +0200, Jarkko Sakkinen wrote: > > On Mon, Feb 04, 2019 at 03:16:40PM +0200, Jarkko Sakkinen wrote: > > > Added the tests that I've been using for testing TPM 2.0 functionality > > > for a long time

Re: [PATCH 4.4 00/65] 4.4.173-stable review

2019-02-05 Thread Jon Hunter
On 04/02/2019 10:35, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.173 release. > There are 65 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH 2/2] Input: st1232 - switch to gpiod API

2019-02-05 Thread Martin Kepplinger
 Martin Kepplinger | Entwicklung Software  GINZINGER ELECTRONIC SYSTEMS GMBH Tel.: +43 7723 5422 157 Mail: martin.kepplin...@ginzinger.com Web: www.ginzinger.com On 29.01.19 11:23, Martin Kepplinger wrote: From: Martin Kepplinger Use devm_gpiod_get_optional() and gpiod_set_value_canslee

Re: [PATCH 4.14 00/46] 4.14.98-stable review

2019-02-05 Thread Jon Hunter
On 04/02/2019 10:36, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.98 release. > There are 46 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH 2/2] Input: add Apple SPI keyboard and trackpad driver.

2019-02-05 Thread Dan Carpenter
Hi Ronald, Thank you for the patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Ronald-Tschal-r/drm-bridge-sil_sii8620-depend-on-INPUT-instead-of-selecting-it/20190205-003319 base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next smatch

Re: linux-next: build warnings after merge of the staging tree

2019-02-05 Thread Jonathan Cameron
On Tue, 5 Feb 2019 14:22:17 +1100 Stephen Rothwell wrote: > Hi Greg, > > After merging the staging tree, today's linux-next build (x86_64 > allmodconfig) produced these warnings: > > drivers/iio/chemical/sps30.c: In function 'sps30_read_raw': > drivers/iio/chemical/sps30.c:289:4: warning: this

linux-kernel@vger.kernel.org

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This improves readability by removing all the &pdev->dev dereferencing. Signed-off-by: Bartosz Golaszewski --- drivers/usb/host/ohci-da8xx.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/

[PATCH 8/8] usb: ohci-da8xx: remove unused callbacks from platform data

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are no more users of these callbacks. Signed-off-by: Bartosz Golaszewski --- include/linux/platform_data/usb-davinci.h | 14 -- 1 file changed, 14 deletions(-) diff --git a/include/linux/platform_data/usb-davinci.h b/include/linux/platform_data/usb

[PATCH 6/8] ARM: davinci: omapl138-hawk: remove legacy usb helpers

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The logic implemented by these routines now lives in the da8xx-ohci driver. Remove dead code. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-omapl138-hawk.c | 75 + 1 file changed, 1 insertion(+), 74 deletions(-) diff --git a/a

[PATCH 0/8] ARM: davinci: move the da8xx-ohci GPIO logic into the driver

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski In order to drop the hard-coded GPIO base values from the davinci GPIO driver's platform data, we first need to get rid of all calls to the legacy GPIO functions. This series moves the GPIO logic related to da8xx-ohci out of the board files and into the driver code. Fi

[PATCH 4/8] ARM: davinci: da830-evm: use gpio lookup entries for usb gpios

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add lookup entries for vbus and overcurrent gpios for da830-evm. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-da830-evm.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-davinci/board-da830-evm.c b/arch/arm/mach-dav

[PATCH 3/8] ARM: davinci: omapl138-hawk: use gpio lookup entries for usb gpios

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add lookup entries for the vbus and overcurrent gpios for omapl138-hawk. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-omapl138-hawk.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-davinci/board-omapl138-hawk.c b/a

[PATCH 7/8] ARM: davinci: da830-evm: remove legacy usb helpers

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The logic implemented by these routines now lives in the da8xx-ohci driver. Remove dead code. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-da830-evm.c | 67 - 1 file changed, 67 deletions(-) diff --git a/arch/arm/mach-dav

[PATCH 5/8] usb: ohci-da8xx: add vbus and overcurrent gpios

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are two users upstream which register external callbacks for switching the port power on/off and overcurrent protection. Both users only use two GPIOs for that. Instead of having that functionality in the board files, move the logic into the OHCI driver - including

[PATCH 1/8] usb: ohci-da8xx: add a new line after local variables

2019-02-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This improves the coding style. Signed-off-by: Bartosz Golaszewski --- drivers/usb/host/ohci-da8xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/host/ohci-da8xx.c index a55cbba40a5a..c492c7e6f746 100644 --- a/drivers

Re: [PATCH] powerpc/prom_init: add __init markers to all functions

2019-02-05 Thread Michael Ellerman
Masahiro Yamada writes: > It is fragile to rely on the compiler's optimization to avoid the > section mismatch. Some functions may not be necessarily inlined > when the compiler's inlining heuristic changes. > > Add __init markers consistently. > > As for prom_getprop() and prom_getproplen(), the

Re: [PATCH v2 1/3] firmware: xilinx: Add zynqmp_pm_get_chipid() API

2019-02-05 Thread Michal Simek
Hi, On 03. 02. 19 9:50, Srinivas Kandagatla wrote: > Hi Kishore, > > I need ack for this patch from Michal Simek to take this via nvmem tree. not sure if my reaction went through. Just for a record. There is high chance that there is collision in firmware interface. It means if you can ack/revie

Re: [PATCH v2 1/3] firmware: xilinx: Add zynqmp_pm_get_chipid() API

2019-02-05 Thread Srinivas Kandagatla
On 05/02/2019 10:29, Michal Simek wrote: Hi, On 03. 02. 19 9:50, Srinivas Kandagatla wrote: Hi Kishore, I need ack for this patch from Michal Simek to take this via nvmem tree. not sure if my reaction went through. Just for a record. There is high chance that there is collision in firmwar

[PATCH v3] arm64: dts: sdm845: Add Q6V5 ADSP node

2019-02-05 Thread Rohit kumar
This patch adds Q6V5 ADSP pil remoteproc node for SDM845 SoC. Signed-off-by: Rohit kumar --- Changes since v2: Updated reg property values from <0x1730 0x410> to <0 0x1730 0 0x410> This depends on below upstream patches: Add adsp_mem dt node: https://lkml.org/lkml/2019/1/29/1392 Remove l

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-02-05 Thread Hans Verkuil
On 2/5/19 10:31 AM, Tomasz Figa wrote: > On Tue, Feb 5, 2019 at 6:00 PM Hans Verkuil wrote: >> >> On 2/5/19 7:26 AM, Tomasz Figa wrote: >>> On Fri, Feb 1, 2019 at 12:18 AM Nicolas Dufresne >>> wrote: Le jeudi 31 janvier 2019 à 22:34 +0900, Tomasz Figa a écrit : > On Thu, Jan 31, 20

[PATCH] regulator: as3722: Correct minor typo

2019-02-05 Thread Charles Keepax
A comma has been accidentally used where a semi-colon was clearly intended, correct this typo. Signed-off-by: Charles Keepax --- drivers/regulator/as3722-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/as3722-regulator.c b/drivers/regulator/as37

Re: [PATCH v2 1/3] firmware: xilinx: Add zynqmp_pm_get_chipid() API

2019-02-05 Thread Michal Simek
On 05. 02. 19 11:33, Srinivas Kandagatla wrote: > > > On 05/02/2019 10:29, Michal Simek wrote: >> Hi, >> >> On 03. 02. 19 9:50, Srinivas Kandagatla wrote: >>> Hi Kishore, >>> >>> I need ack for this patch from Michal Simek to take this via nvmem tree. >> >> not sure if my reaction went through. J

Re: [PATCH v2 04/14] irqchip: pruss: Add a PRUSS irqchip driver for PRUSS interrupts

2019-02-05 Thread Roger Quadros
On 04/02/19 20:15, Tony Lindgren wrote: > * Roger Quadros [190204 14:23]: >> From: "Andrew F. Davis" >> >> The Programmable Real-Time Unit Subsystem (PRUSS) contains an >> interrupt controller (INTC) that can handle various system input >> events and post interrupts back to the device-level initi

Re: [PATCH] tpm/tpm_crb: Avoid unaligned reads in crb_recv():

2019-02-05 Thread Jarkko Sakkinen
On Mon, Feb 04, 2019 at 12:17:43PM +, David Laight wrote: > From: Jarkko Sakkinen > > Sent: 01 February 2019 11:20 > > The current approach to read first 6 bytes from the response and then tail > > of the response, can cause the 2nd memcpy_fromio() to do an unaligned read > > (e.g. read 32-bit

Kernel 4.9: strange behavior with fifo scheduler

2019-02-05 Thread Frédéric Mathieu
Hi, on an X86_64 architecture (Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz), I use the linux kernel 4.9.146 with patch rt 125. uname –a: Linux 4.9.146-rt125 #1 SMP PREEMPT RT Tue Jan 29 14:17:55 CET 2019 x86_64 GNU/Linux I observed a strange behavior of the scheduler when several tasks are executed

Re: [PATCH] tpm/tpm_crb: Avoid unaligned reads in crb_recv():

2019-02-05 Thread Jarkko Sakkinen
On Tue, Feb 05, 2019 at 12:44:06PM +0200, Jarkko Sakkinen wrote: > On Mon, Feb 04, 2019 at 12:17:43PM +, David Laight wrote: > > From: Jarkko Sakkinen > > > Sent: 01 February 2019 11:20 > > > The current approach to read first 6 bytes from the response and then tail > > > of the response, can c

Re: [PATCH 1/2] component: Add documentation

2019-02-05 Thread Rafael J. Wysocki
w/compOn Thu, Jan 31, 2019 at 3:46 PM Daniel Vetter wrote: > > Someone owes me a beer ... > > While typing these I think doing an s/component_master/aggregate/ > would be useful: > - it's shorter :-) > - I think component/aggregate is much more meaningful naming than > component/puppetmaster or

Re: [PATCH] tpm/tpm_crb: Avoid unaligned reads in crb_recv():

2019-02-05 Thread Jarkko Sakkinen
On Tue, Feb 05, 2019 at 12:47:47PM +0200, Jarkko Sakkinen wrote: > On Tue, Feb 05, 2019 at 12:44:06PM +0200, Jarkko Sakkinen wrote: > > On Mon, Feb 04, 2019 at 12:17:43PM +, David Laight wrote: > > > From: Jarkko Sakkinen > > > > Sent: 01 February 2019 11:20 > > > > The current approach to read

Re: [PATCH] sysfs: remove unused include of kernfs-internal.h

2019-02-05 Thread Rafael J. Wysocki
On Mon, Feb 4, 2019 at 3:08 PM Ondrej Mosnacek wrote: > > This include is not needed (fs/sysfs/file.c builds just fine without > it). Remove it. > > Cc: Tejun Heo > Signed-off-by: Ondrej Mosnacek Reviewed-by: Rafael J. Wysocki > --- > fs/sysfs/file.c | 1 - > 1 file changed, 1 deletion(-) >

[PATCH v3] tpm/tpm_crb: Avoid unaligned reads in crb_recv()

2019-02-05 Thread Jarkko Sakkinen
The current approach to read first 6 bytes from the response and then tail of the response, can cause the 2nd memcpy_fromio() to do an unaligned read (e.g. read 32-bit word from address aligned to a 16-bits), depending on how memcpy_fromio() is implemented. If this happens, the read will fail and t

[PATCH] tools/power/cpupower: Display boost frequency separately

2019-02-05 Thread Abhishek Goel
cpufreq driver creates sysfs file "scaling_boost_frequency" for platforms which support boost frequency. Cpupower now prints boost frequencies separately. For few x86 vendors who already have different way to get boost frequency, will continue to use the existing logic. Rest of the platforms will r

[PATCH] staging: sm750fb: Rename setDisplayControl to set_display_control - style

2019-02-05 Thread Jin Chen
Fix checkpatch.pl warning: CHECK: Avoid CamelCase: Signed-off-by: Jin Chen --- drivers/staging/sm750fb/ddk750_display.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_display.c b/drivers/staging/sm750fb/ddk750_display.c index 1273e7

Re: [PATCH v2 1/2] dt-bindings: Add Qualcomm USB Super-Speed PHY bindings

2019-02-05 Thread Jorge Ramirez
On 1/30/19 21:02, Rob Herring wrote: > On Tue, Jan 29, 2019 at 12:35:14PM +0100, Jorge Ramirez-Ortiz wrote: >> Binding description for Qualcomm's Synopsys 1.0.0 super-speed PHY >> controller embedded in QCS404. >> >> Based on Sriharsha Allenki's original >> definitions. >> >> Signed-off-by: Jorge

[PATCH 3/3] dmaengine: at_xdmac: only monitor overflow errors for peripheral xfer

2019-02-05 Thread Nicolas Ferre
The overflow error flag (ROI: Request Overflow Error) is only relevant for the case when the channel handles a peripheral synchronized transfer. Not in the case of memory to memory transfer where there is no hardware request signal. Remove the use of this interrupt source in such a case. It's base

Re: [PATCH v2 04/14] irqchip: pruss: Add a PRUSS irqchip driver for PRUSS interrupts

2019-02-05 Thread Marc Zyngier
On Tue, 05 Feb 2019 10:35:44 +, Roger Quadros wrote: > > On 04/02/19 20:15, Tony Lindgren wrote: > > * Roger Quadros [190204 14:23]: > >> From: "Andrew F. Davis" > >> > >> The Programmable Real-Time Unit Subsystem (PRUSS) contains an > >> interrupt controller (INTC) that can handle various

[PATCH 2/3] dmaengine: at_xdmac: enhance channel errors handling in tasklet

2019-02-05 Thread Nicolas Ferre
Complement the identification of errors with stoping the channel and dumping the descriptor that led to the error case. Signed-off-by: Nicolas Ferre --- drivers/dma/at_xdmac.c | 43 -- 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/drivers/

[PATCH 1/3] dmaengine: at_xdmac: remove BUG_ON macro in tasklet

2019-02-05 Thread Nicolas Ferre
Even if this case shouldn't happen when controller is properly programmed, it's still better to avoid dumping a kernel Oops for this. As the sequence may happen only for debugging purposes, log the error and just finish the tasklet call. Signed-off-by: Nicolas Ferre --- drivers/dma/at_xdmac.c |

[PATCH] dma-direct: Export dma_direct_alloc() and dma_direct_free()

2019-02-05 Thread Thierry Reding
From: Thierry Reding Drivers that are built as modules may want to use these functions, so make them available like the rest of the functions. Signed-off-by: Thierry Reding --- kernel/dma/direct.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/dma/direct.c b/kernel/dma/direct.c i

[PATCH v3 2/3] dt-bindings: nvmem: Add bindings for ZynqMP nvmem driver

2019-02-05 Thread Nava kishore Manne
Add documentation to describe Xilinx ZynqMP nvmem driver bindings. Signed-off-by: Nava kishore Manne Reviewed-by: Rob Herring --- .../bindings/nvmem/xlnx,zynqmp-nvmem.txt | 47 +++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem

[PATCH v3 0/3] Add nvmem driver support for ZynqMP

2019-02-05 Thread Nava kishore Manne
Nava kishore Manne (3): firmware: xilinx: Add zynqmp_pm_get_chipid() API dt-bindings: nvmem: Add bindings for ZynqMP nvmem driver nvmem: zynqmp: Added zynqmp nvmem firmware driver .../bindings/nvmem/xlnx,zynqmp-nvmem.txt | 47 ++ drivers/firmware/xilinx/zynqmp.c |

[PATCH net-next v3] net: dsa: mv88e6xxx: Prevent suspend to RAM

2019-02-05 Thread Miquel Raynal
On one hand, the mv88e6xxx driver has a work queue called in loop which will attempt register accesses after MDIO bus suspension, that entirely freezes the platform during suspend. On the other hand, the DSA core is not ready yet to support suspend to RAM operation because so far there is no way t

[PATCH v3 3/3] nvmem: zynqmp: Added zynqmp nvmem firmware driver

2019-02-05 Thread Nava kishore Manne
This patch adds zynqmp nvmem firmware driver to access the SoC revision information from the hardware register. Signed-off-by: Nava kishore Manne --- Changes for v3: -Removed irrelevant changes from Kconfig and Make files. Changes for v2: -None. Ch

RE: [PATCH v3] tpm/tpm_crb: Avoid unaligned reads in crb_recv()

2019-02-05 Thread Winkler, Tomas
> The current approach to read first 6 bytes from the response and then tail of > the response, can cause the 2nd memcpy_fromio() to do an unaligned read > (e.g. read 32-bit word from address aligned to a 16-bits), depending on how > memcpy_fromio() is implemented. If this happens, the read will fa

[PATCH v3 1/3] firmware: xilinx: Add zynqmp_pm_get_chipid() API

2019-02-05 Thread Nava kishore Manne
This patch adds a new API to provide access to the hardware related data like soc revision, IDCODE... etc. Signed-off-by: Nava kishore Manne --- Changes for v3: -None. Changes for v2: -None. Changes for v1: -None. Changes for RFC-V3:

Re: [PATCH] MAINTAINERS: Add James Morse to the list of APEI reviewers

2019-02-05 Thread Rafael J. Wysocki
On Tuesday, February 5, 2019 9:38:36 AM CET Borislav Petkov wrote: > From: Borislav Petkov > > Add James to the list of reviewers of the firmware-assisted RAS glue. > > Signed-off-by: Borislav Petkov > Cc: James Morse > Cc: "Rafael J. Wysocki" > Cc: Tony Luck > --- > MAINTAINERS | 1 + > 1

Re: [PATCH v3 5/5] Revert "scsi: ufs: disable vccq if it's not needed by UFS device"

2019-02-05 Thread Alim Akhtar
Hi Bjorn, On 05/02/19 11:57 AM, Bjorn Andersson wrote: > On Mon 04 Feb 20:58 PST 2019, Alim Akhtar wrote: > >> Hi Marc, >> >> On 04/02/19 11:12 PM, Marc Gonzalez wrote: >>> This reverts commit 60f0187031c05e04cbadffb62f557d0ff3564490. >>> >>> Calling ufshcd_set_vccq_rail_unused hangs my system. >

[PATCH] ARM: tegra: enforce PM requirement

2019-02-05 Thread Sameer Pujar
Drivers need to handle !PM case with work arounds for managing clocks and power explicitly, which is not really necessary when PM support on tegra is in good shape. In fact ARM 64-bit tegra platforms enforce PM support and there is no reason why this cannot be done for 32-bit. This patch selects P

Re: [PATCH 05/22] x86/fpu: Remove fpu->initialized usage in copy_fpstate_to_sigframe()

2019-02-05 Thread Sebastian Andrzej Siewior
On 2019-01-21 12:21:17 [+0100], Oleg Nesterov wrote: > > This is part of our ABI for *sure*. Inspecting that state is how > > userspace makes sense of MPX or protection keys faults. We even use > > this in selftests/. > > Yes. > > And in any case I do not understand the idea to use the second i

Re: [PATCH 1/5] perf/arm-cci: Fix CPU hotplug race avoidance

2019-02-05 Thread Suzuki K Poulose
Robin, On 04/02/2019 17:09, Robin Murphy wrote: The arm-cci probe logic faces a cyclic dependency wherein it has to pick a valid CPU to associate with before registering the PMU device, has to have the PMU state initialised before handling hotplug events in case it must be migrated, but has to h

Re: [PATCH v6 4/5] sched/core: Prevent race condition between cpuset and __sched_setscheduler()

2019-02-05 Thread Peter Zijlstra
On Tue, Feb 05, 2019 at 10:51:43AM +0100, Juri Lelli wrote: > On 04/02/19 13:10, Peter Zijlstra wrote: > > On Thu, Jan 17, 2019 at 09:47:38AM +0100, Juri Lelli wrote: > > > No synchronisation mechanism exists between the cpuset subsystem and calls > > > to function __sched_setscheduler(). As such,

Re: [PATCH] signal: always allocate siginfo for SI_TKILL

2019-02-05 Thread Christian Brauner
On Mon, Feb 04, 2019 at 08:41:15PM -0600, Eric W. Biederman wrote: > Kees Cook writes: > > > On Sun, Feb 3, 2019 at 12:39 AM Christian Brauner > > wrote: > >> > >> On Sat, Feb 02, 2019 at 09:49:38PM -1000, Jack Andersen wrote: > >> > The patch titled > >> > `signal: Never allocate siginfo for S

Re: [PATCH v3 1/3] arm64: dts: exynos: add SlimSSS for Exynos5433

2019-02-05 Thread Krzysztof Kozlowski
On Thu, 24 Jan 2019 at 16:45, Kamil Konieczny wrote: > > Add DT node for SlimSSS (aka Slim SecuritySubSystem) in Exynos5433 SoC. > The users can use compatibility "samsung,exynos5433-slim-sss". > > Signed-off-by: Kamil Konieczny > --- > arch/arm64/boot/dts/exynos/exynos5433.dtsi | 9 + >

Re: [PATCH 1/4] powerpc/64s: Clear on-stack exception marker upon exception return

2019-02-05 Thread Michael Ellerman
Balbir Singh writes: > On Sat, Feb 2, 2019 at 12:14 PM Balbir Singh wrote: >> >> On Tue, Jan 22, 2019 at 10:57:21AM -0500, Joe Lawrence wrote: >> > From: Nicolai Stange >> > >> > The ppc64 specific implementation of the reliable stacktracer, >> > save_stack_trace_tsk_reliable(), bails out and re

Re: [PATCH] hugetlb: allow to free gigantic pages regardless of the configuration

2019-02-05 Thread Michael Ellerman
Alexandre Ghiti writes: > From: Alexandre Ghiti > > On systems without CMA or (MEMORY_ISOLATION && COMPACTION) activated but > that support gigantic pages, boottime reserved gigantic pages can not be > freed at all. This patchs simply enables the possibility to hand back > those pages to memory

Re: [PATCH v3 3/3] nvmem: zynqmp: Added zynqmp nvmem firmware driver

2019-02-05 Thread Srinivas Kandagatla
On 06/02/2019 11:07, Nava kishore Manne wrote: This patch adds zynqmp nvmem firmware driver to access the SoC revision information from the hardware register. Signed-off-by: Nava kishore Manne Patch itself looks good to me! Due to dependency on the "[PATCH v3 1/3] firmware: xilinx: Add z

Re: [PATCH v3 2/3] dt-bindings: nvmem: Add bindings for ZynqMP nvmem driver

2019-02-05 Thread Srinivas Kandagatla
On 06/02/2019 11:07, Nava kishore Manne wrote: Add documentation to describe Xilinx ZynqMP nvmem driver bindings. Signed-off-by: Nava kishore Manne Reviewed-by: Rob Herring Acked-by: Srinivas Kandagatla

Re: [PATCH v2 0/9] driver core: Fix some device links issues and add "consumer autoprobe" flag

2019-02-05 Thread Rafael J. Wysocki
On Tuesday, February 5, 2019 9:15:49 AM CET Ulf Hansson wrote: > On Mon, 4 Feb 2019 at 12:45, Rafael J. Wysocki wrote: > > > > On Mon, Feb 4, 2019 at 12:40 PM Rafael J. Wysocki wrote: > > > > > > On Fri, Feb 1, 2019 at 4:18 PM Ulf Hansson wrote: > > > > > > > > On Fri, 1 Feb 2019 at 02:04, Rafae

Re: [PATCH v2 06/20] x86/alternative: use temporary mm for text poking

2019-02-05 Thread Peter Zijlstra
On Tue, Feb 05, 2019 at 10:58:53AM +0100, Borislav Petkov wrote: > > @@ -683,41 +684,102 @@ __ro_after_init unsigned long poking_addr; > > > > static void *__text_poke(void *addr, const void *opcode, size_t len) > > { > > + bool cross_page_boundary = offset_in_page(addr) + len > PAGE_SIZE; >

Re: [PATCH 01/14] perf tools: Make rm_rf to remove single file

2019-02-05 Thread Alexey Budankov
On 03.02.2019 18:30, Jiri Olsa wrote: > Let rm_rf remove file if it's provided by path. > > Link: http://lkml.kernel.org/n/tip-whhp3ej5795l9dc86xfyy...@git.kernel.org > Signed-off-by: Jiri Olsa > --- > tools/perf/util/util.c | 10 -- > 1 file changed, 8 insertions(+), 2 deletions(-) >

Re: [PATCH 05/22] x86/fpu: Remove fpu->initialized usage in copy_fpstate_to_sigframe()

2019-02-05 Thread Sebastian Andrzej Siewior
On 2019-01-22 18:00:23 [+0100], Borislav Petkov wrote: > On Tue, Jan 22, 2019 at 05:15:51PM +0100, Oleg Nesterov wrote: > > I don't know... tried to google, found nothing. > > > > the comment in /usr/include/sys/ucontext.h mentions SysV/i386 ABI + > > historical > > reasons, this didn't help. >

Re: [PATCH v2] ALSA: hda/tegra: enable clock during probe

2019-02-05 Thread Rafael J. Wysocki
On Monday, February 4, 2019 11:04:50 AM CET Jon Hunter wrote: > > On 04/02/2019 08:16, Sameer Pujar wrote: > > ... > > > Objective is to have things working with or without CONFIG_PM enabled. > > From previous comments and discussions it appears that there is mixed > > response > > for calling h

Re: [PATCH 3/5] perf/arm-ccn: Fix CPU hotplug race avoidance

2019-02-05 Thread Suzuki K Poulose
On 04/02/2019 17:09, Robin Murphy wrote: Like arm-cci, arm-ccn has the same issue where disabling preemption to avoid races between registering the PMU device and the hotplug notifier can lead to those operations taking mutexes in an invalid context. Fix it the same way by disabling hotplug in

Re: [PATCH 4.9 00/30] 4.9.155-stable review

2019-02-05 Thread Jon Hunter
On 04/02/2019 10:36, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.155 release. > There are 30 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH v7 13/15] KVM: s390: add gib_alert_irq_handler()

2019-02-05 Thread Pierre Morel
On 31/01/2019 09:52, Michael Mueller wrote: The patch implements a handler for GIB alert interruptions on the host. Its task is to alert guests that interrupts are pending for them. A GIB alert interrupt statistic counter is added as well: $ cat /proc/interrupts CPU0 CPU1 ..

Re: [PATCH 5/5] perf/arm_dsu: Fix CPU hotplug races

2019-02-05 Thread Suzuki K Poulose
On 04/02/2019 17:09, Robin Murphy wrote: Like other system PMUs which associate themselves with an arbitrary CPU for housekeeping purposes, arm_dsu has a race between registering the hotplug notifier and registering the PMU device, such that the hotplug niotifier can potentially fire and attem

Re: [PATCH 2/2] arc: hsdk_defconfig: enable CONFIG_ARC_UBOOT_SUPPORT

2019-02-05 Thread Eugeniy Paltsev
Hi Corentin, In case of devboards (like HSDK) we really often disable bootloader and load Linux image in memory via JTAG. Enabling CONFIG_ARC_UBOOT_SUPPORT by default will break it as we will try to interpret some junk in a registers as a pointers to bootargs/etc which aren't set by anyone in case

Re: [PATCH 2/2] Input: add Apple SPI keyboard and trackpad driver.

2019-02-05 Thread Andy Shevchenko
On Mon, Feb 04, 2019 at 12:19:47AM -0800, Ronald Tschalär wrote: > The keyboard and trackpad on recent MacBook's (since 8,1) and > MacBookPro's (13,* and 14,*) are attached to an SPI controller instead > of USB, as previously. The higher level protocol is not publicly > documented and hence has bee

VERY VERY URGENT,

2019-02-05 Thread Mr. Abderazack Zebdani
FROM MR.ABDERAZACK ZEBDANI AUDIT& ACCOUNT MANAGER BANK OF AFRICA (B.O.A) OUAGADOUGOU BURKINA FASO WEST AFRICA. Dear Friend, With due respect, I have decided to contact you on a businesstransaction that will be beneficial to both of us. At the bank last account and auditing evaluation, my staffs c

Re: [PATCH V7 1/5] x86/cpufeature: Add facility to check for min microcode revisions

2019-02-05 Thread Peter Zijlstra
On Mon, Feb 04, 2019 at 02:23:29PM -0800, kan.li...@linux.intel.com wrote: > extern const struct x86_cpu_id *x86_match_cpu(const struct x86_cpu_id > *match); > > +/* > + * Match specific microcode revisions. > + * > + * vendor/family/model/stepping must be all set. > + * > + * only checks again

Re: [PATCH] hugetlb: allow to free gigantic pages regardless of the configuration

2019-02-05 Thread Alex Ghiti
On 2/5/19 6:23 AM, Michael Ellerman wrote: Alexandre Ghiti writes: From: Alexandre Ghiti On systems without CMA or (MEMORY_ISOLATION && COMPACTION) activated but that support gigantic pages, boottime reserved gigantic pages can not be freed at all. This patchs simply enables the possibility

My Dear Friend,

2019-02-05 Thread Mrs. Tuna Shamma
My Dear Friend, Am Mrs. Tuna Shamma; I work in one of the prime bank here. i want the bank to transfer the money left by most of the greedy African Politicians into your account, they used our bank to launder money overseas through the help of their Political advisers. Mo

Re: [PATCH v6 4/5] sched/core: Prevent race condition between cpuset and __sched_setscheduler()

2019-02-05 Thread Juri Lelli
On 05/02/19 12:20, Peter Zijlstra wrote: > On Tue, Feb 05, 2019 at 10:51:43AM +0100, Juri Lelli wrote: > > On 04/02/19 13:10, Peter Zijlstra wrote: > > > On Thu, Jan 17, 2019 at 09:47:38AM +0100, Juri Lelli wrote: > > > > No synchronisation mechanism exists between the cpuset subsystem and > > > >

[PATCH RESEND] eventfd: prepare id to userspace via fdinfo

2019-02-05 Thread Masatake YAMATO
Finding endpoints of an IPC channel is one of essential task to understand how a user program works. Procfs and netlink socket provide enough hints to find endpoints for IPC channels like pipes, unix sockets, and pseudo terminals. However, there is no simple way to find endpoints for an eventfd fil

Re: [PATCH 06/14] perf data: Add perf_data__(create_dir|free_dir) functions

2019-02-05 Thread Alexey Budankov
On 03.02.2019 18:30, Jiri Olsa wrote: > Adding perf_data__create_dir to create nr files inside > struct perf_data path directory: > int perf_data__create_dir(struct perf_data *data, int nr); > > and function to free that data: > void perf_data__free_dir(struct perf_data *data); > > Link: ht

Re: [PATCH v2] ALSA: hda/tegra: enable clock during probe

2019-02-05 Thread Rafael J. Wysocki
On Monday, February 4, 2019 12:05:10 PM CET Thierry Reding wrote: > > --FCuugMFkClbJLl1L > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Mon, Feb 04, 2019 at 09:53:32AM +, Jon Hunter wrote: > >=20 > >=20 > > On 04

Re: [PATCH] PM / suspend: measure the time of filesystem syncing

2019-02-05 Thread Rafael J. Wysocki
On Sunday, February 3, 2019 6:20:07 AM CET Harry Pan wrote: > This patch gives the reader an intuitive metric of the time cost by > the kernel issuing a filesystem sync during suspend; although developer > can guess by the timestamp of next log or enable the ftrace power event > for manual calculat

RE: [PATCH 0/5] sched refcount_t conversions

2019-02-05 Thread Reshetova, Elena
> On Fri, Jan 18, 2019 at 02:27:25PM +0200, Elena Reshetova wrote: > > Elena Reshetova (5): > > sched: convert sighand_struct.count to refcount_t > > sched: convert signal_struct.sigcnt to refcount_t > > These should really be seen by Oleg (bounced) and I'll await his reply. > > > sched: co

Re: msm8998: Hacking the USB3 controller (force controller to host/source mode)

2019-02-05 Thread Marc Gonzalez
On 01/02/2019 15:40, Marc Gonzalez wrote: > Still no cookie. Perhaps VBUS needs to be kicked in the nads... > Boot log at https://pastebin.ubuntu.com/p/3fqgQkRmyF/ Wait a second... It actually works! usb 1-1: new high-speed USB device number 2 using xhci-hcd usb 1-1: New USB device found, idVend

Re: [PATCH v15] i2c: Add drivers for the AMD PCIe MP2 I2C controller

2019-02-05 Thread Wolfram Sang
Hi, thanks for keeping at this driver! And sorry for the long delay, but large drivers take time. I also have to admit that I am very unfamiliar with PCI devices. Here is what my code checkers say. Please check those: SPARSE drivers/i2c/busses/i2c-amd-mp2.h:86:43: error: dubious one-bit sign

Re: [PATCH] cpufreq: intel_pstate: Rework iowait boosting to be less aggressive

2019-02-05 Thread Rafael J. Wysocki
On Friday, February 1, 2019 5:54:37 PM CET Doug Smythies wrote: > On 2019.01.30 16:05 Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > The current iowait boosting mechanism in intel_pstate_update_util() > > is quite aggressive, as it goes to the maximum P-state right away, > > and m

RE: [PATCH v4 3/3] scsi: ufs-bsg: Allow reading descriptors

2019-02-05 Thread Avri Altman
Martin, Any further comments? Thanks, Avri > -Original Message- > From: Evan Green > Sent: Monday, January 28, 2019 8:42 PM > To: Avri Altman > Cc: James E.J. Bottomley ; Martin K. Petersen > ; SCSI ; LKML > ; Avi Shchislowski ; > Alex Lemberg > Subject: Re: [PATCH v4 3/3] scsi: ufs-b

Re: [PATCH v2] i2c: bcm2835: Clear current buffer pointers and counts after a transfer

2019-02-05 Thread Wolfram Sang
On Thu, Dec 27, 2018 at 04:42:25PM +0100, Paul Kocialkowski wrote: > The driver's interrupt handler checks whether a message is currently > being handled with the curr_msg pointer. When it is NULL, the interrupt > is considered to be unexpected. Similarly, the i2c_start_transfer > routine checks fo

Re: mm: race in put_and_wait_on_page_locked()

2019-02-05 Thread Artem Savkov
On Mon, Feb 04, 2019 at 12:42:50PM -0800, Hugh Dickins wrote: > On Mon, 4 Feb 2019, Artem Savkov wrote: > > > Hi Hugh, > > > > Your recent patch 9a1ea439b16b "mm: put_and_wait_on_page_locked() while > > page is migrated" seems to have introduced a race into page migration > > process. I have a ho

Re: [PATCHv5 03/10] acpi/hmat: Parse and report heterogeneous memory

2019-02-05 Thread Rafael J. Wysocki
On Fri, Jan 25, 2019 at 12:08 AM Keith Busch wrote: > > Systems may provide different memory types and export this information > in the ACPI Heterogeneous Memory Attribute Table (HMAT). Parse these > tables provided by the platform and report the memory access and caching > attributes to the kerne

Re: [PATCH] i2c: core-smbus: don't trace smbus_reply data on errors

2019-02-05 Thread Wolfram Sang
On Thu, Jan 03, 2019 at 09:49:27PM -0500, Steven Rostedt wrote: > On Thu, 3 Jan 2019 16:42:03 -0800 > John Sperbeck wrote: > > > If an smbus transfer fails, there's no guarantee that the output > > buffer was written. So, avoid copying from the output buffer when > > tracing after an error. Th

[PATCH] MAINTAINERS: Add James Morse to the list of APEI reviewers

2019-02-05 Thread Borislav Petkov
On Tue, Feb 05, 2019 at 12:08:00PM +0100, Rafael J. Wysocki wrote: > OK, but care to resend and CC linux-acpi too? Here you go: --- From: Borislav Petkov Add James to the list of reviewers of the firmware-assisted RAS glue. Signed-off-by: Borislav Petkov Acked-by: James Morse Cc: "Rafael J.

[PATCH] futex: convert futex_pi_state.refcount to refcount_t

2019-02-05 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

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