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

2017-01-19 Thread David Laight
From: Ard Biesheuvel > Sent: 18 January 2017 13:53 .. > It turns out that this odd treatment of absolute symbols (i.e., > symbols having section number SHN_ABS) is a known issue in GNU ld > > https://sourceware.org/ml/binutils/2012-05/msg00019.html ... Jeepers - that is truly f*cked. I've even

Re: [PATCH v8 0/8] Add PWM and IIO timer drivers for STM32

2017-01-19 Thread Benjamin Gaignard
2017-01-19 9:43 GMT+01:00 Lee Jones : > On Wed, 18 Jan 2017, Benjamin Gaignard wrote: > >> version 8: >> - rebase on v4.10-rc4 >> - fix comments done by Thierry on PWM >> - reword "reg" parameter description >> - change kernel kernel in IIO ABI documentation >> >> version 7:

Re: UM: Fine-tuning for some function implementations

2017-01-19 Thread SF Markus Elfring
> please don't send drive-by patches. Would you dare to take another look at the published update steps in any other software combination? Regards, Markus

[PATCH v2 1/5] net: ethernet: ti: cpsw: remove dual check from common res usage function

2017-01-19 Thread Ivan Khoronzhuk
Common res usage is possible only in case an interface is running. In case of not dual emac here can be only one interface, so while ndo_open and switch mode, only one interface can be opened, thus if open is called no any interface is running ... and no common res are used. So remove check on

Re: [PATCH v3 1/3] dt: bindings: add documentation for zx2967 family reset controller

2017-01-19 Thread Rob Herring
On Tue, Jan 17, 2017 at 11:22:55AM +0800, Baoyou Xie wrote: > This patch adds dt-binding documentation for zx2967 family > reset controller. > > Signed-off-by: Baoyou Xie > Reviewed-by: Shawn Guo > --- >

Re: [PATCH 2/2] ARM: dts: rockchip: add dts for RK3288-Tinker board

2017-01-19 Thread Eddie Cai
2017-01-20 10:29 GMT+08:00 Shawn Lin : > > On 2017/1/19 10:11, Eddie Cai wrote: >> >> This patch add basic support for RK3288-Tinker board. We can boot in to >> rootfs >> with this patch. >> >> Signed-off-by: Eddie Cai >> --- >>

Re: [PATCH v2] jump_label: reduce the size of struct static_key

2017-01-19 Thread Ingo Molnar
* Jason Baron wrote: > struct static_key { > atomic_t enabled; > +/* > + * bit 0 => 1 if key is initially true > + * 0 if initially false > + * bit 1 => 1 if points to struct static_key_mod > + * 0 if points to struct jump_entry > + */ > + union { > +

Re: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

2017-01-19 Thread David Carrillo-Cisneros
On Thu, Jan 19, 2017 at 9:41 AM, Thomas Gleixner wrote: > On Wed, 18 Jan 2017, David Carrillo-Cisneros wrote: >> On Wed, Jan 18, 2017 at 12:53 AM, Thomas Gleixner wrote: >> There are use cases where the RMID to CLOSID mapping is not that simple. >> Some of

Re: [PATCH v2] mm: add arch-independent testcases for RODATA

2017-01-19 Thread kbuild test robot
Hi Jinbum, [auto build test ERROR on mmotm/master] [also build test ERROR on v4.10-rc4 next-20170119] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Jinbum-Park

Re: [PATCH 0/3] ata: add m68k/Atari Falcon PATA support

2017-01-19 Thread Michael Schmitz
Hi Finn, Am 15.01.2017 um 17:42 schrieb Finn Thain: >> No, we can't check either FDC or SCSI interrupts (or indeed any chip >> registers) without touching the ST-DMA. The moment we select a FDC or >> SCSI register for read, DMA is terminated no questions asked. >> > > Perhaps we can convert

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

2017-01-19 Thread Robert Jarzmik
Jan Kiszka writes: > 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 > its execution where all interrupts sources are silent so that a new > event can trigger a new interrupt

[PATCH v1] soc: renesas: rcar-sysc:- Prevent resource leake and NULL-pointer error

2017-01-19 Thread Arvind Yadav
If rcar_sysc_pd_init will fail, Handle ERROR properly. -Release memory -Unmap I/O memory from kernel address space. In rcar_sysc_init, If ioremap_nocache will fail. It will return NULL. Kernel can run into a NULL-pointer dereference. Signed-off-by: Arvind Yadav ---

[PATCH 1/3 v2] ahci: qoriq: added a condition to enable dma coherence

2017-01-19 Thread yuantian.tang
From: Tang Yuantian Enable DMA coherence in SATA controller on condition that dma-coherent property exists in sata node in DTS. Signed-off-by: Tang Yuantian --- v2: - use of_dma_is_coherent() instead of open-coding. drivers/ata/ahci_qoriq.c |

Re: [PATCH v3 2/2] mmc: pwrseq: add support for Marvell SD8787 chip

2017-01-19 Thread Ulf Hansson
On 20 January 2017 at 03:42, Shawn Lin wrote: > On 2017/1/19 22:13, Ulf Hansson wrote: >> >> +Shawn >> >> On 13 January 2017 at 06:29, Matt Ranostay >> wrote: >>> >>> Allow power sequencing for the Marvell SD8787 Wifi/BT chip. >>> This can be

[tip:sched/core] sched/clock: Fix hotplug crash

2017-01-19 Thread tip-bot for Peter Zijlstra
Commit-ID: acb04058de49458010c44bb35b849d45113fd668 Gitweb: http://git.kernel.org/tip/acb04058de49458010c44bb35b849d45113fd668 Author: Peter Zijlstra AuthorDate: Thu, 19 Jan 2017 14:36:33 +0100 Committer: Ingo Molnar CommitDate: Fri, 20 Jan 2017

Re: [PATCH 2/2] m68k: replaced gcc specific macros with ones from compiler.h

2017-01-19 Thread Geert Uytterhoeven
On Thu, Jan 19, 2017 at 9:31 PM, kbuild test robot <l...@intel.com> wrote: > Hi Gideon, > > [auto build test ERROR on m68k/for-next] > [also build test ERROR on v4.10-rc4 next-20170119] > [if your patch is applied to the wrong git tree, please drop us a note to > help imp

Re: [PATCH v3 1/3] mmc: dt-bindings: update Mediatek MMC bindings

2017-01-19 Thread Daniel Kurtz
On Thu, Jan 19, 2017 at 6:19 PM, Yong Mao wrote: > > From: yong mao > > Add description for mtk-hs200-cmd-int-delay > Add description for mtk-hs400-cmd-int-delay > Add description for mtk-hs400-cmd-resp-sel > > Signed-off-by: Yong Mao

Re: [PATCH v11 2/8] power: add power sequence library

2017-01-19 Thread Peter Chen
On Tue, Jan 10, 2017 at 03:02:41PM +0800, Peter Chen wrote: > On Sat, Jan 07, 2017 at 10:54:56AM +0200, Krzysztof Kozlowski wrote: > > On Thu, Jan 05, 2017 at 02:01:53PM +0800, Peter Chen wrote: > > > We have an well-known problem that the device needs to do some power > > > sequence before it can

Re: [PATCH v6 00/25] Support qcom's HSIC USB and rewrite USB2 HS support

2017-01-19 Thread Peter Chen
On Wed, Dec 28, 2016 at 02:56:46PM -0800, Stephen Boyd wrote: > The state of USB ChipIdea support on Qualcomm's platforms is not great. > The DT description of these devices requires up to three different nodes > for what amounts to be the same hardware block, when there should really > only be

Re: [PATCH 1/3] drm/exynos/decon5433: do not disable video after reset

2017-01-19 Thread Inki Dae
Applied including other two patches. Thanks. 2017년 01월 17일 23:15에 Andrzej Hajda 이(가) 쓴 글: > decon_commit is called just after reset so video is disabled anyway. > > Signed-off-by: Andrzej Hajda > --- > drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 2 -- > 1 file

Re: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

2017-01-19 Thread David Carrillo-Cisneros
On Thu, Jan 19, 2017 at 6:32 PM, Vikas Shivappa wrote: > Resending including Thomas , also with some changes. Sorry for the spam > > Based on Thomas and Peterz feedback Can think of two design > variants which target: > > -Support monitoring and allocating using

Re: [patch] mm, oom: header nodemask is NULL when cpusets are disabled

2017-01-19 Thread Hillf Danton
On Friday, January 20, 2017 6:58 AM David Rientjes wrote: > > Commit 82e7d3abec86 ("oom: print nodemask in the oom report") implicitly > sets the allocation nodemask to cpuset_current_mems_allowed when there is > no effective mempolicy. cpuset_current_mems_allowed is only effective > when

Re: powerpc/nvram: Move an assignment for the variable "ret" in dev_nvram_write()

2017-01-19 Thread SF Markus Elfring
> I think you really could have squashed patches 1-3 into a single patch > that returns directly after any failure. Thanks for your constructive feedback. I have got software development concerns around such patch squashing. > At this point you might as well remove that label and move the

Re: amdgpu: Corrupted video on 32 bit systems (possible fix)

2017-01-19 Thread Nils Holland
On Fri, Jan 20, 2017 at 11:47:53AM +0900, Michel Dänzer wrote: > On 20/01/17 04:35 AM, Nils Holland wrote: > > > > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c2016-12-11 > > 20:17:54.0 +0100 > > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c2017-01-19 > >

[PATCH 2/3 v2] ahci: qoriq: report error when ecc register address is missing in dts

2017-01-19 Thread yuantian.tang
From: Tang Yuantian For ls1021a, and armv8 chasis 2 socs, sata ecc must be disabled. If ecc register is not found in sata node in dts, report error. This is a chip erratum described as bellow: The Read DMA operations get early termination indication from the controller.

[PATCH 3/3 v2] ahci: qoriq: added ls2088a platforms support

2017-01-19 Thread yuantian.tang
From: Tang Yuantian Ls2088a is new introduced arm-based soc with sata support with following features: 1. Complies with the serial ATA 3.0 specification and the AHCI 1.3.1 specification 2. Contains a high-speed descriptor-based DMA controller 3. Supports the following:

Re: [PATCH 2/2] ARM: dts: rockchip: add dts for RK3288-Tinker board

2017-01-19 Thread Eddie Cai
2017-01-19 17:58 GMT+08:00 Heiko Stuebner : > Hi Eddie, > > Am Donnerstag, 19. Januar 2017, 10:11:59 CET schrieb Eddie Cai: >> This patch add basic support for RK3288-Tinker board. We can boot in to >> rootfs with this patch. >> >> Signed-off-by: Eddie Cai

Re: [PATCH 2/2] Input: tca8418 - switch to using generic device properties

2017-01-19 Thread Maxime Ripard
On Thu, Jan 19, 2017 at 02:48:03PM -0800, Dmitry Torokhov wrote: > Let's drop legacy platform data support (there are no users in mainline) > and switch to using generic device properties, which will make the driver > simpler (non-OF boards can use property sets to describe hardware). > >

Re: [PATCH 2/2] ARM: dts: rockchip: add dts for RK3288-Tinker board

2017-01-19 Thread Shawn Lin
On 2017/1/20 15:07, Eddie Cai wrote: 2017-01-20 10:29 GMT+08:00 Shawn Lin : On 2017/1/19 10:11, Eddie Cai wrote: This patch add basic support for RK3288-Tinker board. We can boot in to rootfs with this patch. Signed-off-by: Eddie Cai ---

[PATCH v1] tty: serial: 8250: 8250_gsc:- Handle return NULL error from ioremap_nocache

2017-01-19 Thread Arvind Yadav
Here, If ioremap_nocache will fail. It will return NULL. Kernel can run into a NULL-pointer dereference. This error check will avoid NULL pointer dereference. Signed-off-by: Arvind Yadav --- drivers/tty/serial/8250/8250_gsc.c | 4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH] drm/bochs: Implement nomodeset

2017-01-19 Thread Gerd Hoffmann
On Mi, 2017-01-18 at 19:10 +0100, Max Staudt wrote: > Up until now, the bochsdrm driver didn't handle the nomodeset option > at boot, and didn't provide a "modeset" module option either. > > This patch implements both. > > The new parameter can be used by specifying bochs-drm.modeset=0 > at boot

Re: [PATCH v20 08/17] clocksource/drivers/arm_arch_timer: Rework counter frequency detection.

2017-01-19 Thread Hanjun Guo
Hi Fuwei, One comments below. On 2017/1/18 21:25, fu@linaro.org wrote: From: Fu Wei The counter frequency detection call(arch_timer_detect_rate) combines two ways to get counter frequency: system coprocessor register and MMIO timer. But in a specific timer init code, we only need one way

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

2017-01-19 Thread Uwe Kleine-König
Hello Cedric, On Wed, Jan 18, 2017 at 09:55:39PM +0100, M'boumba Cedric Madianga wrote: > 2017-01-18 19:42 GMT+01:00 Uwe Kleine-König : > > Hello Cedric, > > > > On Wed, Jan 18, 2017 at 04:21:17PM +0100, M'boumba Cedric Madianga wrote: > >> >> + * In standard mode, the maximum allowed SCL

Re: [BISSECTED]: BUG: usb: dwc3: usb ports not working anymore on odroid-XU4

2017-01-19 Thread Felipe Balbi
Hi, Richard Genoud writes: > Hi, > Since commit c499ff71ff2a2 ("usb: dwc3: core: re-factor init and exit paths") > (merged in 4.8), the usb ports on odroid-XU4 don't work anymore. > > [ Actually, it's commit 2164a476205ccc ("usb: dwc3: set SUSPHY bit for all > cores"), cf below ] > > Inserting

[PATCH 0/1] add multiple clock handling for dwc2 driver

2017-01-19 Thread Frank Wang
The Current default dwc2 just handle one clock named otg, however, it may have two or more clock need to manage for some new SoCs(such as RK3328), so this adds change clk to clk's array of dwc2_hsotg to handle more clocks operation. Frank Wang (1): usb: dwc2: add multiple clock handling

[PATCH 1/1] usb: dwc2: add multiple clock handling

2017-01-19 Thread Frank Wang
Originally, dwc2 just handle one clock named otg, however, it may have two or more clock need to manage for some new SoCs, so this adds change clk to clk's array of dwc2_hsotg to handle more clocks operation. Signed-off-by: Frank Wang --- drivers/usb/dwc2/core.h | 5 -

Re: [PATCH 1/2] ARM64: dts: meson-gxm: Add R-Box Pro

2017-01-19 Thread Neil Armstrong
Hi Andreas, Kevin, On 01/18/2017 11:27 PM, Kevin Hilman wrote: > Andreas Färber writes: > >> Am 17.01.2017 um 04:06 schrieb Andreas Färber: >>> diff --git a/arch/arm64/boot/dts/amlogic/Makefile >>> b/arch/arm64/boot/dts/amlogic/Makefile >>> index 0d7bfbf7d922..66bc809a5eae 100644 >>> ---

Re: [PATCH 2/3] ARM64: dts: meson-gxbb: Add support for WeTek Hub and Play

2017-01-19 Thread Neil Armstrong
On 01/18/2017 11:53 PM, Kevin Hilman wrote: > Neil Armstrong writes: > >> Adds support for the WeTek Hub and Play2 boards. >> The Hub is an extremely small IPTv Set-Top-Box and the Play2 is a more >> traditionnal Satellite or Terrestrial and IPTv Set-Top-Box. >> >> Both are based on the p200

Re: [PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp

2017-01-19 Thread Peter Senna Tschudin
On Wed, Jan 18, 2017 at 11:10:58PM +0200, Laurent Pinchart wrote: > Hi Peter, > > On Monday 16 Jan 2017 09:37:11 Peter Senna Tschudin wrote: > > On Tue, Jan 10, 2017 at 11:04:58PM +0200, Laurent Pinchart wrote: > > > On Saturday 07 Jan 2017 01:29:52 Peter Senna Tschudin wrote: > > >> On 04

Re: [PATCH v1 2/2] arm: dts: mt2701: add nor flash node

2017-01-19 Thread Boris Brezillon
Hi Rob, On Wed, 18 Jan 2017 20:51:08 -0600 Rob Herring wrote: > On Wed, Jan 18, 2017 at 5:38 PM, Thomas Petazzoni > wrote: > > Hello, > > > > On Wed, 18 Jan 2017 16:20:10 -0600, Rob Herring wrote: > > > >> > > Rob, Mark, any opinion? > >> > > >> > >> Sigh, is how to do compatibles really

Re: [PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp

2017-01-19 Thread Laurent Pinchart
Hi Peter, On Thursday 19 Jan 2017 09:12:14 Peter Senna Tschudin wrote: > On Wed, Jan 18, 2017 at 11:10:58PM +0200, Laurent Pinchart wrote: > > On Monday 16 Jan 2017 09:37:11 Peter Senna Tschudin wrote: > >> On Tue, Jan 10, 2017 at 11:04:58PM +0200, Laurent Pinchart wrote: > >>> On Saturday 07 Jan

Re: [PATCH v2 2/3] cpu: expose pm_qos_resume_latency for each cpu

2017-01-19 Thread Alex Shi
On 01/17/2017 06:23 PM, Daniel Lezcano wrote: >> > >> > @@ -376,6 +377,7 @@ int register_cpu(struct cpu *cpu, int num) >> > >> >per_cpu(cpu_sys_devices, num) = >dev; >> >register_cpu_under_node(num, cpu_to_node(num)); >> > + dev_pm_qos_expose_latency_limit(>dev, 0); > This patch

[PATCH] ARM64: dts: meson-gxm: Rename q200 and q201 DT files for consistency

2017-01-19 Thread Neil Armstrong
In order to keep consistency naming with the Nexbox A1 DTS file, remove the S912 SoC name in the GXM DT files. Suggested-by: Andreas Färber Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/Makefile | 4 ++--

Re: [PATCH 0/5] UM: Fine-tuning for some function implementations

2017-01-19 Thread Richard Weinberger
Markus, Am 18.01.2017 um 22:55 schrieb SF Markus Elfring: > From: Markus Elfring > Date: Wed, 18 Jan 2017 22:48:02 +0100 > > A few update suggestions were taken into account > from static source code analysis. > > Markus Elfring (5): > port: Move an assignment for the variable "fd" in

Re: [PATCH 13/33] Input: bfin_rotary - Use 'dev' instead of dereferencing it and other changes

2017-01-19 Thread Guenter Roeck
On 01/18/2017 08:58 PM, Joe Perches wrote: On Wed, 2017-01-18 at 12:35 -0800, Guenter Roeck wrote: On Wed, Jan 18, 2017 at 11:39:52AM -0800, Dmitry Torokhov wrote: On Wed, Jan 18, 2017 at 09:46:34AM -0800, Guenter Roeck wrote: [] diff --git a/drivers/input/misc/bfin_rotary.c

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

2017-01-19 Thread Tariq Toukan
Hi Stephen, On 19/01/2017 12:56 AM, Stephen Rothwell wrote: Hi all, After merging the net tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c: In function 'mlx5e_set_channels':

Re: [PATCH v20 11/17] clocksource/drivers/arm_arch_timer: Introduce some new structs to prepare for GTDT

2017-01-19 Thread Hanjun Guo
On 2017/1/18 21:25, fu@linaro.org wrote: From: Fu Wei The patch introduce two new structs: arch_timer_mem, arch_timer_mem_frame. And also introduce a new define: ARCH_TIMER_MEM_MAX_FRAMES These will be used for refactoring the memory-mapped timer init code to prepare for GTDT

Re: [PATCH -next] init/main: Init jump_labels before they are used to build zonelists

2017-01-19 Thread Vlastimil Babka
On 01/17/2017 09:49 PM, Vlastimil Babka wrote: > On 17.1.2017 21:34, Andrew Morton wrote: Will you be able to look into that? Openrisc doesnt have jump_label support, so its no issue at the moment. Archs that do have it: arch/arm64/Kconfig: select

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

2017-01-19 Thread M'boumba Cedric Madianga
ok fine 2017-01-19 9:02 GMT+01:00 Uwe Kleine-König : > Hello Cedric, > > On Wed, Jan 18, 2017 at 09:55:39PM +0100, M'boumba Cedric Madianga wrote: >> 2017-01-18 19:42 GMT+01:00 Uwe Kleine-König : >> > Hello Cedric, >> > >> > On Wed, Jan 18, 2017 at 04:21:17PM +0100, M'boumba Cedric Madianga

[PATCH] ipv6: addrconf: Avoid addrconf_disable_change() using RCU read-side lock

2017-01-19 Thread Kefeng Wang
Just like commit 4acd4945cd1e ("ipv6: addrconf: Avoid calling netdevice notifiers with RCU read-side lock"), it is unnecessary to make addrconf_disable_change() use RCU iteration over the netdev list, since it already holds the RTNL lock, or we may meet Illegal context switch in RCU read-side

Re: [PATCH 1/6] mm: introduce kv[mz]alloc helpers

2017-01-19 Thread John Hubbard
On 01/18/2017 12:21 AM, Michal Hocko wrote: On Tue 17-01-17 21:59:13, John Hubbard wrote: On 01/16/2017 11:51 PM, Michal Hocko wrote: On Mon 16-01-17 13:57:43, John Hubbard wrote: On 01/16/2017 01:48 PM, Michal Hocko wrote: On Mon 16-01-17 13:15:08, John Hubbard wrote: On 01/16/2017

[GIT PULL] two bug fixes for 4.10-rc5

2017-01-19 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Two changes, the first is a fix to add a missing memory clobber to the inline assembly to load control registers. This has not

Re: [PATCH v8 0/8] Add PWM and IIO timer drivers for STM32

2017-01-19 Thread Lee Jones
On Wed, 18 Jan 2017, Benjamin Gaignard wrote: > version 8: > - rebase on v4.10-rc4 > - fix comments done by Thierry on PWM > - reword "reg" parameter description > - change kernel kernel in IIO ABI documentation > > version 7: > - rebase on v4.10-rc2 > - remove iio_device code from driver and

Re: [PATCH 8/8] Revert "ext4: fix wrong gfp type under transaction"

2017-01-19 Thread Michal Hocko
On Tue 17-01-17 18:29:25, Jan Kara wrote: > On Tue 17-01-17 17:16:19, Michal Hocko wrote: > > > > But before going to play with that I am really wondering whether we need > > > > all this with no journal at all. AFAIU what Jack told me it is the > > > > journal lock(s) which is the biggest problem

Re: [PATCH 1/7] scsi: hisi_sas: workaround v2 hw SATA IO timeout issue

2017-01-19 Thread Johannes Thumshirn
On Thu, Jan 19, 2017 at 12:32:47AM +0800, John Garry wrote: > From: Xiang Chen > > The v2 SAS controller needs more time to detect channel idle > and send setup link request than SATA disk does, so it is > difficult for SAS controller to setup an STP link. Therefore it > may cause some IO

Re: [PATCH 2/7] scsi: hisi_sas: modify some values of ITCT table

2017-01-19 Thread Johannes Thumshirn
On Thu, Jan 19, 2017 at 12:32:48AM +0800, John Garry wrote: > From: Xiang Chen > > Set SMP connection timeout and continue AWT timer; > Clear ITCT table when dev gone. > > Signed-off-by: Xiang Chen > Signed-off-by: John Garry > --- > drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 11 +++ >

Re: [PATCH 3/7] scsi: hisi_sas: downgrade refclk message

2017-01-19 Thread Johannes Thumshirn
On Thu, Jan 19, 2017 at 12:32:49AM +0800, John Garry wrote: > The message to inform that the controller has no refclk > is currently at warning level, which is unnecessary, so > downgrade to debug. > > Signed-off-by: John Garry > Reviewed-by: Xiang Chen > --- Looks good, Reviewed-by: Johannes

Re: [PATCH 6/7] scsi: hisi_sas: fix probe ordering problem

2017-01-19 Thread Johannes Thumshirn
On Thu, Jan 19, 2017 at 12:32:52AM +0800, John Garry wrote: > From: Xiang Chen > > There is a potential probe issue in how we trigger the hw initialisation. > Although we use 1s timer to delay hw initialisation, there is still a > potential that sas_register_ha() is not be finished before we

Re: [PATCH v3] IOMMU: SMMUv2: Support for Extended Stream ID (16 bit)

2017-01-19 Thread Tomasz Nowicki
Hi Aleksey, On 17.01.2017 16:14, Aleksey Makarov wrote: Enable the Extended Stream ID feature when available. This patch on top of series "KVM PCIe/MSI passthrough on ARM/ARM64 and IOVA reserved regions" by Eric Auger [1] allows to passthrough an external PCIe network card on a ThunderX server

Re: [PATCH 2/7] scsi: hisi_sas: modify some values of ITCT table

2017-01-19 Thread John Garry
On 19/01/2017 08:44, Johannes Thumshirn wrote: On Thu, Jan 19, 2017 at 12:32:48AM +0800, John Garry wrote: From: Xiang Chen Set SMP connection timeout and continue AWT timer; Clear ITCT table when dev gone. Signed-off-by: Xiang Chen Signed-off-by: John Garry ---

Re: __mutex_lock_common() unlikely very likely

2017-01-19 Thread Chris Wilson
On Wed, Jan 18, 2017 at 03:58:24PM -0500, Steven Rostedt wrote: > Chris, > > My branch tracer flagged the unlikely in __mutex_lock_common() as > always hit. That's the: > > if (use_ww_ctx) { > [...] > if (unlikely(ww_ctx == READ_ONCE(ww->ctx))) >

Re: [patch -mm] mm, page_alloc: warn_alloc nodemask is NULL when cpusets are disabled

2017-01-19 Thread Michal Hocko
On Thu 19-01-17 08:29:45, Vlastimil Babka wrote: > On 01/18/2017 10:51 PM, David Rientjes wrote: > > The patch "mm, page_alloc: warn_alloc print nodemask" implicitly sets the > > allocation nodemask to cpuset_current_mems_allowed when there is no > > effective mempolicy.

Re: [PATCH 7/7] scsi: hisi_sas: decrease running_req in hisi_sas_slot_task_free()

2017-01-19 Thread Johannes Thumshirn
On Thu, Jan 19, 2017 at 12:32:53AM +0800, John Garry wrote: > From: Xiang Chen > > There is an issue that hisi_sas_dev.running_req is not > decremented properly for internal abort and TMF. > > To resolve, only decrease running_req in hisi_sas_slot_task_free() > > Signed-off-by: Xiang Chen >

Re: [PATCH v3] EDAC: expose per-dimm error counts in sysfs

2017-01-19 Thread Aaron Miller
On 11/4/16, 4:21 AM, "Borislav Petkov" wrote: LGTM. Acked-by: Borislav Petkov Mauro, I'm assuming you're picking up this. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply. Did this ever get

Re: Potential issues (security and otherwise) with the current cgroup-bpf API

2017-01-19 Thread Michal Hocko
On Wed 18-01-17 14:18:50, Tejun Heo wrote: > Hello, Michal. > > On Tue, Jan 17, 2017 at 02:58:30PM +0100, Michal Hocko wrote: > > This would require using hierarchical cgroup iterators to iterate over > > It does behave hierarchically. > > > tasks. As per Andy's testing this doesn't seem to be

Re: [PATCH v2 3/3] gpio: Support gpio nexus dt bindings

2017-01-19 Thread Linus Walleij
On Wed, Jan 18, 2017 at 1:50 AM, Stephen Boyd wrote: > Platforms like 96boards have a standardized connector/expansion > slot that exposes signals like GPIOs to expansion boards in an > SoC agnostic way. We'd like the DT overlays for the expansion > boards to be written once without knowledge of

Re: [PATCH 1/6] mm: introduce kv[mz]alloc helpers

2017-01-19 Thread Michal Hocko
On Thu 19-01-17 00:37:08, John Hubbard wrote: > > > On 01/18/2017 12:21 AM, Michal Hocko wrote: > > On Tue 17-01-17 21:59:13, John Hubbard wrote: [...] > > > * Reclaim modifiers - __GFP_NORETRY and __GFP_NOFAIL should not be > > > passed in. > > > * Passing in __GFP_REPEAT is supported, but

Re: [PATCH 5/7] scsi: hisi_sas: downgrade internal abort exit print

2017-01-19 Thread Johannes Thumshirn
On Thu, Jan 19, 2017 at 12:32:51AM +0800, John Garry wrote: > Downgrade the exit print in hisi_sas_internal_task_abort() > to dbg level, as info is not required. > > Signed-off-by: John Garry > Reviewed-by: Xiang Chen > --- Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn

Re: [PATCH 4/7] scsi: hisi_sas: modify hard reset for directed-attached disk

2017-01-19 Thread Johannes Thumshirn
On Thu, Jan 19, 2017 at 12:32:50AM +0800, John Garry wrote: > From: Xiang Chen > > Correctly set registers in v2 for root PHY hardreset for directly > attached disk. > > Signed-off-by: Xiang Chen > Signed-off-by: John Garry > --- Looks good, Reviewed-by: Johannes Thumshirn -- Johannes

Re: [PATCH 13/13] MIPS: jz4740: Remove custom GPIO code

2017-01-19 Thread Linus Walleij
On Wed, Jan 18, 2017 at 12:14 AM, Paul Cercueil wrote: > All the drivers for the various hardware elements of the jz4740 SoC have > been modified to use the pinctrl framework for their pin configuration > needs. > As such, this platform code is now unused and can be deleted. > > Signed-off-by:

Re: [PATCH v3 00/18] FSI device driver introduction

2017-01-19 Thread Greg KH
On Tue, Jan 17, 2017 at 04:00:41PM -0600, Christopher Bostic wrote: > On Tue, Jan 17, 2017 at 1:42 AM, Greg KH wrote: > > On Mon, Jan 16, 2017 at 03:22:48PM -0600, christopher.lee.bos...@gmail.com > > wrote: > >> From: Chris Bostic > > > > > > > > Only this, and patch 02/18 came through, did

Re: [PATCH v20 13/17] acpi/arm64: Add GTDT table parse driver

2017-01-19 Thread Hanjun Guo
On 2017/1/18 21:25, fu@linaro.org wrote: From: Fu Wei This patch adds support for parsing arch timer info in GTDT, provides some kernel APIs to parse all the PPIs and always-on info in GTDT and export them. By this driver, we can simplify arm_arch_timer drivers, and separate the ACPI GTDT

Re: [PATCH v5 0/4] usb: early: add support for early printk through USB3 debug port

2017-01-19 Thread Ingo Molnar
* Greg Kroah-Hartman wrote: > On Wed, Jan 18, 2017 at 02:20:30PM +0800, Lu Baolu wrote: > > Hi Greg, > > > > This patch series has been there for 2 months without > > further comments. Will you consider it for usb-next? > > I needed acks from the x86 maintainers before I could take those >

Re: [PATCH v5 0/4] usb: early: add support for early printk through USB3 debug port

2017-01-19 Thread Ingo Molnar
* Lu Baolu wrote: > xHCI debug capability (DbC) is an optional but standalone > functionality provided by an xHCI host controller. With DbC > hardware initialized, the system will present a debug device > through the USB3 debug port (normally the first USB3 port). > The debug device is fully

[PATCH] ARM: Exynos4415: remove dead build rule

2017-01-19 Thread Valentin Rothberg
Commit 22dfab102cfa ("ARM: EXYNOS: Remove Exynos4415 arch code (SoC not supported anymore)") removed the Kconfig option SOC_EXYNOS4415. Thus, we are safe to remove the last reference in the Makefile. Signed-off-by: Valentin Rothberg --- Detected by using ./scripts/checkkconfigsymbols.py

Re: [PATCH v8 3/8] PWM: add pwm-stm32 DT bindings

2017-01-19 Thread Thierry Reding
On Wed, Jan 18, 2017 at 03:20:46PM +0100, Benjamin Gaignard wrote: > Define bindings for pwm-stm32 > > version 8: > - reword st,breakinput description. > > version 6: > - change st,breakinput parameter format to make it usuable on stm32f7 too. > > version 2: > - use parameters instead of

Re: [PATCH v5 0/4] usb: early: add support for early printk through USB3 debug port

2017-01-19 Thread Greg Kroah-Hartman
On Wed, Jan 18, 2017 at 02:20:30PM +0800, Lu Baolu wrote: > Hi Greg, > > This patch series has been there for 2 months without > further comments. Will you consider it for usb-next? I needed acks from the x86 maintainers before I could take those patches. Can you resend the series and hopefully

Re: [PATCH v5 01/13] lockdep: Refactor lookup_chain_cache()

2017-01-19 Thread Boqun Feng
On Wed, Jan 18, 2017 at 10:17:27PM +0900, Byungchul Park wrote: > Currently, lookup_chain_cache() provides both 'lookup' and 'add' > functionalities in a function. However, each is useful. So this > patch makes lookup_chain_cache() only do 'lookup' functionality and > makes add_chain_cahce() only

Re: [PATCH 1/6] mm: introduce kv[mz]alloc helpers

2017-01-19 Thread John Hubbard
On 01/19/2017 12:45 AM, Michal Hocko wrote: On Thu 19-01-17 00:37:08, John Hubbard wrote: On 01/18/2017 12:21 AM, Michal Hocko wrote: On Tue 17-01-17 21:59:13, John Hubbard wrote: [...] * Reclaim modifiers - __GFP_NORETRY and __GFP_NOFAIL should not be passed in. * Passing in

[PATCH v5 1/2] tpm: implement TPM 2.0 capability to get active PCR banks

2017-01-19 Thread Nayna Jain
This patch implements the TPM 2.0 capability TPM_CAP_PCRS to retrieve the active PCR banks from the TPM. This is needed to enable extending all active banks as recommended by TPM 2.0 TCG Specification. Signed-off-by: Nayna Jain Reviewed-by: Jarkko Sakkinen --- drivers/char/tpm/tpm.h | 4

Re: [PATCH 00/33] Input: Automated coccinelle cleanup

2017-01-19 Thread Guenter Roeck
On 01/18/2017 09:06 PM, Joe Perches wrote: On Wed, 2017-01-18 at 21:04 -0800, Guenter Roeck wrote: On 01/18/2017 05:42 PM, Joe Perches wrote: On Wed, 2017-01-18 at 09:46 -0800, Guenter Roeck wrote: The conversion was done automatically with coccinelle using several semantic patches. The

[PATCH v5 2/2] tpm: enhance TPM 2.0 PCR extend to support multiple banks

2017-01-19 Thread Nayna Jain
The current TPM 2.0 device driver extends only the SHA1 PCR bank but the TCG Specification[1] recommends extending all active PCR banks, to prevent malicious users from setting unused PCR banks with fake measurements and quoting them. The existing in-kernel interface(tpm_pcr_extend()) expects

[PATCH v5 0/2] enhance TPM 2.0 extend function to support multiple PCR banks

2017-01-19 Thread Nayna Jain
IMA extends its hash measurements in the TPM PCRs, based on policy. The existing in-kernel TPM extend function extends only the SHA1 PCR bank. TPM 2.0 defines multiple PCR banks, to support different hash algorithms. The TCG TPM 2.0 Specification[1] recommends extending all active PCR banks to

Re: [PATCH v20 16/17] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer

2017-01-19 Thread Hanjun Guo
On 2017/1/18 21:25, fu@linaro.org wrote: From: Fu Wei The patch add memory-mapped timer register support by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 35 --- 1 file

Re: [PATCH v8 4/8] PWM: add PWM driver for STM32 plaftorm

2017-01-19 Thread Thierry Reding
On Wed, Jan 18, 2017 at 03:20:47PM +0100, Benjamin Gaignard wrote: > This driver adds support for PWM driver on STM32 platform. > The SoC have multiple instances of the hardware IP and each > of them could have small differences: number of channels, > complementary output, auto reload register

Re: [PATCH v2 02/26] treewide: Move dma_ops from struct dev_archdata into struct device

2017-01-19 Thread Greg Kroah-Hartman
On Thu, Jan 12, 2017 at 11:06:54AM -0800, Bart Van Assche wrote: > Some but not all architectures provide set_dma_ops(). Move dma_ops > from struct dev_archdata into struct device such that it becomes > possible on all architectures to configure dma_ops per device. > > Signed-off-by: Bart Van

Re: [PATCH v4 2/2] tpm: enhance TPM 2.0 PCR extend to support multiple banks

2017-01-19 Thread Nayna
On 01/18/2017 07:28 PM, Jarkko Sakkinen wrote: On Wed, Jan 18, 2017 at 03:44:50AM -0500, Nayna Jain wrote: The current TPM 2.0 device driver extends only the SHA1 PCR bank but the TCG Specification[1] recommends extending all active PCR banks, to prevent malicious users from setting unused

Re: [PATCH] ARM: Exynos4415: remove dead build rule

2017-01-19 Thread Krzysztof Kozlowski
On Thu, Jan 19, 2017 at 11:11 AM, Valentin Rothberg wrote: > Commit 22dfab102cfa ("ARM: EXYNOS: Remove Exynos4415 arch code (SoC not > supported anymore)") removed the Kconfig option SOC_EXYNOS4415. Thus, > we are safe to remove the last reference in the Makefile. > > Signed-off-by: Valentin

Re: [PATCH] ARM: Exynos4415: remove dead build rule

2017-01-19 Thread Krzysztof Kozlowski
On Thu, Jan 19, 2017 at 11:18 AM, Krzysztof Kozlowski wrote: > On Thu, Jan 19, 2017 at 11:11 AM, Valentin Rothberg > wrote: >> Commit 22dfab102cfa ("ARM: EXYNOS: Remove Exynos4415 arch code (SoC not >> supported anymore)") removed the Kconfig option SOC_EXYNOS4415. Thus, >> we are safe to

Re: [PATCH] ARM: Exynos4415: remove dead build rule

2017-01-19 Thread Chanwoo Choi
Hi, On 2017년 01월 19일 18:11, Valentin Rothberg wrote: > Commit 22dfab102cfa ("ARM: EXYNOS: Remove Exynos4415 arch code (SoC not > supported anymore)") removed the Kconfig option SOC_EXYNOS4415. Thus, > we are safe to remove the last reference in the Makefile. > > Signed-off-by: Valentin Rothberg

Re: kvm: use-after-free in process_srcu

2017-01-19 Thread Paolo Bonzini
On 18/01/2017 23:15, Paul E. McKenney wrote: > On Wed, Jan 18, 2017 at 09:53:19AM +0100, Paolo Bonzini wrote: >> >> >> On 17/01/2017 21:34, Paul E. McKenney wrote: >>> Do any of your callback functions invoke call_srcu()? (Hey, I have to ask!) >> >> No, we only use synchronize_srcu and

Re: [PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp

2017-01-19 Thread Peter Senna Tschudin
On Thu, Jan 19, 2017 at 10:17:45AM +0200, Laurent Pinchart wrote: > Hi Peter, > > On Thursday 19 Jan 2017 09:12:14 Peter Senna Tschudin wrote: > > On Wed, Jan 18, 2017 at 11:10:58PM +0200, Laurent Pinchart wrote: > > > On Monday 16 Jan 2017 09:37:11 Peter Senna Tschudin wrote: > > >> On Tue, Jan

Re: [PATCH v20 00/17] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2017-01-19 Thread Hanjun Guo
Hi Fuwei, On 2017/1/18 21:25, fu@linaro.org wrote: From: Fu Wei This patchset: (1)Preparation for adding GTDT support in arm_arch_timer: 1. Clean up printk() usage 2. Rename the type macros 3. Rename the PPI enum & enum values 4. Move the type macro and

Re: [PATCH v5 4/6] usb: xhci: use bus->sysdev for DMA configuration

2017-01-19 Thread Greg KH
On Wed, Jan 18, 2017 at 01:58:28PM +0200, Mathias Nyman wrote: > On 12.01.2017 10:38, Roger Quadros wrote: > > Mathias, > > > > On 11/01/17 17:08, Alan Stern wrote: > > > On Wed, 11 Jan 2017, Mathias Nyman wrote: > > > > > > > On 17.11.2016 13:43, Sriram Dash wrote: > > > > > From: Arnd Bergmann

Re: [PATCH] ARM: Exynos4415: remove dead build rule

2017-01-19 Thread Krzysztof Kozlowski
On Thu, Jan 19, 2017 at 11:25 AM, Valentin Rothberg wrote: > Hi Krzysztof, > > On 19/01/2017 10:20, Krzysztof Kozlowski wrote: >> On Thu, Jan 19, 2017 at 11:18 AM, Krzysztof Kozlowski >> wrote: >>> On Thu, Jan 19, 2017 at 11:11 AM, Valentin Rothberg >>> wrote: Commit 22dfab102cfa ("ARM:

Re: [PATCH 3/3] cpuidle/menu: add per cpu pm_qos_resume_latency consideration

2017-01-19 Thread Alex Shi
> That said, I have the feeling that is taking the wrong direction. Each time we > are entering idle, we check the latencies. Entering idle can be done thousand > of times per second. Wouldn't make sense to disable the states not fulfilling > the constraints at the moment the latencies are

Re: [PATCH] ARM: Exynos4415: remove dead build rule

2017-01-19 Thread Chanwoo Choi
Dear all, On 2017년 01월 19일 18:14, Chanwoo Choi wrote: > Hi, > > On 2017년 01월 19일 18:11, Valentin Rothberg wrote: >> Commit 22dfab102cfa ("ARM: EXYNOS: Remove Exynos4415 arch code (SoC not >> supported anymore)") removed the Kconfig option SOC_EXYNOS4415. Thus, >> we are safe to remove the last

Re: [PATCH] procfs: change the owner of non-dumpable and writeable files

2017-01-19 Thread Michal Hocko
Cc Eric On Wed 18-01-17 15:01:59, Aleksa Sarai wrote: > In order to protect against ptrace(2) and similar attacks on container > runtimes when they join namespaces, many runtimes set mm->dumpable to > SUID_DUMP_DISABLE. However, doing this means that attempting to set up > an unprivileged user

[PATCH] VME: add again remove entry point

2017-01-19 Thread Stefano Babic
Commit 050c3d52cc7 dropped the remove entry point. However, vme_bus_remove() is called when a VME device is removed from the bus and not when the bus is removed and it calls the VME device driver's cleanup function. Without this function, the remove() in VME device driver is never called and VME

Re: [PATCH v3] EDAC: expose per-dimm error counts in sysfs

2017-01-19 Thread Borislav Petkov
On Thu, Jan 19, 2017 at 08:56:23AM +, Aaron Miller wrote: > Did this ever get picked up? It is now. Thanks for the reminder! -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.

<    5   6   7   8   9   10   11   12   13   14   >