Re: [PATCH net-next v2 1/2] fs/crashdd: add API to collect hardware dump in second kernel

2018-04-03 Thread Andrew Lunn
On Tue, Apr 03, 2018 at 08:43:27AM +0300, Alex Vesker wrote: > > > On 4/2/2018 12:12 PM, Jiri Pirko wrote: > >Fri, Mar 30, 2018 at 05:11:29PM CEST, and...@lunn.ch wrote: > >>>Please see: > >>>http://patchwork.ozlabs.org/project/netdev/list/?series=36524 > >>> > >>>I bevieve that the solution in

Re: [PATCH v2 2/2] io: prevent compiler reordering on the default readX() implementation

2018-04-03 Thread Sinan Kaya
On 4/3/2018 7:13 AM, Arnd Bergmann wrote: > On Tue, Apr 3, 2018 at 12:49 PM, Mark Rutland wrote: >> Hi, >> >> On Fri, Mar 30, 2018 at 11:58:13AM -0400, Sinan Kaya wrote: >>> The default implementation of mapping readX() to __raw_readX() is wrong. >>> readX() has stronger

RE: [PATCH v2] arm/stacktrace: stop unwinding after an invalid address.

2018-04-03 Thread Vaneet Narang
  Hi Russell, >__dabt_usr+0x44/0x60 >0xb6748ea4 > >--- a/arch/arm/kernel/stacktrace.c >+++ b/arch/arm/kernel/stacktrace.c >@@ -92,6 +92,9 @@ static int save_trace(struct stackframe *frame, void *d) > > regs = (struct pt_regs *)frame->sp; > >+ if

Re: [PATCH v3 05/14] s390: vfio-ap: base implementation of VFIO AP device driver

2018-04-03 Thread Tony Krowiak
On 04/03/2018 06:57 AM, Cornelia Huck wrote: On Wed, 14 Mar 2018 14:25:45 -0400 Tony Krowiak wrote: Introduces a new AP device driver. This device driver is built on the VFIO mediated device framework. The framework provides sysfs interfaces that facilitate

Re: [PATCH v3 2/4] bus: fsl-mc: add restool userspace support

2018-04-03 Thread Andrew Lunn
On Tue, Apr 03, 2018 at 11:12:52AM +, Razvan Stefanescu wrote: > DPAA2 offers several object-based abstractions for modeling network > related devices (interfaces, L2 Ethernet switch) or accelerators > (DPSECI - crypto and DPDCEI - compression), the latter not up-streamed yet. > They are

Re: [PATCH v5 11/13] ARM: sun9i: smp: Add is_sun9i field

2018-04-03 Thread Chen-Yu Tsai
On Tue, Apr 3, 2018 at 4:46 PM, Maxime Ripard wrote: > On Tue, Apr 03, 2018 at 08:18:34AM +0200, Mylène Josserand wrote: >> To prepare the support of sun8i-a83t, add a field in the smp_data >> structure to enable the case of sun9i. >> >> Start to handle the differences

Re: general protection fault in try_to_wake_up

2018-04-03 Thread Petr Mladek
On Tue 2018-04-03 10:50:02, Petr Mladek wrote: > On Thu 2018-03-29 09:01:02, syzbot wrote: > > Hello, > > > > syzbot hit the following crash on upstream commit > > bcfc1f4554662d8f2429ac8bd96064a59c149754 (Sat Mar 24 16:50:12 2018 +) > > Merge tag 'pinctrl-v4.16-3' of > >

Re: [PATCH 4/8] dma-buf: add peer2peer flag

2018-04-03 Thread Daniel Vetter
On Thu, Mar 29, 2018 at 01:34:24PM +0200, Christian König wrote: > Am 29.03.2018 um 08:57 schrieb Daniel Vetter: > > On Sun, Mar 25, 2018 at 12:59:56PM +0200, Christian König wrote: > > > Add a peer2peer flag noting that the importer can deal with device > > > resources which are not backed by

Re: [PATCH v2 1/2] spi: spi-ti-qspi: Fix parameters order in regmap_update_bits calls

2018-04-03 Thread Mark Brown
On Fri, Mar 30, 2018 at 11:41:23AM +0200, Arkadiusz Kwiatkowski wrote: > This commit fixes the order of parameters passed to regmap_update_bits > function inside spi-ti-qspi driver. Accidentally the code worked > correctly when cs=0, but it is not the case for other values. This doesn't apply

[PATCH 1/5] kokr/doc: READ_ONCE() now implies smp_barrier_depends()

2018-04-03 Thread SeongJae Park
This commit applies an upstream change, commit 40555946447a ("doc: READ_ONCE() now implies smp_barrier_depends()") to the Korean version document. Signed-off-by: SeongJae Park --- Documentation/translations/ko_KR/memory-barriers.txt | 15 +-- 1 file changed, 9

[PATCH 4/5] kokr/memory-barriers: Fix description of data dependency barriers

2018-04-03 Thread SeongJae Park
This commit applies an upstream change, commit 51de78892b12 ("memory-barriers: Fix description of data dependency barriers") to the Korean version document. Signed-off-by: SeongJae Park --- Documentation/translations/ko_KR/memory-barriers.txt | 4 ++-- 1 file changed, 2

[PATCH 0/5] memory-barriers.txt: Applies upstream changes to the Korean version

2018-04-03 Thread SeongJae Park
This patchset applies upstream changes for memory-barriers.txt to the Korean version of it. SeongJae Park (5): kokr/doc: READ_ONCE() now implies smp_barrier_depends() kokr/doc: De-emphasize smp_read_barrier_depends kokr/Documentation/memory-barriers.txt: Cross-reference

[PATCH 5/5] kokr/locking/memory-barriers: De-emphasize smp_read_barrier_depends() some more

2018-04-03 Thread SeongJae Park
This commit applies an upstream change, commit f28f0868feb1 ("locking/memory-barriers: De-emphasize smp_read_barrier_depends() some more") to the Korean version documentation. Signed-off-by: SeongJae Park --- .../translations/ko_KR/memory-barriers.txt | 27

[PATCH 3/5] kokr/Documentation/memory-barriers.txt: Cross-reference "tools/memory-model/"

2018-04-03 Thread SeongJae Park
This commit applies an upstream change, commit 621df431b0ac ("Documentation/memory-barriers.txt: Cross-reference "tools/memory-model/"") to the Korean version document. Signed-off-by: SeongJae Park --- Documentation/translations/ko_KR/memory-barriers.txt | 3 +++ 1 file

Re: [PATCH 1/1] drm/xen-zcopy: Add Xen zero-copy helper DRM driver

2018-04-03 Thread Daniel Vetter
On Thu, Mar 29, 2018 at 04:19:31PM +0300, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > +static int to_refs_grant_foreign_access(struct xen_gem_object *xen_obj) > +{ > + grant_ref_t priv_gref_head; > + int ret, j, cur_ref, num_pages; >

Re: [v2,2/2] mailbox: add STMicroelectronics STM32 IPCC driver

2018-04-03 Thread Fabien DESSENNE
Just a gentle ping ... or have I missed out on a reply? On 12/03/18 11:58, Fabien DESSENNE wrote: > The STMicroelectronics STM32 Inter-Processor Communication Controller > (IPCC) is used for communicating data between two processors. > It provides a non blocking signaling mechanism to post and

[PATCH 1/3] mmc: dt-bindings: update bindings doc to support Meson-AXG SoC

2018-04-03 Thread Yixun Lan
From: Nan Li Update the documentation to list support for Meson-AXG SoC explicitly. The new binding string is necessary since this SoC introduce a few IP difference comparing to previous old generation. Signed-off-by: Nan Li Signed-off-by: Yixun Lan

Re: [PATCH v1 2/7] serdev: add dev_pm_domain_attach|detach()

2018-04-03 Thread Marcel Holtmann
Hi Sean, > In order to open up the required power gate before any operation can be > effectively performed over the serial bus between CPU and serdev, it's > clearly essential to add common attach functions for PM domains to serdev > at the probe phase. > > Similarly, the relevant dettach

Re: [PATCH v3] staging: vt6655: check for memory allocation failures

2018-04-03 Thread Dan Carpenter
On Fri, Mar 30, 2018 at 11:44:04AM +0900, Ji-Hun Kim wrote: > @@ -528,18 +528,22 @@ static void device_free_rings(struct vnt_private *priv) > priv->tx0_bufs, priv->tx_bufs_dma0); > } > > -static void device_init_rd0_ring(struct vnt_private *priv) > +static int

[tip:x86/urgent] x86/mm: Fix documentation of module mapping range with 4-level paging

2018-04-03 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 9a3b7e5e65c4b4d332df5f607c0838c3fb918673 Gitweb: https://git.kernel.org/tip/9a3b7e5e65c4b4d332df5f607c0838c3fb918673 Author: Kirill A. Shutemov AuthorDate: Mon, 2 Apr 2018 15:10:25 +0300 Committer: Ingo Molnar CommitDate:

Re: [PATCH v4 2/2] staging: vt6655: add handling memory leak on vnt_start()

2018-04-03 Thread Dan Carpenter
On Fri, Mar 30, 2018 at 02:51:55PM +0900, Ji-Hun Kim wrote: > There was no code for handling memory leaks of device_init_rings() and > request_irq(). It needs to free allocated memory in the device_init_rings() > , when request_irq() is failed. Add freeing sequences of irq and device > init rings.

Re: [PATCH v1] mm: consider non-anonymous thp as unmovable page

2018-04-03 Thread Michal Hocko
On Tue 03-04-18 14:16:18, Kirill A. Shutemov wrote: > On Tue, Apr 03, 2018 at 12:58:15PM +0200, Michal Hocko wrote: > > On Tue 03-04-18 13:54:11, Kirill A. Shutemov wrote: > > > On Tue, Apr 03, 2018 at 10:34:51AM +0200, Michal Hocko wrote: > > > > On Tue 03-04-18 08:24:06, Naoya Horiguchi wrote: >

Re: [PATCH v3 2/6] Disable instrumentation for some code

2018-04-03 Thread Russell King - ARM Linux
On Tue, Apr 03, 2018 at 12:30:42PM +0100, Marc Zyngier wrote: > On 02/04/18 13:04, Abbott Liu wrote: > > From: Andrey Ryabinin > > > > Disable instrumentation for arch/arm/boot/compressed/* > > ,arch/arm/kvm/hyp/* and arch/arm/vdso/* because those > > code won't linkd

Re: [PATCH 2/6] spi: sun4i: restrict transfer length in PIO-mode

2018-04-03 Thread Maxime Ripard
On Tue, Apr 03, 2018 at 02:08:43PM +0300, Sergey Suloev wrote: > On 04/03/2018 11:10 AM, Maxime Ripard wrote: > > On Thu, Mar 29, 2018 at 09:59:03PM +0300, Sergey Suloev wrote: > > > There is no need to handle 3/4 empty/full interrupts as the maximum > > > supported transfer length in PIO mode is

Re: [PATCH v3] vsprintf: Prevent crash when dereferencing invalid pointers

2018-04-03 Thread Petr Mladek
On Mon 2018-04-02 17:15:23, Andy Shevchenko wrote: > On Thu, 2018-03-29 at 16:53 +0200, Petr Mladek wrote: > > On Fri 2018-03-16 20:19:35, Andy Shevchenko wrote: > > > On Thu, 2018-03-15 at 16:26 +0100, Petr Mladek wrote: > > > > On Thu 2018-03-15 15:09:03, Andy Shevchenko wrote: > > > > > > I

Re: [PATCH v2 4/4] clk: qcom: Add Global Clock controller (GCC) driver for SDM845

2018-04-03 Thread Amit Nischal
On 2018-03-20 06:12, Stephen Boyd wrote: Quoting Amit Nischal (2018-03-07 23:18:15) diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig index fbf4532..54d0545 100644 --- a/drivers/clk/qcom/Kconfig +++ b/drivers/clk/qcom/Kconfig @@ -218,6 +218,16 @@ config MSM_MMCC_8996

Re: [PATCH v9 2/2] media: V3s: Add support for Allwinner CSI.

2018-04-03 Thread Hans Verkuil
On 06/03/18 03:16, Yong Deng wrote: > Allwinner V3s SoC features two CSI module. CSI0 is used for MIPI CSI-2 > interface and CSI1 is used for parallel interface. This is not > documented in datasheet but by test and guess. > > This patch implement a v4l2 framework driver for it. > > Currently,

Re: linux-next: build failure after merge of the tip tree

2018-04-03 Thread David Howells
Peter Zijlstra wrote: > I figured that since there were only a handful of users it wasn't a > popular API, also David very much knew of those patches changing it so > could easily have pulled in the special tip/sched/wait branch :/ I'm not sure I could, since I have to

Re: [PATCH v2] MIPS: io: add a barrier after register read in readX()

2018-04-03 Thread Sinan Kaya
On 4/3/2018 3:21 AM, Arnd Bergmann wrote: > On Mon, Apr 2, 2018 at 8:13 PM, Sinan Kaya wrote: >> While a barrier is present in writeX() function before the register write, >> a similar barrier is missing in the readX() function after the register >> read. This could allow

Re: [PATCH v2 2/2] io: prevent compiler reordering on the default readX() implementation

2018-04-03 Thread Arnd Bergmann
On Tue, Apr 3, 2018 at 2:44 PM, Sinan Kaya wrote: > On 4/3/2018 7:13 AM, Arnd Bergmann wrote: >> On Tue, Apr 3, 2018 at 12:49 PM, Mark Rutland wrote: >>> Hi, >>> >>> On Fri, Mar 30, 2018 at 11:58:13AM -0400, Sinan Kaya wrote: The default

Re: [PATCH] drm/atmel-hlcdc: add command line option to specify preferred depth

2018-04-03 Thread Peter Rosin
On 2018-04-03 11:10, Daniel Vetter wrote: > On Wed, Mar 28, 2018 at 12:03:39PM +0200, Peter Rosin wrote: >> On 2018-03-28 09:34, Boris Brezillon wrote: >>> Hi Peter, >>> >>> On Mon, 26 Mar 2018 09:35:02 +0200 >>> Peter Rosin wrote: >>> I have an sama5d31-based system with

Re: [RESEND PATCH v6 1/5] pwm-backlight: enable/disable the PWM before/after LCD enable toggle.

2018-04-03 Thread Lee Jones
On Wed, 28 Mar 2018, Enric Balletbo i Serra wrote: > Before this patch the enable signal was set before the PWM signal and > vice-versa on power off. This sequence is wrong, at least, it is on > the different panels datasheets that I checked, so I inverted the sequence > to follow the specs. > >

Re: [GIT PULL] arch: remove obsolete architecture ports

2018-04-03 Thread Geert Uytterhoeven
On Mon, Apr 2, 2018 at 9:54 PM, Arnd Bergmann wrote: > On Mon, Apr 2, 2018 at 8:57 PM, Linus Torvalds > wrote: > Regarding a possible revert, that would indeed involve reverting > multiple patches for most architectures, plus parts of at least these

Re: [RESEND PATCH v6 2/5] dt-bindings: pwm-backlight: add PWM delay proprieties.

2018-04-03 Thread Lee Jones
On Wed, 28 Mar 2018, Enric Balletbo i Serra wrote: > Hardware needs a delay between setting an initial (non-zero) PWM and > enabling the backlight using GPIO. The post-pwm-on-delay-ms specifies > this delay in milli seconds. Hardware also needs a delay between disabing > the backlight using GPIO

Re: [RESEND PATCH v6 3/5] pwm-backlight: add support for PWM delays proprieties.

2018-04-03 Thread Lee Jones
On Wed, 28 Mar 2018, Enric Balletbo i Serra wrote: > Some panels (i.e. N116BGE-L41), in their power sequence specifications, > request a delay between set the PWM signal and enable the backlight and > between clear the PWM signal and disable the backlight. Add support for > the new

Re: general protection fault in try_to_wake_up

2018-04-03 Thread Petr Mladek
On Tue 2018-04-03 11:13:33, Peter Zijlstra wrote: > On Tue, Apr 03, 2018 at 10:50:03AM +0200, Petr Mladek wrote: > > raw_spin_lock() succeeded here. Therefore lockdep was still working > > at this stage. > > What does the success of raw_spin_lock() have to do with lockdep ? It means that also

Re: [PATCH] usb: musb: Support gadget mode when the port is set to dual role

2018-04-03 Thread Maxime Ripard
Hi, On Thu, Mar 29, 2018 at 01:57:24PM +0200, Paul Kocialkowski wrote: > On Thu, 2018-03-29 at 11:23 +0200, Maxime Ripard wrote: > > On Wed, Mar 28, 2018 at 11:52:13PM +0200, Paul Kocialkowski wrote: > > > This allows dual-role ports to be reported as having gadget mode by > > > the > > >

[PATCH v5 3/3] MIPS: use generic GCC library routines from lib/

2018-04-03 Thread Matt Redfearn
From: Antony Pavlov The commit b35cd9884fa5 ("lib: Add shared copies of some GCC library routines") makes it possible to share generic GCC library routines by several architectures. This commit removes several generic GCC library routines from arch/mips/lib/ in favour

Re: [RFC PATCH 0/3] kernel: add support for 256-bit IO access

2018-04-03 Thread Ingo Molnar
* Pavel Machek wrote: > > > > Yeah, so generic memcpy() replacement is only feasible I think if the > > > > most > > > > optimistic implementation is actually correct: > > > > > > > > - if no preempt disable()/enable() is required > > > > > > > > - if direct access to the

Re: [PATCH 1/8] bindings: PCI: designware: Example update

2018-04-03 Thread Kishon Vijay Abraham I
Hi, On Tuesday 03 April 2018 04:22 PM, Kishon Vijay Abraham I wrote: > > > On Tuesday 03 April 2018 04:03 PM, Gustavo Pimentel wrote: >> Hi Kishon, >> >> On 02/04/2018 06:23, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Wednesday 28 March 2018 05:08 PM, Gustavo Pimentel wrote: Changes

Re: [PATCH v3 08/14] s390: vfio-ap: sysfs interfaces to configure adapters

2018-04-03 Thread Cornelia Huck
On Wed, 14 Mar 2018 14:25:48 -0400 Tony Krowiak wrote: > diff --git a/drivers/s390/crypto/vfio_ap_private.h > b/drivers/s390/crypto/vfio_ap_private.h > index a388b66..f6e7ed1 100644 > --- a/drivers/s390/crypto/vfio_ap_private.h > +++

[GIT PULL for v4.17-rc1] media updates

2018-04-03 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v4.17-1 For: - New CEC pin injection code for testing purposes; - DVB frontend cxd2099 promoted from staging; - New platform driver for Sony cxd2880 DVB devices; - New sensor

[GIT PULL] pin control bulk changes for v4.17

2018-04-03 Thread Linus Walleij
Hi Linus, here is the bulk of pin control changes for the v4.17 kernel cycle, all details are in the signed tag as usual. This has seen some rotation in linux-next and should be a smooth merge, I just tested to pull it into your tree and all seems to work fine. Some ACKed deletions already came

Re: [PATCH v3] vsprintf: Prevent crash when dereferencing invalid pointers

2018-04-03 Thread Petr Mladek
On Tue 2018-04-03 10:12:37, Sergey Senozhatsky wrote: > On (04/02/18 17:15), Andy Shevchenko wrote: > > > > > > Hmm, I have never seen the error code in this form. > > > > We have limited space to print it and error numbers currently can be up > > to 0xfff (4095). So, I have no better idea how

Re: [Question] MFD driver that handles clocks/resets and populates child nodes

2018-04-03 Thread Masahiro Yamada
2018-04-03 17:03 GMT+09:00 Lee Jones : > On Mon, 02 Apr 2018, Andrew Lunn wrote: > >> On Mon, Apr 02, 2018 at 10:21:01PM +0900, Masahiro Yamada wrote: >> > 2018-04-02 21:04 GMT+09:00 Andrew Lunn : >> > >> The maintainer of DWC3, Felipe Balbi, requested to >> >

Re: [PATCH 2/2] crypto: ccree: enable support for hardware keys

2018-04-03 Thread Milan Broz
On 03/31/2018 07:30 PM, Gilad Ben-Yossef wrote: ... >> Are there other crypto drivers doing this? > > I thought the exact same thing until I ran into a presentation about the s390 > secure keys implementation. I basically imitated their use (or abuse?) > of the Crypto API > assuming it is the way

Re: [PATCH v1] kernel/trace:check the val against the available mem

2018-04-03 Thread Steven Rostedt
On Tue, 3 Apr 2018 14:16:14 +0200 Michal Hocko wrote: > > This came up because there's scripts or programs that set the size of > > the ring buffer. The complaint was that the application would just set > > the size to something bigger than what was available and cause an OOM

[PATCH 2/5] MIPS: perf: Use correct VPE ID when setting up VPE tracing

2018-04-03 Thread Matt Redfearn
There are a couple of FIXME's in the perf code which state that cpu_data[event->cpu].vpe_id reports 0 for both CPUs. This is no longer the case, since the vpe_id is used extensively by SMP CPS. VPE local counting gets around this by using smp_processor_id() instead. As it happens this does work

Re: WARNING in add_uevent_var

2018-04-03 Thread Johannes Berg
On Sun, 2018-04-01 at 23:01 -0700, syzbot wrote: > So far this crash happened 5 times on net-next, upstream. > C reproducer: https://syzkaller.appspot.com/x/repro.c?id=6614377067184128 > Huh, fun. Looks like you're basically creating a new HWSIM radio with an insanely long name (4k!) and

Re: [Question] MFD driver that handles clocks/resets and populates child nodes

2018-04-03 Thread Lee Jones
On Tue, 03 Apr 2018, Masahiro Yamada wrote: > 2018-04-03 17:03 GMT+09:00 Lee Jones : > > On Mon, 02 Apr 2018, Andrew Lunn wrote: > > > >> On Mon, Apr 02, 2018 at 10:21:01PM +0900, Masahiro Yamada wrote: > >> > 2018-04-02 21:04 GMT+09:00 Andrew Lunn : > >> >

Re: [PATCH v5 11/13] ARM: sun9i: smp: Add is_sun9i field

2018-04-03 Thread Maxime Ripard
On Tue, Apr 03, 2018 at 08:18:34AM +0200, Mylène Josserand wrote: > To prepare the support of sun8i-a83t, add a field in the smp_data > structure to enable the case of sun9i. > > Start to handle the differences between sun9i-a80 and sun8i-a83t > by using this variable. > > Add an index to

Re: [PATCH] usb: dwc3: of-simple: use managed and shared reset control

2018-04-03 Thread Philipp Zabel
On Tue, 2018-04-03 at 17:30 +0900, Masahiro Yamada wrote: > 2018-04-03 17:00 GMT+09:00 Philipp Zabel : > > On Thu, 2018-03-29 at 15:07 +0900, Masahiro Yamada wrote: > > > This driver handles the reset control in a common manner; deassert > > > resets before use, assert them

Re: [PATCH v5 05/13] ARM: dts: sun8i: Add R_CPUCFG device node for the A83T dtsi

2018-04-03 Thread Chen-Yu Tsai
On Tue, Apr 3, 2018 at 2:18 PM, Mylène Josserand wrote: > The R_CPUCFG is a collection of registers needed for SMP bringup > on clusters and cluster's reset. > For the moment, documentation about this register is found in > Allwinner's code only. > > Signed-off-by:

[GIT PULL] MMC for v.4.17

2018-04-03 Thread Ulf Hansson
Hi Linus, Here's the PR with MMC updates for v.4.17. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 661e50bc853209e41a5c14a290ca4decc43cbfd1: Linux 4.16-rc4 (2018-03-04 14:54:11 -0800) are

[PATCH v5 1/3] Add notrace to lib/ucmpdi2.c

2018-04-03 Thread Matt Redfearn
From: Palmer Dabbelt As part of the MIPS conversion to use the generic GCC library routines, Matt Redfearn discovered that I'd missed a notrace on __ucmpdi2(). This patch rectifies the problem. CC: Matt Redfearn CC: Antony Pavlov

[PATCH] drm/virtio: fix vq wait_event condition

2018-04-03 Thread Gerd Hoffmann
Wait until we have enough space in the virt queue to actually queue up our request. Avoids the guest spinning in case we have a non-zero amount of free entries but not enough for the request. Cc: sta...@vger.kernel.org Reported-by: Alain Magloire Signed-off-by: Gerd

Re: [PATCH] selftests/ftrace: fix spelling mistake: "tiggers" -> "triggers"

2018-04-03 Thread Dan Carpenter
On Fri, Mar 30, 2018 at 09:51:21AM -0600, Shuah Khan wrote: > On 03/29/2018 12:04 PM, Steven Rostedt wrote: > > On Thu, 29 Mar 2018 11:54:28 -0600 > > Shuah Khan wrote: > > > >> I will pick this up with your Ack Steve, unless you want include > >> it in your pull request. > >

[PATCH 2/3] mmc: meson-axg: add support for the Meson-AXG platform

2018-04-03 Thread Yixun Lan
From: Nan Li Introduce the compatible data to cover the register offset & mask change of the eMMC controller in Amlogic's Meson-AXG SoC. Signed-off-by: Nan Li Signed-off-by: Yixun Lan --- drivers/mmc/host/meson-gx-mmc.c | 61

[PATCH 3/3] mmc: meson: update doc to support Meson-AXG platform

2018-04-03 Thread Yixun Lan
From: Nan Li Explicitly update the docomentation to support the Meson-AXG platform. Signed-off-by: Nan Li Signed-off-by: Yixun Lan --- drivers/mmc/host/Kconfig| 4 ++-- drivers/mmc/host/meson-gx-mmc.c | 2 +- 2 files

[PATCH 0/3] mmc: meson-axg: initial support for AXG SoC platform

2018-04-03 Thread Yixun Lan
The patches series try to enable basic eMMC support in the Meson-AXG platfrom. Currently HS200 mode is tested with clock running at 166MHz, since not all boards are stable to running 200MHz (due to tuning phase error), we will further improve the tuning phase driver in the future, but in

Re: [PATCH] perf/x86/intel: move regs->flags EXACT bit init

2018-04-03 Thread Ingo Molnar
* Stephane Eranian wrote: > This patch removes a redundant store on regs->flags introduced > by commit: > > 71eb9ee9596d ("perf/x86/intel: Fix linear IP of PEBS real_ip on Haswell and > later CPUs") > > We were clearing the PERF_EFLAGS_EXACT but it was overwritten by >

Re: [PATCH 3/8] bindings: PCI: designware: Add support for the EP in designware driver

2018-04-03 Thread Gustavo Pimentel
Hi Kishon, On 02/04/2018 06:35, Kishon Vijay Abraham I wrote: > > > On Wednesday 28 March 2018 05:08 PM, Gustavo Pimentel wrote: >> Signed-off-by: Gustavo Pimentel > > Please add a commit message. Ok. I'll add. Thanks for noticing it. >> --- >>

Re: [PATCH 3/8] bindings: PCI: designware: Add support for the EP in designware driver

2018-04-03 Thread Kishon Vijay Abraham I
Hi, On Tuesday 03 April 2018 04:13 PM, Gustavo Pimentel wrote: > Hi Kishon, > > On 02/04/2018 06:35, Kishon Vijay Abraham I wrote: >> >> >> On Wednesday 28 March 2018 05:08 PM, Gustavo Pimentel wrote: >>> Signed-off-by: Gustavo Pimentel >> >> Please add a commit

Re: [PATCH v1] mm: consider non-anonymous thp as unmovable page

2018-04-03 Thread Kirill A. Shutemov
On Tue, Apr 03, 2018 at 10:34:51AM +0200, Michal Hocko wrote: > On Tue 03-04-18 08:24:06, Naoya Horiguchi wrote: > > On Tue, Apr 03, 2018 at 09:59:28AM +0200, Michal Hocko wrote: > > > On Tue 03-04-18 13:46:28, Naoya Horiguchi wrote: > > > > My testing for the latest kernel supporting thp

Re: [PATCH v8 05/18] ext4, dax: introduce ext4_dax_aops

2018-04-03 Thread Jan Kara
On Fri 30-03-18 21:02:36, Dan Williams wrote: > In preparation for the dax implementation to start associating dax pages > to inodes via page->mapping, we need to provide a 'struct > address_space_operations' instance for dax. Otherwise, direct-I/O > triggers incorrect page cache assumptions and

[GIT pull] irq updates for 4.17

2018-04-03 Thread Thomas Gleixner
Linus, please pull the latest irq-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-core-for-linus The usual pile of boring changes: - Consolidate tasklet functions to share code instead of duplicating it - The first step for making the low level

Re: [PATCH] selftests/ftrace: fix spelling mistake: "tiggers" -> "triggers"

2018-04-03 Thread Julia Lawall
On Tue, 3 Apr 2018, Steven Rostedt wrote: > On Tue, 3 Apr 2018 13:07:05 +0300 > Dan Carpenter wrote: > > > On Fri, Mar 30, 2018 at 09:51:21AM -0600, Shuah Khan wrote: > > > On 03/29/2018 12:04 PM, Steven Rostedt wrote: > > > > On Thu, 29 Mar 2018 11:54:28 -0600 > > >

Re: [RFC] Is it correctly that the usage for spin_{lock|unlock}_irq in clear_page_dirty_for_io

2018-04-03 Thread Michal Hocko
On Mon 02-04-18 19:50:50, Wang Long wrote: > > Hi,  Johannes Weiner and Tejun Heo > > I use linux-4.4.y to test the new cgroup controller io and the current > stable kernel linux-4.4.y has the follow logic > > > int clear_page_dirty_for_io(struct page *page){ > ... > ... >    

Re: Signal handling in a page fault handler

2018-04-03 Thread Chris Wilson
Quoting Matthew Wilcox (2018-04-02 15:10:58) > > Souptick and I have been auditing the various page fault handler routines > and we've noticed that graphics drivers assume that a signal should be > able to interrupt a page fault. In contrast, the page cache takes great > care to allow only fatal

Re: [PATCH v6 1/3] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder

2018-04-03 Thread jacopo mondi
Hi Rob, sorry for pointing to you directly :) On Mon, Apr 02, 2018 at 04:36:55PM +0300, Laurent Pinchart wrote: > Hi Vladimir, > > On Tuesday, 27 March 2018 14:03:25 EEST Vladimir Zapolskiy wrote: > > On 03/27/2018 01:10 PM, jacopo mondi wrote: > > > On Tue, Mar 27, 2018 at 12:37:31PM +0300,

[PATCH 1/5] MIPS: perf: More robustly probe for the presence of per-tc counters

2018-04-03 Thread Matt Redfearn
Processors implementing the MIPS MT ASE may have performance counters implemented per core or per TC. Processors implemented by MIPS and the BMIPS5000 signify presence per TC through a bit in the implementation specific Config7 register. Currently the code which probes for their presence blindly

[PATCH] MAINTAINERS: Add drm/xen-front maintainer entry

2018-04-03 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Add myself as drivers/gpu/drm/xen maintainer. Signed-off-by: Oleksandr Andrushchenko --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH 2/6] clocksource/drivers/npcm: Add NPCM7xx timer driver

2018-04-03 Thread Daniel Lezcano
From: Tomer Maimon Add Nuvoton BMC NPCM7xx timer driver. The clocksource Enable 24-bit TIMER0 and TIMER1 counters, while TIMER0 serve as clockevent and TIMER1 serve as clocksource. Signed-off-by: Tomer Maimon Reviewed-by: Brendan Higgins

[PATCH 6/6] clocksource/drivers/imx-tpm: Add different counter width support

2018-04-03 Thread Daniel Lezcano
From: Anson Huang Different TPM modules have different width counters which is 16-bit or 32-bit, the counter width can be read from TPM_PARAM register bit[23:16], this patch adds dynamic check for counter width to support both 16-bit and 32-bit TPM modules. Signed-off-by:

[PATCH 5/6] clocksource/drivers/imx-tpm: Correct some registers operation flow

2018-04-03 Thread Daniel Lezcano
From: Anson Huang According to i.MX7ULP reference manual, TPM_SC_CPWMS can ONLY be written when counter is disabled, TPM_SC_TOF is write-1-clear, TPM_C0SC_CHF is also write-1-clear, correct these registers initialization flow; Signed-off-by: Anson Huang

[PATCH 1/6] dt-binding: timer: document NPCM7xx timer DT bindings

2018-04-03 Thread Daniel Lezcano
From: Tomer Maimon Added device tree binding documentation for Nuvoton NPCM7xx timer. Signed-off-by: Tomer Maimon Acked-by: Rob Herring Reviewed-by: Brendan Higgins Signed-off-by: Daniel Lezcano

Re: [PATCH] ALSA: hda/realtek: Enable audio line out on ASUS D640SA

2018-04-03 Thread Jian-Hong Pan
2018-04-02 19:29 GMT+08:00 Takashi Iwai : > > On Mon, 02 Apr 2018 09:33:13 +0200, > Jian-Hong Pan wrote: > > > > This ASUS D640SA desktop whose mother board is D640MB has > > - two jacks which are a headphone and a mic on the front panel, > > - three jacks which are a mic, a line

Re: [PATCH 10/10] softirq: Remove __ARCH_SET_SOFTIRQ_PENDING

2018-04-03 Thread Peter Zijlstra
On Tue, Apr 03, 2018 at 07:52:25AM +0200, Martin Schwidefsky wrote: > On Thu, 29 Mar 2018 20:08:36 +0200 > Peter Zijlstra wrote: > > > On Thu, Mar 29, 2018 at 04:53:43PM +0200, Martin Schwidefsky wrote: > > > The lowcore optimization for softirq_pending field is not really

Re: [PATCH 2/2] HID: i2c-hid: Fix resume issue on Raydium touchscreen device

2018-04-03 Thread Aaron Ma
Hi Jiri: This patch is pending for long time. Could you merge this single patch to upstream? Regards, Aaron

Re: linux-next: build failure after merge of the tip tree

2018-04-03 Thread Peter Zijlstra
On Tue, Apr 03, 2018 at 03:41:22PM +1000, Stephen Rothwell wrote: > Caused by commit > > 9b8cce52c4b5 ("sched/wait: Remove the wait_on_atomic_t() API") > > interacting with commits > > d3be4d244330 ("xrpc: Fix potential call vs socket/net destruction race") > 31f5f9a1691e ("rxrpc: Fix

Re: [PATCH 1/6] x86/intel_rdt/mba_sc: Add documentation for MBA software controller

2018-04-03 Thread Thomas Gleixner
On Thu, 29 Mar 2018, Vikas Shivappa wrote: > +Memory bandwidth(b/w) in MegaBytes > +-- > + > +Memory bandwidth is a core specific mechanism which means that when the > +Memory b/w percentage is specified in the schemata per package it > +actually is applied on a per

Re: [PATCH v3 05/14] s390: vfio-ap: base implementation of VFIO AP device driver

2018-04-03 Thread Cornelia Huck
On Tue, 27 Mar 2018 16:45:02 +0200 Pierre Morel wrote: > On 27/03/2018 13:17, Cornelia Huck wrote: > > On Thu, 15 Mar 2018 13:25:25 -0400 > > Tony Krowiak wrote: > > > >> On 03/15/2018 09:25 AM, Pierre Morel wrote: > >>> On 14/03/2018

Re: [PATCH 2/2] crypto: ccree: enable support for hardware keys

2018-04-03 Thread Herbert Xu
On Sat, Mar 31, 2018 at 08:30:46PM +0300, Gilad Ben-Yossef wrote: > > However, as it uses the exact same mechanism of the regular xts-aes-ccree > but takes the key from another source, I've marked it with a test of > alg_test_null() on the premise that if the xts-aes-ccree works, so must this.

Re: [PATCH] usb: dwc3: of-simple: use managed and shared reset control

2018-04-03 Thread Masahiro Yamada
2018-04-03 17:46 GMT+09:00 Philipp Zabel : > On Tue, 2018-04-03 at 17:30 +0900, Masahiro Yamada wrote: >> 2018-04-03 17:00 GMT+09:00 Philipp Zabel : >> > On Thu, 2018-03-29 at 15:07 +0900, Masahiro Yamada wrote: >> > > This driver handles the reset

Re: [PATCHv3 8/8] ARM: dts: omap4-droid4: Add LCD panel rotation property

2018-04-03 Thread Pavel Machek
On Fri 2018-03-30 19:18:22, Sebastian Reichel wrote: > This adds a LCD panel rotation hint to the Droid 4. If the > display is rotated this way the keyboard can be used properly. > > Signed-off-by: Sebastian Reichel Hmm. Aha. And this the place where confusion

Re: [PATCHv4 10/10] ARM: dts: omap4-droid4: update backlight led-controller

2018-04-03 Thread Pavel Machek
On Fri 2018-03-30 19:24:14, Sebastian Reichel wrote: > From: Sebastian Reichel > > This updates the backlight led-controller node to follow the > new binding instead of the legacy out-of-tree binding. > > Signed-off-by: Sebastian Reichel 9,10: Acked-by: Pavel

Re: [PATCHv4 08/10] backlight: add TI LMU backlight driver

2018-04-03 Thread Pavel Machek
Hi! > +enum ti_lmu_bl_type { > + TI_LMU_BL, /* backlight userspace interface */ > + TI_LMU_LED, /* led userspace interface */ > +}; ... > +static int ti_lmu_bl_add_device(struct ti_lmu_bank *lmu_bank) > +{ > + switch (lmu_bank->type) { > + case TI_LMU_BL: > + return

Re: [PATCH v2 2/2] io: prevent compiler reordering on the default readX() implementation

2018-04-03 Thread Mark Rutland
Hi, On Fri, Mar 30, 2018 at 11:58:13AM -0400, Sinan Kaya wrote: > The default implementation of mapping readX() to __raw_readX() is wrong. > readX() has stronger ordering semantics. Compiler is allowed to reorder > __raw_readX(). Could you please specify what the compiler is potentially

Re: [PATCHv4 06/10] mfd: ti-lmu: add PWM support

2018-04-03 Thread Pavel Machek
On Fri 2018-03-30 19:24:10, Sebastian Reichel wrote: > This adds support to acquire the optional PWM channel, > that can be used by some of the LMU variants. > > Signed-off-by: Sebastian Reichel Patches 1-6: Acked-by: Pavel Machek

Re: [PATCH v1] kernel/trace:check the val against the available mem

2018-04-03 Thread Michal Hocko
On Fri 30-03-18 10:20:38, Steven Rostedt wrote: > > [ Adding memory management folks to discuss the issue ] > > On Thu, 29 Mar 2018 18:41:44 +0800 > Zhaoyang Huang wrote: > > > It is reported that some user app would like to echo a huge > > number to

[PATCH v6 RESEND 0/1] drm/xen-front: Add support for Xen PV display frontend

2018-04-03 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Resending with even more checkpatch code-style fixes. Hello! Boris/Daniel, I put your R-b tags, so please do let me know if this is not acceptable, so I remove the tags. This patch series adds support for Xen [1] para-virtualized

Re: [PATCH v1] xen-blkfront: dynamic configuration of per-vbd resources

2018-04-03 Thread Roger Pau Monné
On Mon, Apr 02, 2018 at 01:42:32PM -0400, Konrad Rzeszutek Wilk wrote: > From: Bob Liu > > The current VBD layer reserves buffer space for each attached device based on > three statically configured settings which are read at boot time. > * max_indirect_segs: Maximum amount

Re: [PATCH 2/6] spi: sun4i: restrict transfer length in PIO-mode

2018-04-03 Thread Sergey Suloev
On 04/03/2018 11:10 AM, Maxime Ripard wrote: On Thu, Mar 29, 2018 at 09:59:03PM +0300, Sergey Suloev wrote: There is no need to handle 3/4 empty/full interrupts as the maximum supported transfer length in PIO mode is 64 bytes for sun4i-family SoCs. That assumes that you'll be able to treat the

Re: [PATCH v8 06/18] ext2, dax: introduce ext2_dax_aops

2018-04-03 Thread Jan Kara
On Fri 30-03-18 21:02:41, Dan Williams wrote: > In preparation for the dax implementation to start associating dax pages > to inodes via page->mapping, we need to provide a 'struct > address_space_operations' instance for dax. Otherwise, direct-I/O > triggers incorrect page cache assumptions and

Re: [PATCH v1] kernel/trace:check the val against the available mem

2018-04-03 Thread Steven Rostedt
On Tue, 3 Apr 2018 13:06:12 +0200 Michal Hocko wrote: > > I wonder if I should have the ring buffer allocate groups of pages, to > > avoid this. Or try to allocate with NORETRY, one page at a time, and > > when that fails, allocate groups of pages with RETRY_MAYFAIL, and that

Re: WARNING in account_page_dirtied

2018-04-03 Thread Jan Kara
Hello, On Sun 01-04-18 10:01:02, syzbot wrote: > syzbot hit the following crash on upstream commit > 10b84daddbec72c6b440216a69de9a9605127f7a (Sat Mar 31 17:59:00 2018 +) > Merge branch 'perf-urgent-for-linus' of > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > syzbot dashboard link:

RE: [PATCH v3 00/13] remoteproc: add fixed memory region support

2018-04-03 Thread Loic PALLARDY
Hi Bjorn, Just a gentle ping... As discussed during Linaro connect, I'll appreciate if you can share me your comments... Regards, Loic > -Original Message- > From: Loic PALLARDY > Sent: Thursday, March 01, 2018 5:24 PM > To: bjorn.anders...@linaro.org; o...@wizery.com > Cc:

[PATCH] media: gspca: fix Kconfig help info

2018-04-03 Thread winton.liu
Documentation/video4linux/gspca.txt is missing. It has moved to Documentation/media/v4l-drivers/gspca-cardlist.rst Signed-off-by: winton.liu <18502523...@163.com> --- drivers/media/usb/gspca/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2] phy: tegra: Remove self cast in tegra_xusb_port_find_lane

2018-04-03 Thread Nathan Chancellor
On Tue, Apr 03, 2018 at 12:49:16PM +0200, Thierry Reding wrote: > On Sun, Apr 01, 2018 at 04:04:10AM -0700, Nathan Chancellor wrote: > > Clang warns about casting variables to themselves because it is rarely > > necessary. Removing the cast should not change anything regarding the > > code and

Re: [PATCH] sched/rt: Fix rq->clock_update_flags < RQCF_ACT_SKIP warning

2018-04-03 Thread Matt Fleming
On Mon, 02 Apr, at 09:49:54AM, Davidlohr Bueso wrote: > > We can get rid of it be the "traditional" means of adding an > update_rq_clock() call > after acquiring the rq->lock in do_sched_rt_period_timer(). > > The case for the rt task throttling (which this workload also hits) can be > ignored

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