Re: [PATCH] libnvdimm, namespace: do not delete namespace-id 0

2017-02-02 Thread Johannes Thumshirn
On Wed, Feb 01, 2017 at 10:35:21AM -0800, Dan Williams wrote: > Given that the naming of pmem devices changes from the pmemX form to the > pmemX.Y form when namespace id is greater than 0, arrange for namespaces > with id-0 to be exempt from deletion. Otherwise a simple reconfiguration > of an exis

Re: [PATCH 0/2] pinctrl: sunxi: Merge A31s pinctrl driver with A31

2017-02-02 Thread Maxime Ripard
On Thu, Feb 02, 2017 at 12:25:45AM +0800, Chen-Yu Tsai wrote: > Hi everyone, > > This series merges support for the A31s' pin controller into the A31 > driver, using the new sunxi variants support code. The A31s is a trimmed > down version of the A31, with some hardware blocks removed, and some >

Re: [PATCH] pinctrl: sunxi: Remove stray printk call in sun5i driver's probe function

2017-02-02 Thread Maxime Ripard
On Thu, Feb 02, 2017 at 12:02:09AM +0800, Chen-Yu Tsai wrote: > There is a stray printk call in the new sun5i pinctrl driver's probe > function. > > Remove it. > > Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineeri

Re: [PATCH v3] scsi, block: fix duplicate bdi name registration crashes

2017-02-02 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [PATCH v3 1/1] x86, relocs: add printf attribute to die()

2017-02-02 Thread Nicolas Iooss
On 02/02/17 02:39, h...@zytor.com wrote: > On January 31, 2017 10:52:11 AM PST, Nicolas Iooss > wrote: >> Hello, >> >> As I have not received any comment on the patch I sent in December, I >> am >> wondering whether I did anything wrong with it. How can I get it queued >> for the next merge windo

Re: [PATCH 05/11] [media] s5p-mfc: Add support for HEVC decoder

2017-02-02 Thread Andrzej Hajda
On 02.02.2017 08:58, Andrzej Hajda wrote: > On 18.01.2017 11:02, Smitha T Murthy wrote: >> Add support for codec definition and corresponding buffer >> requirements for HEVC decoder. >> >> Signed-off-by: Smitha T Murthy >> --- >> drivers/media/platform/s5p-mfc/regs-mfc-v10.h |3 +++ >> driv

Re: [PATCH 04/11] [media] s5p-mfc: Support MFCv10.10 buffer requirements

2017-02-02 Thread Andrzej Hajda
Hi Smitha, Ups, I have missed this patch, I hope it wont influence the review :) On 18.01.2017 11:02, Smitha T Murthy wrote: > Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size > for MFCv10.10. > > Signed-off-by: Smitha T Murthy > --- > drivers/media/platform/s5p-mfc/regs

[char-misc-next 0/2] mei: reset flow fix

2017-02-02 Thread Tomas Winkler
These patches should fix possible stall after device reset. The patches should be applied to the stable kernels 4.4 and newer as well, however, they do not apply cleanly hence a separate patch will be sent after are applied upstream. Alexander Usyskin (2): mei: me: add a wrapper to set host gene

[char-misc-next 2/2] mei: me: generate an interrupt if the hw indicates reset.

2017-02-02 Thread Tomas Winkler
From: Alexander Usyskin In rare case the driver may lose connection with the device after device reset due to a missed interrupt. The driver will unlock the flow by generating an interrupt towards the firmware (HIG) when the device is in the resetting state. The FW is able to ignore the interrupt

[char-misc-next 1/2] mei: me: add a wrapper to set host generated data interrupt

2017-02-02 Thread Tomas Winkler
From: Alexander Usyskin Consolidate setting H_IG, an interrupt from host towards hw, into a wrapper to eliminate code duplication. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw-me.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletio

Re: [PATCH] drm: change connector disconnected debug message to an error

2017-02-02 Thread Jani Nikula
On Thu, 02 Feb 2017, Shuah Khan wrote: > Change drm_helper_probe_single_connector_modes() to print an error to > report connector disconnected status instead of a debug message. > > When this condition occurs, application doesn't know the real error and > reports it as driver lacking support for m

Re: [PATCH 06/11] [media] videodev2.h: Add v4l2 definition for HEVC

2017-02-02 Thread Andrzej Hajda
On 18.01.2017 11:02, Smitha T Murthy wrote: > Add V4L2 definition for HEVC compressed format > > Signed-off-by: Smitha T Murthy Beside small nitpick. Reviewed-by: Andrzej Hajda > --- > include/uapi/linux/videodev2.h |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/

Re: [RESENT PATCH] ARM: bcm2835: Add devicetree for the Raspberry Pi 3, for arm (32)

2017-02-02 Thread Michael Zoran
On Wed, 2017-02-01 at 13:20 +0100, Gerd Hoffmann wrote: > > > I think just having links from > > > arch/arm64/boot/dts/broadcom/bcm2837*.dts* to arch/arm/boot/dts/ > > > would > > > be the solution, then this Makefile could just reference > > > bcm2837-rpi-3-b.dtb. > > > > I suspect it is not that

Re: [PATCH 08/11] [media] s5p-mfc: Add VP9 decoder support

2017-02-02 Thread Andrzej Hajda
On 18.01.2017 11:02, Smitha T Murthy wrote: > Add support for codec definition and corresponding buffer > requirements for VP9 decoder. > > Signed-off-by: Smitha T Murthy > --- > drivers/media/platform/s5p-mfc/regs-mfc-v10.h |6 + > drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c |3

RE: linux-next: manual merge of the net-next tree with Linus' tree

2017-02-02 Thread Yotam Gigi
>-Original Message- >From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] On >Behalf Of Stephen Rothwell >Sent: Thursday, February 02, 2017 3:50 AM >To: David Miller ; Networking >Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; Yotam Gigi > >Subject: linux

Re: [PATCH 09/11] [media] s5p-mfc: Add support for HEVC encoder

2017-02-02 Thread Andrzej Hajda
On 18.01.2017 11:02, Smitha T Murthy wrote: > Add HEVC encoder support and necessary registers, V4L2 CIDs, > and hevc encoder parameters > > Signed-off-by: Smitha T Murthy > --- > drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 28 +- > drivers/media/platform/s5p-mfc/s5p_mfc.c|1 +

Re: Build failure with v4.9-rc1 and GCC trunk -- compiler weirdness

2017-02-02 Thread Peter Zijlstra
On Wed, Feb 01, 2017 at 11:04:54AM -0800, Joe Perches wrote: > > +#define order_base_2(n)\ > > +( \ > > + __builtin_constant_p(n) ? ( \ > > + ((n) < 2) ? (n) : \ > > +

Re: net/tcp: warning in tcp_try_coalesce/skb_try_coalesce

2017-02-02 Thread Dmitry Vyukov
On Tue, Jan 31, 2017 at 3:27 PM, 'Eric Dumazet' via syzkaller wrote: > On Tue, Jan 31, 2017 at 5:17 AM, Andrey Konovalov > wrote: >> Hi, >> >> I've got the following error report while running the syzkaller fuzzer. >> >> On commit 566cf877a1fcb6d6dc0126b076aad062054c2637 (4.10-rc6). >> >> The fu

[PATCH V2] Add devicetree for the Raspberry Pi 3, for arm (32)

2017-02-02 Thread Michael Zoran
Signed-off-by: Michael Zoran --- arch/arm/boot/dts/Makefile| 3 ++- arch/arm/boot/dts/bcm2837-rpi-3-b.dts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/bcm2837-rpi-3-b.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Make

Re: [PATCHv7 6/8] printk: use printk_safe buffers in printk

2017-02-02 Thread Peter Zijlstra
On Thu, Feb 02, 2017 at 11:11:34AM +0900, Sergey Senozhatsky wrote: > On (02/01/17 16:39), Petr Mladek wrote: > [..] > > I guess that you are talking about the introduction of > > #define SCHED_WARN_ON(x)WARN_ONCE(x, #x) > > my guess would be that Jan was talking about printk_deferred() patch.

[PATCH v7 1/3] dt: bindings: add documentation for zx2967 family watchdog controller

2017-02-02 Thread Baoyou Xie
This patch adds dt-binding documentation for zx2967 family watchdog controller. Signed-off-by: Baoyou Xie Acked-by: Rob Herring --- .../bindings/watchdog/zte,zx2967-wdt.txt | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bind

[PATCH v7 2/3] MAINTAINERS: add zx2967 watchdog controller driver to ARM ZTE architecture

2017-02-02 Thread Baoyou Xie
Add the zx2967 watchdog controller driver as maintained by ARM ZTE architecture maintainers, as they're parts of the core IP. Signed-off-by: Baoyou Xie --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index edfdea3..275c434 100644 --- a/MAINTAINERS

Re: [PATCH v2 2/5] userfaultfd: non-cooperative: add event for memory unmaps

2017-02-02 Thread Michal Hocko
On Fri 27-01-17 20:44:30, Mike Rapoport wrote: > When a non-cooperative userfaultfd monitor copies pages in the background, > it may encounter regions that were already unmapped. Addition of > UFFD_EVENT_UNMAP allows the uffd monitor to track precisely changes in the > virtual memory layout. > > S

[PATCH v7 3/3] watchdog: zx2967: add watchdog controller driver for ZTE's zx2967 family

2017-02-02 Thread Baoyou Xie
This patch adds watchdog controller driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie --- drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/zx2967_wdt.c | 274 ++ 3 files changed, 285 insertions(+) cre

Re: Build failure with v4.9-rc1 and GCC trunk -- compiler weirdness

2017-02-02 Thread Ard Biesheuvel
On 1 February 2017 at 21:50, Laura Abbott wrote: > On 02/01/2017 09:36 AM, Ard Biesheuvel wrote: >> On 1 February 2017 at 16:58, Laura Abbott wrote: >>> On 10/19/2016 09:22 AM, Will Deacon wrote: On Wed, Oct 19, 2016 at 09:01:33AM -0700, Linus Torvalds wrote: > On Wed, Oct 19, 2016 at 8:

[RESEND PATCH V5 7/8] thermal: da9062/61: Thermal junction temperature monitoring driver

2017-02-02 Thread Steve Twiss
From: Steve Twiss Add junction temperature monitoring supervisor device driver, compatible with the DA9062 and DA9061 PMICs. A MODULE_DEVICE_TABLE() macro is added. If the PMIC's internal junction temperature rises above T_WARN (125 degC) an interrupt is issued. This T_WARN level is defined as t

Re: [PATCH] net: phy: dp83867: Port mirroring support in the DP83867 TI's PHY driver

2017-02-02 Thread Lukasz Majewski
Hi Andrew, > On Wed, Feb 01, 2017 at 11:13:23PM +0100, Lukasz Majewski wrote: > > Hi Andrew, > > > > > > We would need a tri-state device tree properly: > > > > > > > > 1. Not defined - do nothing > > > > 2. Defined as 0 -> explicitly disable port mirroring > > > > 3. Defined as 1 -> explicitly

Re: [PATCH 7/8] mq-deadline: add blk-mq adaptation of the deadline IO scheduler

2017-02-02 Thread Paolo Valente
> Il giorno 02 feb 2017, alle ore 06:19, Jens Axboe ha scritto: > > On 02/01/2017 04:11 AM, Paolo Valente wrote: >>> +static bool dd_bio_merge(struct blk_mq_hw_ctx *hctx, struct bio *bio) >>> +{ >>> + struct request_queue *q = hctx->queue; >>> + struct deadline_data *dd = q->elevator->elevat

Re: [PATCH 3/5] Documentation: dt: iio: document stm32 exti trigger

2017-02-02 Thread Fabrice Gasnier
On 02/01/2017 05:35 PM, Rob Herring wrote: On Mon, Jan 30, 2017 at 02:57:41PM +0100, Fabrice Gasnier wrote: Add dt documentation for st,stm32-exti-trigger. EXTi gpio signal can be routed internally as trigger source for various s/gpio/GPIO/ IPs (e.g. for ADC or DAC conversions). Please use

Re: [PATCH/RFC] arm64: defconfig: Enlarge CMA alignment to 2 MiB

2017-02-02 Thread Simon Horman
On Wed, Feb 01, 2017 at 02:06:45PM +, Robin Murphy wrote: > On 01/02/17 13:45, Magnus Damm wrote: > > Hi Geert, > > > > On Sat, Jan 28, 2017 at 1:03 AM, Geert Uytterhoeven > > wrote: > >> Some IOMMUs (e.g. Renesas IPMMU/VMSA) support only page sizes of 4 KiB, > >> 2 MiB, and 1 GiB. > >> > >>

[PATCH v4 2/8] ASoC: sun4i-i2s: Add quirks to handle a31 compatible

2017-02-02 Thread Mylène Josserand
Some SoCs have a reset line that must be asserted/deasserted. This patch adds a quirk to handle the new compatible "allwinner,sun6i-a31-i2s" which will deassert the reset line on probe function and assert it on remove's one. This new compatible is useful in case of A33 codec driver, for example.

[PATCH v4 6/8] ARM: dts: sun8i: Add audio codec, dai and card for A33

2017-02-02 Thread Mylène Josserand
Add the audio codec, dai and a simple card to be able to use the audio stream of the builtin codec on sun8i SoC. This commit adds also an audio-routing for the sound card node to link the analog DAPM widgets (Right/Left DAC) and the digital one's as they are created in different drivers. Signed-o

[PATCH v4 0/8] Add sun8i A33 audio driver

2017-02-02 Thread Mylène Josserand
Hello everyone, This a V4 of my Allwinner A33 (sun8i) audio codec driver. Tested on "for-next" branch of ASoC repository with some patches to apply before this series: https://patchwork.kernel.org/patch/9447631/ https://patchwork.kernel.org/patch/9423999/ and one of my previous patch (from V2): h

[PATCH v4 4/8] ASoC: sun8i-codec-analog: Add amplifier event to fix first delay

2017-02-02 Thread Mylène Josserand
When playing a sound for the first time, a short delay, where the audio file is not played, can be noticed. On a second play (right after), the sound is played correctly. If we wait a short time (~5 sec which corresponds to the aplay timeout), the delay is back. This patch fixes it by using an eve

[PATCH v4 8/8] ARM: dts: sun8i: sinlinx: Enable audio nodes

2017-02-02 Thread Mylène Josserand
Enable the audio codec and the audio dai for the sun8i A33 sinlinx board. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts b/arch/arm/boot/dts/sun8i

[PATCH v4 3/8] ASoC: Add sun8i digital audio codec

2017-02-02 Thread Mylène Josserand
Add the sun8i audio codec which handles the digital register of A33 codec. The driver handles only the basic playback from the DAC to headphones. All other features (microphone, capture, etc) will be added later. Signed-off-by: Mylène Josserand Acked-by: Maxime Ripard --- sound/soc/sunxi/Kconfi

[PATCH v4 5/8] ASoC: codecs: Add sun8i-a33 binding documentation

2017-02-02 Thread Mylène Josserand
Add the documentation for dt-binding of the digital audio codec driver and the audio card driver for Sun8i-a33 SoCs. Signed-off-by: Mylène Josserand Acked-by: Maxime Ripard --- .../devicetree/bindings/sound/sun8i-a33-codec.txt | 63 ++ 1 file changed, 63 insertions(+) crea

Re: [PATCH] modules: mark __inittest/__exittest as __maybe_unused

2017-02-02 Thread Rusty Russell
Arnd Bergmann writes: > clang warns about unused inline functions by default: > > arch/arm/crypto/aes-cipher-glue.c:68:1: warning: unused function '__inittest' > [-Wunused-function] > arch/arm/crypto/aes-cipher-glue.c:69:1: warning: unused function '__exittest' > [-Wunused-function] > > As these

[PATCH v4 7/8] ARM: dts: sun8i: parrot: Enable audio nodes

2017-02-02 Thread Mylène Josserand
Enable the audio codec and the audio dai for the sun8i R16 Parrot board. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-r16-parrot.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-r16-parrot.dts b/arch/arm/boot/dts/sun8i-r16-parrot.dts i

[PATCH v4 1/8] ASoC: sun4i-i2s: Update binding documentation to include A31

2017-02-02 Thread Mylène Josserand
Add a new compatible for sun4i-i2s driver to handle some SoCs that have a reset line that must be asserted/deasserted. This new compatible, "allwinner,sun6i-a31-i2s", requires the property "resets" which should be a phandle to the reset line. Except these differences, the compatible is identical t

Re: [PATCH] drm/amdgpu: shut up #warning for compile testing

2017-02-02 Thread Christian König
Am 02.02.2017 um 07:09 schrieb Michel Dänzer: [SNIP] OTOH the people running the kernel aren't always the same people building it, so the downside is that this would potentially delay getting X86_PAT enabled. And exactly for this reason I would rather like to keep the warning. Regards, Christi

Re: [PATCH] mtd: spi-nor: cqspi: remove redundant dead code on error return check

2017-02-02 Thread Cyrille Pitchen
Le 31/01/2017 à 16:53, Colin King a écrit : > From: Colin Ian King > > Checking for ret < 0 is redundant because a previous check on ret > being non-zero already handles the ret < 0 case. Remove the redundant > code. Found by CoverityScan, CID#1398863, CID#1398864 > > Signed-off-by: Colin Ian Ki

[PATCH] drm/i915: fix i915 running as dom0 under Xen

2017-02-02 Thread Juergen Gross
Commit 920cf4194954ec ("drm/i915: Introduce an internal allocator for disposable private objects") introduced a regression for the kernel running as Xen dom0: when switching to graphics mode a GPU HANG occurred. Reason seems to be a missing adaption similar to that done in commit 7453c549f5f648 ("

Re: [PATCH 1/2] net: ethernet: bgmac: init sequence bug

2017-02-02 Thread Sergei Shtylyov
Hello! On 2/2/2017 1:39 AM, Jon Mason wrote: From: Zac Schroff Fix a bug in the 'bgmac' driver init sequence that blind writes for init sequence where it should preserve most bits other than the ones it is deliberately manipulating. Signed-off-by: Zac Schroff Signed-off-by: Jon Mason Fixes

[PATCH 1/2] drm: meson: rename module name to meson-drm

2017-02-02 Thread Neil Armstrong
The module is currently names "meson.ko" which can lead to some confusion, this patches renames it "meson-drm.ko" Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/meson/Makefile b/drivers/gp

[PATCH 2/2] drm: meson: rename driver name to meson-drm

2017-02-02 Thread Neil Armstrong
The platform driver name is currently "meson" which can lead to some confusion, this patch renames it to "meson-drm" and removes the owner attribute. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/

[PATCH 0/2] drm: meson: Fixup driver and module name

2017-02-02 Thread Neil Armstrong
This patchset is a simple fixup to rename the confusion possible module and driver name "meson" to a more explicit "meson-drm" name. Neil Armstrong (2): drm: meson: rename module name to meson-drm drm: meson: rename driver name to meson-drm drivers/gpu/drm/meson/Makefile| 6 +++--- drive

Re: [PATCH 2/2] net: ethernet: bgmac: mac address change bug

2017-02-02 Thread Sergei Shtylyov
On 2/2/2017 1:39 AM, Jon Mason wrote: From: Hari Vyas ndo_set_mac_address() passes struct sockaddr * as 2nd parameter to bgmac_set_mac_address() but code assumed u8 *. This caused two bytes chopping and the wrong mac address was configured. Signed-off-by: Hari Vyas Signed-off-by: Jon Mason

Re: [PATCH] vfio: Fix build break when SPAPR_TCE_IOMMU=n

2017-02-02 Thread Michael Ellerman
Michael Ellerman writes: > Currently the kconfig logic for VFIO_IOMMU_SPAPR_TCE and VFIO_SPAPR_EEH > is broken when SPAPR_TCE_IOMMU=n. Leading to: > > warning: (VFIO) selects VFIO_IOMMU_SPAPR_TCE which has unmet direct > dependencies (VFIO && SPAPR_TCE_IOMMU) > warning: (VFIO) selects VF

Re: [RESENT PATCH] ARM: bcm2835: Add devicetree for the Raspberry Pi 3, for arm (32)

2017-02-02 Thread Stefan Wahren
Am 02.02.2017 um 09:37 schrieb Michael Zoran: This is actually a problem I had to deal with way in the begging of ARM64. What was done in the github tree was to have the one of the DTS files(in this case 64) #include the 32 bit dts. That way it's not needed to have the symbolic link and insta

Re: [PATCH v3 0/2] iov_iter: allow iov_iter_get_pages_alloc to allocate more pages per call

2017-02-02 Thread Al Viro
On Wed, Jan 25, 2017 at 08:32:03AM -0500, Jeff Layton wrote: > Small respin of the patch that I sent yesterday for the same thing. > > This moves the maxsize handling into iov_iter_pvec_size, so that we don't > end up iterating past the max size we'll use anyway when trying to > determine the page

Re: Cherryview wake up events

2017-02-02 Thread Johannes Stezenbach
Hi Mika, On Tue, Jan 31, 2017 at 03:37:40PM +0100, Johannes Stezenbach wrote: > - Powerbutton driver seems simple enough, the only specialty > of the TI dcove PB driver is the workarond for lost button > press event after resume. However, I still don't see how > the PB would cause thermal e

Re: [PATCH] staging: lustre: shut up clang warnings on CLASSERT()

2017-02-02 Thread Greg Kroah-Hartman
On Thu, Feb 02, 2017 at 07:50:24AM +, Dilger, Andreas wrote: > On Feb 1, 2017, at 09:52, Arnd Bergmann wrote: > > > > lustre uses a fake switch() statement as a compile-time assert, but > > unfortunately > > each use of that causes a warning when building with clang: > > > > drivers/staging

Re: [PATCH v2 00/10] serial: st-asc: Allow handling of RTS line

2017-02-02 Thread Greg KH
On Thu, Feb 02, 2017 at 07:42:36AM +, Lee Jones wrote: > Hi Greg, Jiri, > > > When hardware flow-control is disabled, manual toggling of the UART's > > reset line (RTS) using userland applications (e.g. stty) is not > > possible, since the ASC IP does not provide this functionality in the > >

Re: [PATCH V7 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2017-02-02 Thread Archit Taneja
On 02/01/2017 05:51 PM, Peter Senna Tschudin wrote: On 01 February, 2017 12:35 CET, Daniel Vetter wrote: On Wed, Feb 01, 2017 at 10:58:43AM +, Peter Senna Tschudin wrote: Hi Archit, On 01 February, 2017 10:44 CET, Archit Taneja wrote: On 01/30/2017 10:35 PM, Jani Nikula wrote: O

Re: [PATCHv7 6/8] printk: use printk_safe buffers in printk

2017-02-02 Thread Sergey Senozhatsky
On (02/02/17 10:07), Peter Zijlstra wrote: > On Thu, Feb 02, 2017 at 11:11:34AM +0900, Sergey Senozhatsky wrote: > > On (02/01/17 16:39), Petr Mladek wrote: > > [..] > > > I guess that you are talking about the introduction of > > > #define SCHED_WARN_ON(x) WARN_ONCE(x, #x) > > > > my guess would

Re: [RFC v3 02/10] KVM: arm/arm64: Move cntvoff to each timer context

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:02PM -0500, Jintack Lim wrote: > Make cntvoff per each timer context. This is helpful to abstract kvm > timer functions to work with timer context without considering timer > types (e.g. physical timer or virtual timer). > > This also would pave the way for ever doing

Re: [RFC v3 03/10] KVM: arm/arm64: Decouple kvm timer functions from virtual timer

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:03PM -0500, Jintack Lim wrote: > Now that we have a separate structure for timer context, make functions > generic so that they can work with any timer context, not just the > virtual timer context. This does not change the virtual timer > functionality. > > Signed-o

Re: [PATCH 1/2] gpio: Rename devm_get_gpiod_from_child()

2017-02-02 Thread Mika Westerberg
On Wed, Feb 01, 2017 at 03:51:06PM +0100, Linus Walleij wrote: > fwnode_get_named_gpiod() > devm_get_gpiod_from_child() > > Both are taking a fwnode as argument and the naming is as > inconsistent as it can be. > > Some more churn should be expected as a side > effect of naming this function wron

Business proposal

2017-02-02 Thread Qatif Group of Companies ..
Dear Friend, I would like to discuss a very important issue with you. I am writing to find out if this is your valid email. Please, let me know if this email is valid Kind regards Adrien Saif Attorney to Qatif Group of Companies

Re: [PATCH v3 3/4] driver property: constify property arrays values

2017-02-02 Thread Mika Westerberg
On Wed, Feb 01, 2017 at 09:31:24AM -0800, Dmitry Torokhov wrote: > Data that is fed into property arrays should not be modified, so let's mark > relevant pointers as const. This will allow us making source arrays as > const/__initconst. > > Also fix memory leaks on errors in property_entry_copy().

Linux 4.9.7

2017-02-02 Thread Greg KH
I'm announcing the release of the 4.9.7 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.7

2017-02-02 Thread Greg KH
diff --git a/Makefile b/Makefile index ef95231d1625..da704d903321 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 6 +SUBLEVEL = 7 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arc/include/asm/delay.h b/arch/arc/include/asm/delay.h index a36

Linux 4.4.46

2017-02-02 Thread Greg KH
I'm announcing the release of the 4.4.46 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.46

2017-02-02 Thread Greg KH
diff --git a/Makefile b/Makefile index a3dfc73da722..2dd5cb2fe182 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 45 +SUBLEVEL = 46 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arc/include/asm/delay.h b/arch/arc/include/asm/delay.h index

net: heap out-of-bounds in ip6_fragment

2017-02-02 Thread Dmitry Vyukov
Hello, The following program triggers heap out-of-bounds in ip6_fragment: https://gist.githubusercontent.com/dvyukov/2596659b7a950d5f56f1eedfb30e2c7f/raw/b12afd119d960f7d179d220238257ba9666c6fdc/gistfile1.txt BUG: KASAN: slab-out-of-bounds in skb_copy_from_linear_data include/linux/skbuff.h:3165

Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages per zone

2017-02-02 Thread Michal Hocko
On Mon 30-01-17 09:55:46, Michal Hocko wrote: > On Sun 29-01-17 00:27:27, Tetsuo Handa wrote: [...] > > Regarding [1], it helped avoiding the too_many_isolated() issue. I can't > > tell whether it has any negative effect, but I got on the first trial that > > all allocating threads are blocked on w

Re: [RFC v3 05/10] KVM: arm/arm64: Initialize the emulated EL1 physical timer

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:05PM -0500, Jintack Lim wrote: > Initialize the emulated EL1 physical timer with the default irq number. > > Signed-off-by: Jintack Lim We really need to do something about that IRQ number thing. I'll add this to my todo list. Since this is no worse than what we a

Re: [RFC v3 04/10] KVM: arm/arm64: Add the EL1 physical timer context

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:04PM -0500, Jintack Lim wrote: > Add the EL1 physical timer context. > > Signed-off-by: Jintack Lim Acked-by: Christoffer Dall

Re: [PATCH v3 4/4] i2c: allow specify device properties in i2c_board_info

2017-02-02 Thread Mika Westerberg
On Wed, Feb 01, 2017 at 09:31:25AM -0800, Dmitry Torokhov wrote: > With many drivers converting to using generic device properties, it is > useful to provide array of device properties when instantiating new i2c > client via i2c_board_info and have them automatically added to the device > in questi

Re: [RFC v3 06/10] KVM: arm/arm64: Update the physical timer interrupt level

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:06PM -0500, Jintack Lim wrote: > Now that we maintain the EL1 physical timer register states of VMs, > update the physical timer interrupt level along with the virtual one. > > Signed-off-by: Jintack Lim Acked-by: Christoffer Dall

Re: [RESENT PATCH] ARM: bcm2835: Add devicetree for the Raspberry Pi 3, for arm (32)

2017-02-02 Thread Michael Zoran
On Thu, 2017-02-02 at 10:50 +0100, Stefan Wahren wrote: > Am 02.02.2017 um 09:37 schrieb Michael Zoran: > > This is actually a problem I had to deal with way in the begging of > > ARM64.  What was done in the github tree was to have the one of the > > DTS > >    files(in this case 64) #include the

Re: [PATCH 2/2] perf/x86/intel/pt: Allow disabling branch tracing

2017-02-02 Thread Alexander Shishkin
Alexander Shishkin writes: > @@ -72,12 +77,14 @@ static struct pt_cap_desc { > PT_CAP(mtc_periods, 1, CPUID_EAX, 0x), > PT_CAP(cycle_thresholds,1, CPUID_EBX, 0x), > PT_CAP(psb_periods, 1, CPUID_EBX, 0x), > + PT_CAP(passthro

Re: [PATCH] modules: mark __inittest/__exittest as __maybe_unused

2017-02-02 Thread Arnd Bergmann
On Thu, Feb 2, 2017 at 10:25 AM, Rusty Russell wrote: > Arnd Bergmann writes: >> clang warns about unused inline functions by default: >> >> arch/arm/crypto/aes-cipher-glue.c:68:1: warning: unused function >> '__inittest' [-Wunused-function] >> arch/arm/crypto/aes-cipher-glue.c:69:1: warning: un

[PATCH 1/3] ath10k: remove ath10k_vif_to_arvif()

2017-02-02 Thread Amadeusz Sławiński
it adds unnecessary level of indirection, while we just access structure field Signed-off-by: Amadeusz Sławiński --- drivers/net/wireless/ath/ath10k/mac.c | 68 +-- drivers/net/wireless/ath/ath10k/mac.h | 7 +--- drivers/net/wireless/ath/ath10k/p2p.c | 2 +- dri

[PATCH 2/3] ath10k: use size_t for len variables

2017-02-02 Thread Amadeusz Sławiński
cleanup to consolidate type used for len variables Signed-off-by: Amadeusz Sławiński --- drivers/net/wireless/ath/ath10k/core.c | 2 +- drivers/net/wireless/ath/ath10k/debug.c| 49 +++--- drivers/net/wireless/ath/ath10k/spectral.c | 7 +++-- 3 files changed, 29

[PATCH 3/3] ath10k: fix comment

2017-02-02 Thread Amadeusz Sławiński
I wanted to take a look and it's apparently in other header Signed-off-by: Amadeusz Sławiński --- drivers/net/wireless/ath/ath10k/wmi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi.h b/drivers/net/wireless/ath/ath10k/wmi.h index 5d3dff9

Re: [RFC v3 07/10] KVM: arm/arm64: Set a background timer to the earliest timer expiration

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:07PM -0500, Jintack Lim wrote: > When scheduling a background timer, consider both of the virtual and > physical timer and pick the earliest expiration time. > > Signed-off-by: Jintack Lim Reviewed-by: Christoffer Dall

Re: [RFC v3 10/10] KVM: arm/arm64: Emulate the EL1 phys timer registers

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:10PM -0500, Jintack Lim wrote: > Emulate read and write operations to CNTP_TVAL, CNTP_CVAL and CNTP_CTL. > Now VMs are able to use the EL1 physical timer. > > Signed-off-by: Jintack Lim Reviewed-by: Christoffer Dall

Re: [RFC v3 08/10] KVM: arm/arm64: Set up a background timer for the physical timer emulation

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:08PM -0500, Jintack Lim wrote: > Set a background timer for the EL1 physical timer emulation while VMs > are running, so that VMs get the physical timer interrupts in a timely > manner. > > Schedule the background timer on entry to the VM and cancel it on exit. > This

Re: [RFC v3 09/10] KVM: arm64: Add the EL1 physical timer access handler

2017-02-02 Thread Christoffer Dall
On Wed, Feb 01, 2017 at 12:43:09PM -0500, Jintack Lim wrote: > KVM traps on the EL1 phys timer accesses from VMs, but it doesn't handle > those traps. This results in terminating VMs. Instead, set a handler for > the EL1 phys timer access, and inject an undefined exception as an > intermediate step

Re: Cherryview wake up events

2017-02-02 Thread Mika Westerberg
On Thu, Feb 02, 2017 at 10:52:00AM +0100, Johannes Stezenbach wrote: > Hi Mika, > > On Tue, Jan 31, 2017 at 03:37:40PM +0100, Johannes Stezenbach wrote: > > - Powerbutton driver seems simple enough, the only specialty > > of the TI dcove PB driver is the workarond for lost button > > press eve

[PATCH v2 0/2] drm: Support framebuffer panning

2017-02-02 Thread Maxime Ripard
Hi, This is a respin of the previous serie called "Support fast framebuffer panning for i.MX6" made by Stefan 6 monthes ago. The imx6 bits have been removed, and the comments that were made at that time fixed (hopefully). Let me know what you think, Maxime Changes from v1: - Added drm_fb_helpe

[PATCH v2 2/2] drm/fb_helper: implement ioctl FBIO_WAITFORVSYNC

2017-02-02 Thread Maxime Ripard
From: Stefan Christ Implement legacy framebuffer ioctl FBIO_WAITFORVSYNC in the generic framebuffer emulation driver. Legacy framebuffer users like non kms/drm based OpenGL(ES)/EGL implementations may require the ioctl to synchronize drawing or buffer flip for double buffering. It is tested on th

[PATCH v2 1/2] drm/cma-helper: Add multi buffer support for cma fbdev

2017-02-02 Thread Maxime Ripard
From: Xinliang Liu This patch add a config to support to create multi buffer for cma fbdev. Such as double buffer and triple buffer. Cma fbdev is convient to add a legency fbdev. And still many Android devices use fbdev now and at least double buffer is needed for these Android devices, so that

Re: [PATCH v3 22/24] media: imx: Add MIPI CSI-2 OV5640 sensor subdev driver

2017-02-02 Thread Laurent Pinchart
Hi Steve, Thank you for the patch. Many of the comments below apply to the ov5642 driver too, please take them into account when reworking patch 23/24. On Friday 06 Jan 2017 18:11:40 Steve Longerbeam wrote: > This driver is based on ov5640_mipi.c from Freescale imx_3.10.17_1.0.0_beta > branch, m

Re: [PATCH] staging: lustre: shut up clang warnings on CLASSERT()

2017-02-02 Thread Arnd Bergmann
On Thu, Feb 2, 2017 at 10:54 AM, Greg Kroah-Hartman wrote: b/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h >> > index aab15d8112a4..2d5435029185 100644 >> > --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h >> > +++ b/drivers/staging/lustre/include/linux/libcfs/libc

Re: [PATCH] staging: lustre: shut up clang warnings on CLASSERT()

2017-02-02 Thread Greg Kroah-Hartman
On Thu, Feb 02, 2017 at 11:40:32AM +0100, Arnd Bergmann wrote: > On Thu, Feb 2, 2017 at 10:54 AM, Greg Kroah-Hartman > wrote: > b/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h > >> > index aab15d8112a4..2d5435029185 100644 > >> > --- a/drivers/staging/lustre/include/linux/libcfs/lib

Re: [PATCH 1/2 v3] mm: vmscan: do not pass reclaimed slab to vmpressure

2017-02-02 Thread Michal Hocko
On Tue 31-01-17 14:32:08, Vinayak Menon wrote: > During global reclaim, the nr_reclaimed passed to vmpressure > includes the pages reclaimed from slab. But the corresponding > scanned slab pages is not passed. This can cause total reclaimed > pages to be greater than scanned, causing an unsigned un

Re: [PATCH 1/3] perf, pt, coresight: Clean up address filter structure

2017-02-02 Thread Alexander Shishkin
Mathieu Poirier writes: > Do we have two different syntax to specify the same behaviour? > > For example we have: > > --filter 'start 0x80082570/0x644' > > and > > --filter 'filter 0x80082570/0x644' > > Both will end up with filter->filter == 1 and filter->range == 1. This is another reason why

Re: [PATCH 2/2] drm: meson: rename driver name to meson-drm

2017-02-02 Thread Daniel Vetter
On Thu, Feb 02, 2017 at 10:47:44AM +0100, Neil Armstrong wrote: > The platform driver name is currently "meson" which can lead to some > confusion, this patch renames it to "meson-drm" and removes the owner > attribute. > > Signed-off-by: Neil Armstrong > --- > drivers/gpu/drm/meson/meson_drv.c

Re: [Intel-gfx] [PATCH] drm/i915: fix i915 running as dom0 under Xen

2017-02-02 Thread Daniel Vetter
On Thu, Feb 02, 2017 at 10:47:11AM +0100, Juergen Gross wrote: > Commit 920cf4194954ec ("drm/i915: Introduce an internal allocator for > disposable private objects") introduced a regression for the kernel > running as Xen dom0: when switching to graphics mode a GPU HANG > occurred. > > Reason seem

Re: [PATCH 1/2 v3] mm: vmscan: do not pass reclaimed slab to vmpressure

2017-02-02 Thread Michal Hocko
On Thu 02-02-17 11:44:22, Michal Hocko wrote: > On Tue 31-01-17 14:32:08, Vinayak Menon wrote: > > During global reclaim, the nr_reclaimed passed to vmpressure > > includes the pages reclaimed from slab. But the corresponding > > scanned slab pages is not passed. This can cause total reclaimed > >

Re: [PATCH 2/2] drm: meson: rename driver name to meson-drm

2017-02-02 Thread Neil Armstrong
On 02/02/2017 11:45 AM, Daniel Vetter wrote: > On Thu, Feb 02, 2017 at 10:47:44AM +0100, Neil Armstrong wrote: >> The platform driver name is currently "meson" which can lead to some >> confusion, this patch renames it to "meson-drm" and removes the owner >> attribute. >> >> Signed-off-by: Neil Arm

Re: [PATCH 1/2] gpio: Rename devm_get_gpiod_from_child()

2017-02-02 Thread Linus Walleij
On Mon, Jan 30, 2017 at 4:41 PM, Boris Brezillon wrote: > Rename devm_get_gpiod_from_child() into > devm_fwnode_get_gpiod_from_child() to reflect the fact that this > function is operating on a fwnode object. > > Signed-off-by: Boris Brezillon All right! So we settled we're gonna merge this and

Re: [Intel-gfx] [PATCH] drm/i915: fix i915 running as dom0 under Xen

2017-02-02 Thread Chris Wilson
On Thu, Feb 02, 2017 at 11:48:21AM +0100, Daniel Vetter wrote: > On Thu, Feb 02, 2017 at 10:47:11AM +0100, Juergen Gross wrote: > > Commit 920cf4194954ec ("drm/i915: Introduce an internal allocator for > > disposable private objects") introduced a regression for the kernel > > running as Xen dom0:

Re: ibmvtpm byteswapping inconsistency

2017-02-02 Thread Michael Ellerman
Vicky writes: >> On Jan 26, 2017, at 5:58 PM, Ashley Lai wrote: >> >> Adding Vicky from IBM. >> >> >> On 01/26/2017 04:05 PM, Jason Gunthorpe wrote: >>> On Thu, Jan 26, 2017 at 09:22:48PM +0100, Michal Such??nek wrote: >>> This is repeated a few times in the driver so I added memset to

Re: [PATCH v3 0/2] iov_iter: allow iov_iter_get_pages_alloc to allocate more pages per call

2017-02-02 Thread Christoph Hellwig
On Thu, Feb 02, 2017 at 09:51:25AM +, Al Viro wrote: > On Wed, Jan 25, 2017 at 08:32:03AM -0500, Jeff Layton wrote: > > Small respin of the patch that I sent yesterday for the same thing. > > > > This moves the maxsize handling into iov_iter_pvec_size, so that we don't > > end up iterating pas

Re: crypto: NULL deref in sha512_mb_mgr_get_comp_job_avx2

2017-02-02 Thread Dmitry Vyukov
On Wed, Feb 1, 2017 at 7:45 PM, Tim Chen wrote: > On Tue, Jan 31, 2017 at 02:16:31PM +0100, Dmitry Vyukov wrote: >> Hello, >> >> I am getting the following reports with low frequency while running >> syzkaller fuzzer. Unfortunately they are not reproducible and happen >> in a background thread, so

[PATCH 1/5] perf/sdt: Show proper hint

2017-02-02 Thread Ravi Bangoria
All events from 'perf list', except SDT events, can be directly recorded with 'perf record'. But, the flow is little different for SDT events. User has to probe on SDT events before recording them. Perf is showing misleading message when user tries to record SDT event without probing it. Show prope

  1   2   3   4   5   6   7   8   >