[PATCH] HID: asus: Add i2c touchpad support

2016-11-29 Thread Brendan McGrath
Update the hid-asus module to add multitouch support for the Asus i2c touchpad. Signed-off-by: Brendan McGrath Signed-off-by: Victor Vlasenko Signed-off-by: Frederik Wenigwieser --- This patch aims to resolve the issue raised here: https://bugzilla.kernel.org/show_bug.cgi?id=120181 The issue i

Re: [PATCH v2 05/12] mm: thp: add core routines for thp/pmd migration

2016-11-29 Thread Naoya Horiguchi
On Mon, Nov 28, 2016 at 03:31:32PM +0100, Michal Hocko wrote: > On Tue 08-11-16 08:31:50, Naoya Horiguchi wrote: > > This patch prepares thp migration's core code. These code will be open when > > unmap_and_move() stops unconditionally splitting thp and get_new_page() > > starts > > to allocate de

Re: [PATCH 1/4] KVM: nVMX: support restore of VMX capability MSRs

2016-11-29 Thread Paolo Bonzini
> On Mon, Nov 28, 2016 at 2:48 PM, Paolo Bonzini wrote: > > On 28/11/2016 22:11, David Matlack wrote: > >> > PINBASED_CTLS, PROCBASED_CTLS, EXIT_CTLS and ENTRY_CTLS can be derived > >> > from their "true" counterparts, so I think it's better to remove the > >> > "non-true" ones from struct nested_

Re: [PATCH] proc: mm: export PTE sizes directly in smaps (v2)

2016-11-29 Thread Vlastimil Babka
On 11/28/2016 10:39 PM, Dave Hansen wrote: > ... cc'ing the arm64 maintainers > > On 11/28/2016 01:07 PM, Vlastimil Babka wrote: >> On 11/28/2016 05:52 PM, Dave Hansen wrote: >>> On 11/24/2016 06:22 AM, Vlastimil Babka wrote: On 11/17/2016 01:28 AM, Dave Hansen wrote: > @@ -702,11 +707,13

Re: [PATCH] mtd: Allocate bdi objects dynamically

2016-11-29 Thread Sandeep Jain
Dear Maintainers, This patch is already reviewed twice with no issues. Requesting your attention for patch merge. Thanks & Regards, Sandeep Jain On Sat, Nov 05, 2016 at 08:22:31AM +0100, Marek Vasut wrote: > On 11/03/2016 12:34 PM, Sandeep Jain wrote: > > Dear Maintainers, > > This patch is

Re: [lkp] [rcu] a7410f28ce: INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 0-... } 25089 jiffies s: 9 root: 0x1/.

2016-11-29 Thread Sebastian Andrzej Siewior
On 2016-11-29 01:34:57 [+0800], Ye Xiaolong wrote: > Thanks for the explanation, we'll ignore this kind of reports. And sorry for > the noise. This is "special" because my patch enabled the "expedited" RCU on its own. This kind of report against a network driver (for instance) would probably mean

Re: [PATCH 0/2] more quirks for hid-sensor-hub

2016-11-29 Thread Benjamin Tissoires
On Nov 28 2016 or thereabouts, Srinivas Pandruvada wrote: > Hi Benjamin, > > On Fri, 2016-11-25 at 11:03 +0100, Benjamin Tissoires wrote: > > Hi Jiri, > > > > here are 2 more quirks for the sensor-hub. > > > > Srinivas, I am wondering if we can not detect those automatically. > > Looking at the

Re: [PATCH v2] vxlan: fix a potential issue when create a new vxlan fdb entry.

2016-11-29 Thread Jiri Benc
On Tue, 29 Nov 2016 09:59:36 +0800, Haishuang Yan wrote: > vxlan_fdb_append may return error, so add the proper check, > otherwise it will cause memory leak. > > Signed-off-by: Haishuang Yan > > Changes in v2: > - Unnecessary to initialize rc to zero. Acked-by: Jiri Benc

Re: [PATCH v2 06/12] mm: thp: enable thp migration in generic path

2016-11-29 Thread Naoya Horiguchi
On Mon, Nov 28, 2016 at 03:33:32PM +0100, Michal Hocko wrote: > On Tue 08-11-16 08:31:51, Naoya Horiguchi wrote: > > This patch makes it possible to support thp migration gradually. If you fail > > to allocate a destination page as a thp, you just split the source thp as we > > do now, and then ent

Re: [PATCH 4/7] time: alarmtimer: Add the tracepoints for alarmtimer

2016-11-29 Thread Baolin Wang
On 29 November 2016 at 15:23, Ingo Molnar wrote: > > * John Stultz wrote: > >> From: Baolin Wang >> >> For system debugging, we sometimes want to know who sets one >> alarm timer, the time of the timer, when the timer started and >> fired and so on. Thus adding tracepoints can help us trace the

RE: [PATCH v3] crypto: add virtio-crypto driver

2016-11-29 Thread Gonglei (Arei)
Hi, > > > > +source "drivers/crypto/virtio/Kconfig" > > > > + > > > > endif # CRYPTO_HW > > > > diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile > > > > index ad7250f..bc53cb8 100644 > > > > --- a/drivers/crypto/Makefile > > > > +++ b/drivers/crypto/Makefile > > > > @@ -32,3 +32,4 @

Re: [PATCH v3 07/11] pwm: imx: Provide atomic PWM support for i.MX PWMv2

2016-11-29 Thread Boris Brezillon
On Mon, 28 Nov 2016 21:48:57 +0100 Lukasz Majewski wrote: > Dear Boris, Stefan, > > > On Mon, 28 Nov 2016 06:50:31 +0100 > > Lukasz Majewski wrote: > > > > > Dear Stefan, Boris, > > > > > > > On 2016-11-23 00:38, Boris Brezillon wrote: > > > > > On Tue, 22 Nov 2016 13:55:33 -0800 > >

Re: [PATCH] hv: utils: properly pick TS protocol version for future hosts

2016-11-29 Thread Vitaly Kuznetsov
"Alex Ng (LIS)" writes: >> -Original Message- >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] >> Sent: Monday, November 28, 2016 8:30 AM >> To: de...@linuxdriverproject.org >> Cc: linux-kernel@vger.kernel.org; KY Srinivasan ; >> Haiyang Zhang ; Alex Ng (LIS) >> >> Subject: [PATCH]

Re: BUG: User triggerable kernel panic in 4.8 (possibly 4.9)

2016-11-29 Thread Jan Kara
Hello, Thanks for report. I suspect this bug got lost in the noise of linux-kernel. Adding more relevant lists and people to CC. Honza On Thu 20-10-16 15:24:37, Darren Austin wrote: > [ Please CC me with any replies as I will be lea

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

2016-11-29 Thread Herbert Xu
On Tue, Nov 29, 2016 at 08:34:08AM +, Horia Geantă wrote: > > > Fixes: da40e7a4ba4d ("crypto: aes-ce - Convert to skcipher") > > Fixes: 211f41af534a ("crypto: aesbs - Convert to skcipher") > The fix for this commit is missing. > CRYPTO_AES_ARM_BS also needs to select CRYPTO_SIMD. Thanks. I'll

Re: [PATCH v2 04/12] mm: thp: introduce CONFIG_ARCH_ENABLE_THP_MIGRATION

2016-11-29 Thread Michal Hocko
On Tue 29-11-16 07:50:06, Naoya Horiguchi wrote: > On Mon, Nov 28, 2016 at 03:21:54PM +0100, Michal Hocko wrote: > > On Tue 08-11-16 08:31:49, Naoya Horiguchi wrote: > > > Introduces CONFIG_ARCH_ENABLE_THP_MIGRATION to limit thp migration > > > functionality to x86_64, which should be safer at the

Re: [PATCH v2 1/7] MFD: add bindings for stm32 general purpose timer driver

2016-11-29 Thread Benjamin Gaignard
2016-11-27 16:41 GMT+01:00 Jonathan Cameron : > On 27/11/16 14:10, Jonathan Cameron wrote: >> On 24/11/16 15:14, Benjamin Gaignard wrote: >>> Add bindings information for stm32 general purpose timer >>> >>> version 2: >>> - rename stm32-mfd-timer to stm32-gptimer >>> - only keep one compatible stri

Re: [PATCH] b: re-queue tx dma request on herror

2016-11-29 Thread Maxim Uvarov
Hello Bin, thanks for decoding errors. I was able to reproduce it with the latest master while logs are for 4.1 kernel. The main reason was 25 mhz generator instead of 24 on remote hid device. With replacing everything looks better, i.e. hidraw can operate 3-4 days and then the same continuous mus

Re: [RFC PATCH 1/3] drm: Add support for Amlogic Meson Graphic Controller

2016-11-29 Thread Daniel Vetter
Hi Neil, On Mon, Nov 28, 2016 at 10:34:58AM +0100, Neil Armstrong wrote: > On 11/28/2016 09:16 AM, Daniel Vetter wrote: > > On Fri, Nov 25, 2016 at 05:03:09PM +0100, Neil Armstrong wrote: > >> +static void meson_cvbs_encoder_disable(struct drm_encoder *encoder) > >> +{ > >> + struct meson_cvbs *m

[PATCH 0/2] powerpc: hw_breakpoint for book3s/32 and 8xx

2016-11-29 Thread Christophe Leroy
This serie provides HW breakpoints on 32 bits Book3S and 8xx Tested on mpc8321 Tested on mpc885 Christophe Leroy (2): powerpc/32: Enable HW_BREAKPOINT on BOOK3S powerpc/8xx: Implement hw_breakpoint arch/powerpc/Kconfig | 2 +- arch/powerpc/include/asm/processor.h | 2 +- a

[PATCH 2/2] powerpc/8xx: Implement hw_breakpoint

2016-11-29 Thread Christophe Leroy
This patch implements HW breakpoint on the 8xx. The 8xx has capability to manage HW breakpoints, which is slightly different than BOOK3S: 1/ The breakpoint match doesn't trigger a DSI exception but a dedicated data breakpoint exception. 2/ The breakpoint happens after the instruction has completed,

[PATCH 1/2] powerpc/32: Enable HW_BREAKPOINT on BOOK3S

2016-11-29 Thread Christophe Leroy
BOOK3S also has DABR register and capability to handle data breakpoints, so this patch enable it on all BOOK3S, not only 64 bits. Signed-off-by: Christophe Leroy --- arch/powerpc/Kconfig | 2 +- arch/powerpc/include/asm/processor.h | 2 +- 2 files changed, 2 insertions(+), 2 dele

[PATCH][v8] timekeeping: Ignore the bogus sleep time if pm_trace is enabled

2016-11-29 Thread Chen Yu
Previously we encountered memory overflow issues due to bogus sleep time brought by an inconsistent RTC, which is triggered when pm_trace is enabled, and we have fixed it in recent kernels. However it's improper in the first place to call __timekeeping_inject_sleeptime() in case pm_trace is enabled

Re: [PATCH 1/6] dax: fix build breakage with ext4, dax and !iomap

2016-11-29 Thread Jan Kara
On Mon 28-11-16 12:15:04, Ross Zwisler wrote: > On Thu, Nov 24, 2016 at 10:02:39AM +0100, Jan Kara wrote: > > On Wed 23-11-16 11:44:17, Ross Zwisler wrote: > > > With the current Kconfig setup it is possible to have the following: > > > > > > CONFIG_EXT4_FS=y > > > CONFIG_FS_DAX=y > > > CONFIG_FS_

RE: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-29 Thread ASIX_Allan [Office]
Dear Jon , We can reproduce your issue on x86 Linux kernel 4.9.0-rc system in our site and modified the following code can fix this issue. Please let us know if you still have problems. Thanks a lot. static void ax88772_suspend(struct usbnet *dev) { struct asix_common_private *priv = dev-

Re: [PATCH v2] net: macb: Write only necessary bits in NCR in macb reset

2016-11-29 Thread Nicolas Ferre
Le 29/11/2016 à 06:56, Harini Katakam a écrit : > In macb_reset_hw, use read-modify-write to disable RX and TX. > Existing settings, for ex. management port enable, > are being cleared in the current implementation. > Also certain reserved bits are read only. > Hence it is better to use read-modify

Re: [PATCH V1] i2c: designware: fix wrong tx/rx fifo for ACPI

2016-11-29 Thread Mika Westerberg
On Tue, Nov 29, 2016 at 10:32:07AM +0700, Tin Huynh wrote: > ACPI always sets txfifo and rxfifo to 32. This configuration will > cause problem if the IP core supports a fifo size of 16 bytes only. > Set the default value to 0 so the driver will get these parameters > from IP core. Except when tho

Re: linux-next: manual merge of the net-next tree with the net tree

2016-11-29 Thread Borislav Petkov
On Tue, Nov 29, 2016 at 11:22:32AM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > drivers/net/ethernet/amd/xgbe/xgbe-main.c > > between commit: > > 91eefaabf102 ("amd-xgbe: Fix unused suspend handlers build warning") > > fr

Re: [RFC PATCH 1/3] drm: Add support for Amlogic Meson Graphic Controller

2016-11-29 Thread Neil Armstrong
Hi Daniel, On 11/29/2016 09:50 AM, Daniel Vetter wrote: > Hi Neil, > > On Mon, Nov 28, 2016 at 10:34:58AM +0100, Neil Armstrong wrote: >> On 11/28/2016 09:16 AM, Daniel Vetter wrote: >>> On Fri, Nov 25, 2016 at 05:03:09PM +0100, Neil Armstrong wrote: +static void meson_cvbs_encoder_disable(st

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

2016-11-29 Thread Horia Geantă
On 11/29/2016 10:09 AM, Herbert Xu wrote: > On Tue, Nov 29, 2016 at 11:55:29AM +1100, Stephen Rothwell wrote: >> Hi Herbert, >> >> After merging the crypto tree, today's linux-next build (arm >> multi_v7_defconfig) failed like this: >> >> ERROR: "simd_skcipher_free" [arch/arm/crypto/aes-arm-ce.ko]

Re: [PATCH] tty: nozomi: avoid sprintf buffer overflow

2016-11-29 Thread Arnd Bergmann
On Tuesday, November 29, 2016 8:14:32 AM CET Jiri Slaby wrote: > > Could you also kill the now unused _err_flag_ parameter (including the > only user of NFO)? Right. I was trying to avoid taking the cleanup too far, lacking a way to properly test it, but that would have been an obvious change.

Re: RFC: documentation of the autogroup feature

2016-11-29 Thread Michael Kerrisk (man-pages)
[Resending because of bounces from the lists. (Somehow my mailer messed up the MIME labeling)] Hi Mike, On 11/28/2016 02:46 AM, Mike Galbraith wrote: > On Sun, 2016-11-27 at 22:13 +0100, Michael Kerrisk (man-pages) wrote: > >> Here's my attempt to define the root task group: >> >>* If au

Re: [PATCH V2] leds: pca955x: Add ACPI support for pca955x

2016-11-29 Thread Mika Westerberg
On Tue, Nov 29, 2016 at 10:18:47AM +0700, Tin Huynh wrote: > This patch enables ACPI support for leds-pca955x driver. > > Signed-off-by: Tin Huynh > --- > drivers/leds/leds-pca955x.c | 22 +- > 1 files changed, 21 insertions(+), 1 deletions(-) > > Change from V1: > -Remov

Re: [PATCH v2 11/13] clocksource: export the clocks_calc_mult_shift to use by timestamp code

2016-11-29 Thread Thomas Gleixner
On Mon, 28 Nov 2016, Grygorii Strashko wrote: > From: Murali Karicheri > > The CPSW CPTS driver is capable of doing timestamping on tx/rx packets and > requires to know mult and shift factors for timestamp conversion from raw > value to nanoseconds (ptp clock). Now these mult and shift factors a

Re: [PATCH 4/7] time: alarmtimer: Add the tracepoints for alarmtimer

2016-11-29 Thread Ingo Molnar
* Baolin Wang wrote: > On 29 November 2016 at 15:23, Ingo Molnar wrote: > > > > * John Stultz wrote: > > > >> From: Baolin Wang > >> > >> For system debugging, we sometimes want to know who sets one > >> alarm timer, the time of the timer, when the timer started and > >> fired and so on. Thus

RE: [PATCH net-next] net: hns: Fix to conditionally convey RX checksum flag to stack

2016-11-29 Thread Salil Mehta
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Monday, November 28, 2016 5:13 PM > To: Salil Mehta > Cc: Zhuangyuzeng (Yisen); mehta.salil@gmail.com; > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Linuxarm > Subject: Re: [PATCH net-next] net: hns

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-11-29 Thread Michal Marek
Dne 29.11.2016 v 03:31 Nicholas Piggin napsal(a): > On Tue, 29 Nov 2016 01:15:48 + > Ben Hutchings wrote: > >> [I've had to guess at the cc list for this, because we no longer have >> mail archives that preserve them.] > > You got it about right. > >> On Fri, 2016-11-25 at 10:01 -0800, Linu

Re: [PATCH] HID: asus: Add i2c touchpad support

2016-11-29 Thread Benjamin Tissoires
On Nov 29 2016 or thereabouts, Brendan McGrath wrote: > Update the hid-asus module to add multitouch support for the Asus i2c > touchpad. > > Signed-off-by: Brendan McGrath > Signed-off-by: Victor Vlasenko > Signed-off-by: Frederik Wenigwieser > --- > This patch aims to resolve the issue raise

Re: linux-next: manual merge of the mmc tree with the block tree

2016-11-29 Thread Ulf Hansson
+Jens On 28 November 2016 at 03:12, Stephen Rothwell wrote: > Hi Ulf, > > Today's linux-next merge of the mmc tree got a conflict in: > > drivers/mmc/card/block.c > > between commit: > > e806402130c9 ("block: split out request-only flags into a new namespace") > > from the block tree and comm

Re: [PATCH V1] leds: pca963x: Add ACPI support

2016-11-29 Thread Mika Westerberg
On Tue, Nov 29, 2016 at 11:18:20AM +0700, Tin Huynh wrote: > This patch enables ACPI support for leds-pca963x driver. > > Signed-off-by: Tin Huynh Acked-by: Mika Westerberg

Re: [PATCH 0/2] media protect enable and disable source handler paths

2016-11-29 Thread Mauro Carvalho Chehab
Em Mon, 28 Nov 2016 19:15:12 -0700 Shuah Khan escreveu: > These two patches fix enable and disable source handler paths. These > aren't dependent patches, grouped because they fix similar problems. Those two patches should be fold, as applying just the first patch would cause au0828 to try to do

Re: linux-next: manual merge of the mmc tree with the block tree

2016-11-29 Thread Christoph Hellwig
On Tue, Nov 29, 2016 at 10:13:59AM +0100, Ulf Hansson wrote: > Jens, Christoph, I believe I said this before; could you please make > sure patches for mmc also becomes cc:ed to me? > Don't get me wrong, I have no problem you carrying changes for mmc, > especially clean-ups like this one, but it jus

Re: [PATCH] arm64: dts: Add symlinks for cros-ec-keyboard and cros-ec-sbs

2016-11-29 Thread Heiko Stübner
Am Montag, 28. November 2016, 15:51:35 schrieb Brian Norris: > Hi Olof, Arnd, > > On Thu, May 12, 2016 at 03:02:10PM -0700, Doug Anderson wrote: > > We'd like to be able to use the cros-ec-keyboard.dtsi and > > cros-ec-sbs.dtsi snippets for arm64 devices. Currently those files live > > in the arm

Re: perf: fuzzer BUG: KASAN: stack-out-of-bounds in __unwind_start

2016-11-29 Thread Peter Zijlstra
On Mon, Nov 28, 2016 at 11:52:41PM -0600, Josh Poimboeuf wrote: > > We used to do that, but the resulting NMIs were problematic on some > > platforms. Perhaps things have gotten better? > > Did a little digging on git blame and found the following commit (which > seems to be the cause of the KASA

Re: [patch 4/8] x86/tsc: Verify TSC_ADJUST from idle

2016-11-29 Thread Thomas Gleixner
On Mon, 21 Nov 2016, Peter Zijlstra wrote: > On Mon, Nov 21, 2016 at 09:16:44AM +0100, Thomas Gleixner wrote: > > On Sun, 20 Nov 2016, Peter Zijlstra wrote: > > > On Sat, Nov 19, 2016 at 01:47:37PM -, Thomas Gleixner wrote: > > > > When entering idle, it's a good oportunity to verify that the T

Re: [PATCH 1/5] ASoC: core: Add component pin control functions

2016-11-29 Thread Charles Keepax
On Mon, Nov 28, 2016 at 05:32:26PM +, Richard Fitzgerald wrote: > It's often the case that a codec driver will need to control its > own pins. However, if a name_prefix has been applied to this codec it > must be included in the name passed to any of the snd_soc_dapm_x_pin() > functions. > > T

[PATCH] doc: Explain light-handed markup preference a bit better

2016-11-29 Thread Daniel Vetter
We already had a super-short blurb, but worth extending it I think: We're still pretty far away from anything like a consensus, but there's clearly a lot of people who prefer an as-light as possible approach to converting existing .txt files to .rst. Make sure this is properly taken into account an

Re: [PATCH 2/2] media: protect enable and disable source handler checks and calls

2016-11-29 Thread Sakari Ailus
Hi Shuah, On Mon, Nov 28, 2016 at 07:15:14PM -0700, Shuah Khan wrote: > Protect enable and disable source handler checks and calls from dvb-core > and v4l2-core. Hold graph_mutex to check if enable and disable source > handlers are present and invoke them while holding the mutex. This change > ens

Re: [PATCH v5 8/8] iommu/rockchip: Enable Rockchip IOMMU on ARM64

2016-11-29 Thread Heiko Stübner
Am Montag, 28. November 2016, 16:42:27 schrieb Brian Norris: > Hi, > > On Fri, Jun 24, 2016 at 10:13:33AM +0800, Shunqian Zheng wrote: > > From: Simon Xue > > > > This patch makes it possible to compile the rockchip-iommu driver on > > ARM64, so that it can be used with 64-bit SoCs equipped with

Re: linux-next: manual merge of the mmc tree with the block tree

2016-11-29 Thread Ulf Hansson
On 29 November 2016 at 10:16, Christoph Hellwig wrote: > On Tue, Nov 29, 2016 at 10:13:59AM +0100, Ulf Hansson wrote: >> Jens, Christoph, I believe I said this before; could you please make >> sure patches for mmc also becomes cc:ed to me? >> Don't get me wrong, I have no problem you carrying chan

Re: [PATCH 2/5] ASoC: arizona: Use component pin control functions

2016-11-29 Thread Charles Keepax
On Mon, Nov 28, 2016 at 05:32:27PM +, Richard Fitzgerald wrote: > We need to modify the state of some of our own pins and are currently > not taking account that the pin name may have a name_prefix applied > to it. > > Replace the snd_soc_dapm_x_pin functions with the equivalent > snd_soc_comp

Re: [PATCH v2] drm: tilcdc: fix parsing of some DT properties

2016-11-29 Thread Jyri Sarha
On 11/28/16 13:37, Bartosz Golaszewski wrote: > The DT binding for tildc is not consistent with the driver code: there > are two options - 'max-width' and 'max-pixelclock' specified in the > documentation which are parsed as 'ti,max-width' and > 'ti'max-pixelclock' respectively. > > Make the drive

Re: [PATCH] perf/x86: fix event counter update issue

2016-11-29 Thread Peter Zijlstra
So caveat that I'm ill and cannot think much.. On Mon, Nov 28, 2016 at 11:26:46AM -0800, kan.li...@intel.com wrote: > Here, all the possible failure cases are listed. > Terms: > - new: current PMU counter value which read from rdpmcl. > - prev: previous counter value which is stored in &

Re: [PATCH v3] crypto: add virtio-crypto driver

2016-11-29 Thread Stefan Hajnoczi
On Tue, Nov 29, 2016 at 08:22:58AM +, Gonglei (Arei) wrote: > Hi, > > > > > > +source "drivers/crypto/virtio/Kconfig" > > > > > + > > > > > endif # CRYPTO_HW > > > > > diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile > > > > > index ad7250f..bc53cb8 100644 > > > > > --- a/driver

Re: [PATCH v12 2/7] x86/arch_prctl/64: Rename do_arch_prctl to do_arch_prctl_64

2016-11-29 Thread Ingo Molnar
* Kyle Huey wrote: > On Thu, Nov 17, 2016 at 11:27 PM, Ingo Molnar wrote: > > > > * Kyle Huey wrote: > > > >> In order to introduce new arch_prctls that are not 64 bit only, rename the > >> existing 64 bit implementation to do_arch_prctl_64(). Also rename the > >> second > >> argument to arch

Re: [PATCH V1] i2c: designware: fix wrong tx/rx fifo for ACPI

2016-11-29 Thread Mika Westerberg
On Tue, Nov 29, 2016 at 04:15:13PM +0700, Tin Huynh wrote: >Yes , My IP core supports 16 bytes size only . Should we get this >parameter from ACPI table instead of 32 ? What if we set the default 32 from ACPI as currently but then read the value from hardware as well and pick the smaller o

[PULL] irqchip updates for 4.10

2016-11-29 Thread Marc Zyngier
Thomas, Here's a selection of irqchip patches for 4.10. Nothing really major (which is a relief), apart for Zubair's effort to consolidate the Xylinx irq controller across three different architectures. Please pull! Thanks, M. The following changes since commit 4e201566402c878a225d4425

Re: [PATCH 2/7] timekeeping: Ignore the bogus sleep time if pm_trace is enabled

2016-11-29 Thread Chen Yu
On Tue, Nov 29, 2016 at 08:19:55AM +0100, Ingo Molnar wrote: > > * John Stultz wrote: > > > From: Chen Yu > > > > Previously we encountered some memory overflow issues due to > > the bogus sleep time brought by inconsistent rtc, which is > > triggered when pm_trace is enabled, and we have fixe

Re: [PATCH v3] crypto: add virtio-crypto driver

2016-11-29 Thread Cornelia Huck
On Tue, 29 Nov 2016 09:25:49 + Stefan Hajnoczi wrote: > On Tue, Nov 29, 2016 at 08:22:58AM +, Gonglei (Arei) wrote: > > Hi, > > > > > > > > +source "drivers/crypto/virtio/Kconfig" > > > > > > + > > > > > > endif # CRYPTO_HW > > > > > > diff --git a/drivers/crypto/Makefile b/drivers/cryp

RE: [PATCH v3] crypto: add virtio-crypto driver

2016-11-29 Thread Gonglei (Arei)
> > On Tue, Nov 29, 2016 at 08:22:58AM +, Gonglei (Arei) wrote: > > Hi, > > > > > > > > +source "drivers/crypto/virtio/Kconfig" > > > > > > + > > > > > > endif # CRYPTO_HW > > > > > > diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile > > > > > > index ad7250f..bc53cb8 100644 > >

Re: [PATCH v2] Fix objtool with clang

2016-11-29 Thread Jiri Olsa
On Mon, Nov 28, 2016 at 05:40:46PM -0200, Arnaldo Carvalho de Melo wrote: SNIP > LD /tmp/build/perf/pmu-events/pmu-events-in.o > CC /tmp/build/perf/arch/x86/util/intel-bts.o > CC /tmp/build/perf/builtin-buildid-cache.o > CC /tmp/build/perf/builtin-list.o > LD

Re: [PATCH] ovl: tentative fix for broken vfs_open() on stacked overlayfs.

2016-11-29 Thread Miklos Szeredi
On Mon, Nov 28, 2016 at 12:06:09PM +0100, Quentin Casasnovas wrote: > > > > But it looks like it was re-introduced in: > > > > > > > > 2d902671ce1c ("vfs: merge .d_select_inode() into .d_real()") Here's a slightly different patch. It should work exactly the same, but the error handling is hop

Re: [PATCH V1] i2c: designware: fix wrong tx/rx fifo for ACPI

2016-11-29 Thread Tin Huynh
On Tue, Nov 29, 2016 at 4:26 PM, Mika Westerberg wrote: > On Tue, Nov 29, 2016 at 04:15:13PM +0700, Tin Huynh wrote: >>Yes , My IP core supports 16 bytes size only . Should we get this >>parameter from ACPI table instead of 32 ? > > What if we set the default 32 from ACPI as currently but

[PATCH v3 net-next 6/6] ARM64: dts: marvell: Add network support for Armada 3700

2016-11-29 Thread Gregory CLEMENT
Add neta nodes for network support both in device tree for the SoC and the board. Signed-off-by: Gregory CLEMENT --- arch/arm64/boot/dts/marvell/armada-3720-db.dts | 23 +++- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 23 +++- 2 files changed, 46 insertions(

[PATCH v3 net-next 0/6] Support Armada 37xx SoC (ARMv8 64-bits) in mvneta driver

2016-11-29 Thread Gregory CLEMENT
Hi, The Armada 37xx is a new ARMv8 SoC from Marvell using same network controller as the older Armada 370/38x/XP SoCs. This series adapts the driver in order to be able to use it on this new SoC. The main changes are: - 64-bits support: the first patches allow using the driver on a 64-bit archi

[PATCH v2 3/3] kdb: Call vkdb_printf() from vprintk_default() only when wanted

2016-11-29 Thread Petr Mladek
kdb_trap_printk allows to pass normal printk() messages to kdb via vkdb_printk(). For example, it is used to get backtrace using the classic show_stack(), see kdb_show_stack(). vkdb_printf() tries to avoid a potential infinite loop by disabling the trap. But this approach is racy, for example: CP

Re: [PATCH v6 1/2] tpm: enhance read_log_of() to support Physical TPM event log

2016-11-29 Thread Nayna
On 11/26/2016 09:45 PM, Jarkko Sakkinen wrote: On Sat, Nov 26, 2016 at 07:45:38AM -0500, Nayna Jain wrote: Physical TPMs use Open Firmware Device Tree bindings that are similar to the IBM Power virtual TPM to support event log. However, these properties store the values in different endianness

Re: [PATCH v2 01/13] net: ethernet: ti: cpts: switch to readl/writel_relaxed()

2016-11-29 Thread Richard Cochran
On Mon, Nov 28, 2016 at 05:03:25PM -0600, Grygorii Strashko wrote: > Switch to readl/writel_relaxed() APIs, because this is recommended > API and the CPTS IP is reused on Keystone 2 SoCs > where LE/BE modes are supported. > > Signed-off-by: Grygorii Strashko Acked-by: Richard Cochran

[PATCH v2 2/3] kdb: Properly synchronize vkdb_printf() calls with other CPUs

2016-11-29 Thread Petr Mladek
kdb_printf_lock does not prevent other CPUs from entering the critical section because it is ignored when KDB_STATE_PRINTF_LOCK is set. The problematic situation might look like: CPU0CPU1 vkdb_printf() if (!KDB_STATE(PRINTF_LOCK)) KDB_STATE_SET(PRINTF_LO

[PATCH v2 1/3] kdb: Remove unused kdb_event handling

2016-11-29 Thread Petr Mladek
kdb_event state variable is only set but never checked in the kernel code. http://www.spinics.net/lists/kdb/msg01733.html suggests that this variable affected WARN_CONSOLE_UNLOCKED() in the original implementation. But this check never went upstream. The semantic is unclear and racy. The value is

[PATCH v3 net-next 4/6] net: mvneta: Only disable mvneta_bm for 64-bits

2016-11-29 Thread Gregory CLEMENT
Actually only the mvneta_bm support is not 64-bits compatible. The mvneta code itself can run on 64-bits architecture. Signed-off-by: Gregory CLEMENT --- drivers/net/ethernet/marvell/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/marvell/Kconfi

[PATCH v3 net-next 3/6] net: mvneta: Convert to be 64 bits compatible

2016-11-29 Thread Gregory CLEMENT
From: Marcin Wojtas Prepare the mvneta driver in order to be usable on the 64 bits platform such as the Armada 3700. [gregory.clem...@free-electrons.com]: this patch was extract from a larger one to ease review and maintenance. Signed-off-by: Marcin Wojtas Signed-off-by: Gregory CLEMENT ---

[PATCH v2 0/3] kdb: Fix locking in vkdb_printf()

2016-11-29 Thread Petr Mladek
This patchset fixes some races that I noticed when looked over the kdbd_printf() code. v2 is based on the feedback from Daniel Thompson and Sergey Senozhatsky. Changes agaist v1: + Completely remove kdb_event (Daniel) + Avoid using smp_processor_id() (Sergey) + Better describe the whole sit

[PATCH v3 net-next 1/6] net: mvneta: Optimize rx path for small frame

2016-11-29 Thread Gregory CLEMENT
For small frame reuse the phys_addr variable instead of accessing the uncacheable value in the rx descriptor. Signed-off-by: Gregory CLEMENT --- drivers/net/ethernet/marvell/mvneta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/marvell/mvneta.c b/driv

Re: [PATCH] extcon: arizona: Simplify micd_pol_gpio handling

2016-11-29 Thread Chanwoo Choi
Hi Charles, On 2016년 11월 25일 22:44, Charles Keepax wrote: > Currently we handle both old style GPIO and new style GPIOD differently > simplify this slightly by converting the old style GPIO to a GPIOD and > just using that from then on. > > Signed-off-by: Charles Keepax > --- > drivers/extcon/e

Re: [PATCH 04/22] idle/intel: Convert to hotplug state machine

2016-11-29 Thread Sebastian Andrzej Siewior
On 2016-11-28 18:29:41 [+0100], Thomas Gleixner wrote: > Why do you want to store that. There is no exit function AFAICT. There was one until 02c4fae9ea68 ("drivers/idle: make intel_idle.c driver more explicitly non-modular"). I am going to remove it… > Thanks, > > tglx Sebastian

[PATCH v3 net-next 5/6] net: mvneta: Add network support for Armada 3700 SoC

2016-11-29 Thread Gregory CLEMENT
From: Marcin Wojtas Armada 3700 is a new ARMv8 SoC from Marvell using same network controller as older Armada 370/38x/XP. There are however some differences that needed taking into account when adding support for it: * open default MBUS window to 4GB of DRAM - Armada 3700 SoC's Mbus configurat

Re: [PATCH v2 02/13] net: ethernet: ti: allow cpts to be built separately

2016-11-29 Thread Richard Cochran
On Mon, Nov 28, 2016 at 05:03:26PM -0600, Grygorii Strashko wrote: > diff --git a/drivers/net/ethernet/ti/cpts.c b/drivers/net/ethernet/ti/cpts.c > +EXPORT_SYMBOL_GPL(cpts_unregister); > + > +MODULE_LICENSE("GPL v2"); > +MODULE_DESCRIPTION("TI CPTS ALE driver"); ALE? Also, MODULE_AUTHOR (that's

[PATCH v3 net-next 2/6] net: mvneta: Use cacheable memory to store the rx buffer virtual address

2016-11-29 Thread Gregory CLEMENT
Until now the virtual address of the received buffer were stored in the cookie field of the rx descriptor. However, this field is 32-bits only which prevents to use the driver on a 64-bits architecture. With this patch the virtual address is stored in an array not shared with the hardware (no more

Re: [virtio-dev] Re: [PATCH v3] crypto: add virtio-crypto driver

2016-11-29 Thread Cornelia Huck
On Tue, 29 Nov 2016 01:37:44 + "Gonglei (Arei)" wrote: > > On Mon, 28 Nov 2016 20:08:23 +0800 > > Gonglei wrote: > > > > > +static int virtcrypto_update_status(struct virtio_crypto *vcrypto) > > > +{ > > > + u32 status; > > > + int err; > > > + > > > + virtio_cread(vcrypto->vdev, > > > +

Re: [PATCH] drivers/extcon: Fix incompatible pointer type warning

2016-11-29 Thread Chanwoo Choi
On 2016년 11월 28일 11:37, Peter Foley wrote: > CC [M] drivers/extcon/extcon-adc-jack.o > ../drivers/extcon/extcon-adc-jack.c:115:52: error: incompatible pointer types > passing 'const enum extcon *' to parameter of type 'const unsigned int *' > [-Werror,-Wincompatible-pointer-types] > da

Re: [PATCH v3] iommu/ipmmu-vmsa: Add r8a7796 DT binding

2016-11-29 Thread Geert Uytterhoeven
On Wed, Nov 23, 2016 at 3:40 PM, Magnus Damm wrote: > From: Magnus Damm > > Update the IPMMU DT binding documentation to include the r8a7796 compat > string for R-Car M3-W. > > Signed-off-by: Magnus Damm > Acked-by: Laurent Pinchart > Acked-by: Rob Herring > Acked-by: Simon Horman Acked-by:

Re: [PATCH v2 6/7] IIO: add STM32 IIO timer driver

2016-11-29 Thread Benjamin Gaignard
2016-11-27 16:42 GMT+01:00 Jonathan Cameron : > I delved into the datasheet after trying to figure this out, so I think > I now sort of understand your intent, but please do answer the questions > inline. > > On 24/11/16 15:14, Benjamin Gaignard wrote: >> Timers IPs can be used to generate triggers

Re: [PATCH v2 04/13] net: ethernet: ti: cpts: fix unbalanced clk api usage in cpts_register/unregister

2016-11-29 Thread Richard Cochran
On Mon, Nov 28, 2016 at 05:03:28PM -0600, Grygorii Strashko wrote: > There are two issues with TI CPTS code which are reproducible when TI > CPSW ethX device passes few up/down iterations: > - cpts refclk prepare counter continuously incremented after each > up/down iteration; > - devm_clk_get(dev,

Re: [PATCH v2 05/13] net: ethernet: ti: cpts: fix registration order

2016-11-29 Thread Richard Cochran
On Mon, Nov 28, 2016 at 05:03:29PM -0600, Grygorii Strashko wrote: > The ptp clock registered before spinlock, which is protecting it, and > before timecounter and cyclecounter initialization in cpts_register(). > > So, ensure that ptp clock is registered the last, after everything > else is done.

Re: [PATCH v2 06/13] net: ethernet: ti: cpts: disable cpts when unregistered

2016-11-29 Thread Richard Cochran
On Mon, Nov 28, 2016 at 05:03:30PM -0600, Grygorii Strashko wrote: > The cpts now is left enabled after unregistration. > Hence, disable it in cpts_unregister(). > > Signed-off-by: Grygorii Strashko Acked-by: Richard Cochran

Re: [PATCH v3 net-next 2/6] net: mvneta: Use cacheable memory to store the rx buffer virtual address

2016-11-29 Thread Marcin Wojtas
Hi Gregory, Apparently HWBM had a mistake in implementation, please see below. 2016-11-29 10:37 GMT+01:00 Gregory CLEMENT : > Until now the virtual address of the received buffer were stored in the > cookie field of the rx descriptor. However, this field is 32-bits only > which prevents to use th

[PATCH 04/22 v2] idle/intel: Convert to hotplug state machine

2016-11-29 Thread Sebastian Andrzej Siewior
Install the callbacks via the state machine and let the core invoke the callbacks on the already online CPUs. The two smp_call_function_single() invocations in intel_idle_cpu_init() have been removed because intel_idle_cpu_init() is now invoked via the hotplug callback which runs on the target CPU

Re: [PATCH v3] seq_file: reset iterator to first record for zero offset

2016-11-29 Thread Miklos Szeredi
On Mon, Nov 28, 2016 at 4:11 PM, Tomasz Majchrzak wrote: > If kernfs file is empty on a first read, successive read operations > using the same file descriptor will return no data, even when data is > available. Default kernfs 'seq_next' implementation advances iterator > position even when next o

Re: [PATCH v2] Fix objtool with clang

2016-11-29 Thread Jiri Olsa
On Tue, Nov 29, 2016 at 10:32:24AM +0100, Jiri Olsa wrote: > On Mon, Nov 28, 2016 at 05:40:46PM -0200, Arnaldo Carvalho de Melo wrote: > > SNIP > > > LD /tmp/build/perf/pmu-events/pmu-events-in.o > > CC /tmp/build/perf/arch/x86/util/intel-bts.o > > CC /tmp/build/perf/built

Re: [PATCH] drm/vc4: Fix race between page flip completion event and clean-up

2016-11-29 Thread Daniel Stone
On 28 November 2016 at 22:31, Eric Anholt wrote: > There was a small window where a userspace program could submit > a pageflip after receiving a pageflip completion event yet still > receive EBUSY. > > Signed-off-by: Derek Foreman > Signed-off-by: Eric Anholt > Reviewed-by: Eric Anholt Review

Re: [PATCH v3 net-next 2/6] net: mvneta: Use cacheable memory to store the rx buffer virtual address

2016-11-29 Thread Marcin Wojtas
Hi Gregory, Another remark below, sorry for noise. 2016-11-29 10:37 GMT+01:00 Gregory CLEMENT : > Until now the virtual address of the received buffer were stored in the > cookie field of the rx descriptor. However, this field is 32-bits only > which prevents to use the driver on a 64-bits archit

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-11-29 Thread Andrey Utkin
On Mon, Nov 28, 2016 at 10:28:19PM +0100, Manuel Schölling wrote: > Hi Andrey, > > Adam already discussed some of your notes, but I want to catch up one > this one: > > On So, 2016-11-27 at 21:37 +, Andrey Utkin wrote: > > I see the user experience is subpar to what I'm accustomed to (I use >

[PATCH] extcon: Split out the extcon APIs for extcon provider driver

2016-11-29 Thread Chanwoo Choi
This patchs split out the extcon APIs of extcon provider driver in order to prevent the direct access of struct extcon_dev by extcon consumer driver. The extcon consumer driver don't need to handle the extcon provider APIs. The extcon subsystem has two type of extcon drivers as following: - extcon

Re: [PATCH] ovl: tentative fix for broken vfs_open() on stacked overlayfs.

2016-11-29 Thread Amir Goldstein
On Tue, Nov 29, 2016 at 11:32 AM, Miklos Szeredi wrote: > On Mon, Nov 28, 2016 at 12:06:09PM +0100, Quentin Casasnovas wrote: > >> > > > But it looks like it was re-introduced in: >> > > > >> > > > 2d902671ce1c ("vfs: merge .d_select_inode() into .d_real()") > > Here's a slightly different patch

Re: [PATCH V1] leds: pca963x: Add ACPI support

2016-11-29 Thread Jacek Anaszewski
Hi Tin, Thanks for the update. On 11/29/2016 10:15 AM, Mika Westerberg wrote: Acked-by: Mika Westerberg Mika, thanks for the review. Patch applied to the for-next branch of linux-leds.git. -- Best regards, Jacek Anaszewski

Re: [PATCH v3 net-next 0/6] Support Armada 37xx SoC (ARMv8 64-bits) in mvneta driver

2016-11-29 Thread Gregory CLEMENT
Hi, On mar., nov. 29 2016, Gregory CLEMENT wrote: > Hi, > > The Armada 37xx is a new ARMv8 SoC from Marvell using same network > controller as the older Armada 370/38x/XP SoCs. This series adapts the > driver in order to be able to use it on this new SoC. The main changes > are: > > - 64-bits

Re: [PATCH V12 1/1] usb:serial: Add Fintek F81532/534 driver

2016-11-29 Thread Johan Hovold
On Tue, Nov 29, 2016 at 10:33:16AM +0800, Ji-Ze Hong (Peter Hong) wrote: > Hi Johan, > > Johan Hovold 於 2016/11/24 下午 11:04 寫道: > > On Mon, Nov 14, 2016 at 01:37:59PM +0800, Ji-Ze Hong (Peter Hong) wrote: > >> This driver is for Fintek F81532/F81534 USB to Serial Ports IC. > > >> + } > >> + > >>

Re: [PATCH v2 07/13] net: ethernet: ti: cpts: rework initialization/deinitialization

2016-11-29 Thread Richard Cochran
On Mon, Nov 28, 2016 at 05:03:31PM -0600, Grygorii Strashko wrote: > +int cpts_register(struct cpts *cpts) > { > int err, i; > > - cpts->info = cpts_info; > - spin_lock_init(&cpts->lock); > - > - cpts->cc.read = cpts_systim_read; > - cpts->cc.mask = CLOCKSOURCE_MASK(32); >

[PATCH 01/13] Input: synaptics-rmi4 - fix documentation of rmi_2d_sensor_platform_data

2016-11-29 Thread Benjamin Tissoires
Typos... Signed-off-by: Benjamin Tissoires --- include/linux/rmi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/rmi.h b/include/linux/rmi.h index 8499b6a..27dd9aa 100644 --- a/include/linux/rmi.h +++ b/include/linux/rmi.h @@ -108,7 +108,7 @@ struct rmi_2d_se

  1   2   3   4   5   6   7   8   9   10   >