[PATCH] staging: dgnc: re-arrange functions for removing forward declarations

2016-11-10 Thread Daeseok Youn
Re-arrange the functions for removing forward declarations in dgnc_driver.c Signed-off-by: Daeseok Youn --- I've checked the object size of dgnc_driver.c before and after. It has same size after re-arranging functions. drivers/staging/dgnc/dgnc_driver.c | 533 ++-

Re: BYD TouchPad driver (4.8.1) misdetects a Logitech mouse

2016-11-10 Thread Ondrej Zary
On Friday 11 November 2016, Eric Wong wrote: > Sorry for the late response, forwarding to Dmitry and linux-input. > I haven't dealt with input in years... > > Michael Shell wrote: > > Not a big deal, but something nonetheless ... > > > > I recently upgraded my kernel from 4.3 to 4.8.1 (this is a L

Re: [PATCH v4 1/5] arm64: perf: Basic uncore counter support for Cavium ThunderX SOC

2016-11-10 Thread Jan Glauber
On Thu, Nov 10, 2016 at 04:54:06PM +, Mark Rutland wrote: > > +/* > > + * Some notes about the various counters supported by this "uncore" PMU > > + * and the design: > > + * > > + * All counters are 64 bit long. > > + * There are no overflow interrupts. > > + * Counters are summarized per node

Re: [PATCH v5 6/8] Documentation: bindings: add compatible specific to legacy SCPI protocol

2016-11-10 Thread Sudeep Holla
On 10/11/16 19:03, Olof Johansson wrote: On Thu, Nov 10, 2016 at 6:34 AM, Sudeep Holla wrote: On 10/11/16 14:12, Rob Herring wrote: On Thu, Nov 10, 2016 at 4:26 AM, Sudeep Holla wrote: On 10/11/16 01:22, Rob Herring wrote: On Wed, Nov 02, 2016 at 10:52:09PM -0600, Sudeep Holla wro

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

2016-11-10 Thread Peter Chen
On Tue, Oct 18, 2016 at 01:51:39PM -0700, Stephen Boyd wrote: > Quoting Peter Chen (2016-10-18 02:31:40) > > On Mon, Oct 17, 2016 at 06:56:13PM -0700, Stephen Boyd wrote: > > > I've also sent separate patches for other minor pieces to make this > > > all work. The full tree can be found here[2], ha

Re: [patch v5] i2c: mux: mellanox: add driver

2016-11-10 Thread Peter Rosin
On 2016-11-10 13:56, Vadim Pasternak wrote: > > >> -Original Message- >> From: Peter Rosin [mailto:p...@axentia.se] >> Sent: Thursday, November 10, 2016 1:13 PM >> To: Vadim Pasternak ; w...@the-dreams.de >> Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; >> j...@resnulli.us

Re: [PATCH v3 05/46] perf/x86/intel/cmt: add per-package locks

2016-11-10 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Thu, Nov 10, 2016 at 06:22:17PM -0800, David Carrillo-Cisneros wrote: > > A possible alternative to nested spinlocks is to use a single rw_lock to > > protect changes to the monr hierarchy. > > > > This works because, when manipulating pmonrs, the monr hierarchy (mo

Re: [PATCH v3 05/46] perf/x86/intel/cmt: add per-package locks

2016-11-10 Thread Peter Zijlstra
On Thu, Nov 10, 2016 at 06:22:17PM -0800, David Carrillo-Cisneros wrote: > A possible alternative to nested spinlocks is to use a single rw_lock to > protect changes to the monr hierarchy. > > This works because, when manipulating pmonrs, the monr hierarchy (monr's > parent and children) is read b

Re: question about clk_get_parent

2016-11-10 Thread Julia Lawall
On Thu, 10 Nov 2016, Russell King - ARM Linux wrote: > On Thu, Nov 10, 2016 at 09:55:16PM +0100, Julia Lawall wrote: > > As far as I can see in the various definitions of clk_get_parent, they all > > return either NULL or a value stored in a structure field. But the > > documentation with the p

[PATCH net 0/2] r8152: rx patches

2016-11-10 Thread Hayes Wang
Let the rx sw checksum available and add some checks for rx desc. Hayes Wang (2): r8152: fix the sw rx checksum is unavailable r8152: rx descriptor check drivers/net/usb/r8152.c | 46 +- 1 file changed, 45 insertions(+), 1 deletion(-) -- 2.7.4

[PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-10 Thread Hayes Wang
Fix the hw rx checksum is always enabled, and the user couldn't switch it to sw rx checksum. Note that the RTL_VER_01 only supports sw rx checksum only. Besides, the hw rx checksum for RTL_VER_02 is disabled after commit b9a321b48af4 ("r8152: Fix broken RX checksums."). Re-enable it. Signed-off-b

[PATCH net 2/2] r8152: rx descriptor check

2016-11-10 Thread Hayes Wang
For some platforms, the data in memory is not the same with the one from the device. That is, the data of memory is unbelievable. The check is used to find out this situation. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 49 + 1 file cha

Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA

2016-11-10 Thread Joonsoo Kim
On Tue, Nov 08, 2016 at 02:59:19PM +0800, Chen Feng wrote: > > > On 2016/11/8 11:59, Joonsoo Kim wrote: > > On Mon, Nov 07, 2016 at 03:46:02PM +0800, Chen Feng wrote: > >> > >> > >> On 2016/11/7 15:44, Chen Feng wrote: > >>> On 2016/11/7 15:27, Joonsoo Kim wrote: > On Mon, Nov 07, 2016 at 03

[PATCH 2/2] staging: iio: ad7606: move out of staging

2016-11-10 Thread Eva Rachel Retuya
Move the ad7606 driver from staging/iio/adc to iio/adc. Also, update the corresponding Makefile and Kconfig associated with the change. Signed-off-by: Eva Rachel Retuya --- drivers/iio/adc/Kconfig | 34 +++ drivers/iio/adc/Makefile | 3 + drivers/iio/adc/ad7606.c

[PATCH 1/2] staging: iio: ad7606: replace range/range_available with corresponding scale

2016-11-10 Thread Eva Rachel Retuya
Eliminate the non-standard attribute in_voltage_range and move its functionality under the scale attribute. read_raw() has been taken care of previously so only write_raw() is handled here. Additionally, rename the attribute in_voltage_range_available into in_voltage_scale_available. Suggested-by

[PATCH 0/2] staging: iio: ad7606: move driver out of staging

2016-11-10 Thread Eva Rachel Retuya
Address the last remaining TODO [1] for this driver and move it from staging into mainline. [1] https://marc.info/?l=linux-iio&m=147689684332118&w=2 Eva Rachel Retuya (2): staging: iio: ad7606: replace range/range_available with corresponding scale staging: iio: ad7606: move out of stagi

Re: [PATCH] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

2016-11-10 Thread Vignesh R
On Friday 11 November 2016 09:00 AM, John Syne wrote: > >> On Nov 9, 2016, at 9:07 PM, Vignesh R wrote: >> >> Hi, >> >> On Thursday 10 November 2016 05:23 AM, John Syne wrote: >>> OK, then back to my original question. Given that these DT properties are >>> supported in the driver >>> >> >> Be

Re: [PATCH] cpufreq: brcmstb-cpufreq: CPUfreq driver for older Broadcom STB SoCs

2016-11-10 Thread kbuild test robot
Hi Markus, [auto build test ERROR on pm/linux-next] [also build test ERROR on next-20161110] [cannot apply to v4.9-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Markus-Mayer/cpufreq

Re: [PATCH v3 8/9] media: venus: add Makefiles and Kconfig files

2016-11-10 Thread Vivek Gautam
On Mon, Nov 7, 2016 at 11:04 PM, Stanimir Varbanov wrote: > Makefile and Kconfig files to build the Venus video codec driver. > > Signed-off-by: Stanimir Varbanov > --- > drivers/media/platform/qcom/Kconfig| 7 +++ > drivers/media/platform/qcom/Makefile | 1 + > drivers/media

Re: [PATCH] mm: support anonymous stable page

2016-11-10 Thread Minchan Kim
Sorry for sending a wrong version. Here is new one. >From 2d42ead9335cde51fd58d6348439ca03cf359ba2 Mon Sep 17 00:00:00 2001 From: Minchan Kim Date: Fri, 11 Nov 2016 15:02:57 +0900 Subject: [PATCH] mm: support anonymous stable page For developemnt for zram-swap asynchronous writeback, I found str

[git pull] vfs.git

2016-11-10 Thread Al Viro
Christoph's and Jan's aio fixes, fixup for generic_file_splice_read (removal of pointless detritus that actually breaks it when used for gfs2 ->splice_read()) and fixup for generic_file_read_iter() interaction with ITER_PIPE destinations. The following changes since commit a909d3e636995ba7

Re: [v17 2/2] drm/bridge: Add I2C based driver for ps8640 bridge

2016-11-10 Thread Archit Taneja
Hi Jitao, I couldn't locate the original mail, so posting on this thread instead. Some comments below. On 11/10/2016 10:09 PM, Enric Balletbo Serra wrote: Hi Jitao, 2016-08-27 8:44 GMT+02:00 Jitao Shi : This patch adds drm_bridge driver for parade DSI to eDP bridge chip. Signed-off-by: Jitao

Re: [tip:x86/urgent] x86/cpu: Deal with broken firmware (VMWare/XEN)

2016-11-10 Thread Alok Kataria
Hi Thomas, On Wed, 2016-11-09 at 12:27 -0800, tip-bot for Thomas Gleixner wrote: > Commit-ID: d49597fd3bc7d9534de55e9256767f073be1b33a > Gitweb: > https://urldefense.proofpoint.com/v2/url?u=http-3A__git.kernel.org_tip_d49597fd3bc7d9534de55e9256767f073be1b33a&d=CwIDaQ&c=Sqcl0Ez6M0X8aeM67LKIi

Re: [patch] mm, slab: faster active and free stats

2016-11-10 Thread Joonsoo Kim
On Wed, Nov 09, 2016 at 04:38:08PM -0800, David Rientjes wrote: > On Tue, 8 Nov 2016, Andrew Morton wrote: > > > > Reading /proc/slabinfo or monitoring slabtop(1) can become very expensive > > > if there are many slab caches and if there are very lengthy per-node > > > partial and/or free lists. >

Re: [PATCH v16 0/5] Mediatek MT8173 CMDQ support

2016-11-10 Thread Jassi Brar
On Thu, Nov 10, 2016 at 4:45 PM, Horng-Shyang Liao wrote: > On Tue, 2016-11-01 at 19:28 +0800, HS Liao wrote: >> Hi, >> >> This is Mediatek MT8173 Command Queue(CMDQ) driver. The CMDQ is used >> to help write registers with critical time limitation, such as >> updating display configuration during

[PATCH] mm: support anonymous stable page

2016-11-10 Thread Minchan Kim
For developemnt for zram-swap asynchronous writeback, I found strange corruption of compressed page. With investigation, it reveals currently stable page doesn't support anonymous page. IOW, reuse_swap_page can reuse the page without waiting writeback completion so that it can corrupt data during z

Re: [PATCH 06/35] staging: lustre: osc: Performance tune for LRU

2016-11-10 Thread kbuild test robot
Hi Jinshan, [auto build test ERROR on staging/staging-testing] [also build test ERROR on next-20161110] [cannot apply to v4.9-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/James-Simmons

[PATCH v8 2/3] drm/fence: add fence timeline to drm_crtc

2016-11-10 Thread Gustavo Padovan
From: Gustavo Padovan Create one timeline context for each CRTC to be able to handle out-fences and signal them. It adds a few members to struct drm_crtc: fence_context, where we store the context we get from fence_context_alloc(), the fence seqno and the fence lock, that we pass in fence_init()

[PATCH v8 1/3] drm/fence: add in-fences support

2016-11-10 Thread Gustavo Padovan
From: Gustavo Padovan There is now a new property called IN_FENCE_FD attached to every plane state that receives sync_file fds from userspace via the atomic commit IOCTL. The fd is then translated to a fence (that may be a fence_array subclass or just a normal fence) and then used by DRM to fenc

[PATCH v8 0/3] drm: add explict fencing

2016-11-10 Thread Gustavo Padovan
From: Gustavo Padovan Hi, New version of the DRM fences patches with all comments on v7 adressed. Please refer to the cover letter[1] in a previous version to check for more details. The changes since the last version can be seen in commit message on each patch. Robert Foss managed to port And

[PATCH v8 3/3] drm/fence: add out-fences support

2016-11-10 Thread Gustavo Padovan
From: Gustavo Padovan Support DRM out-fences by creating a sync_file with a fence for each CRTC that sets the OUT_FENCE_PTR property. We use the out_fence pointer received in the OUT_FENCE_PTR prop to send the sync_file fd back to userspace. The sync_file and fd are allocated/created before com

[PATCH v4 1/6] kconfig: introduce the "imply" keyword

2016-11-10 Thread Nicolas Pitre
The "imply" keyword is a weak version of "select" where the target config symbol can still be turned off, avoiding those pitfalls that come with the "select" keyword. This is useful e.g. with multiple drivers that want to indicate their ability to hook into a secondary subsystem while allowing the

[PATCH v4 6/6] posix-timers: make it configurable

2016-11-10 Thread Nicolas Pitre
Some embedded systems have no use for them. This removes about 25KB from the kernel binary size when configured out. Corresponding syscalls are routed to a stub logging the attempt to use those syscalls which should be enough of a clue if they were disabled without proper consideration. They are:

[PATCH v4 3/6] ptp_clock: allow for it to be optional

2016-11-10 Thread Nicolas Pitre
In order to break the hard dependency between the PTP clock subsystem and ethernet drivers capable of being clock providers, this patch provides simple PTP stub functions to allow linkage of those drivers into the kernel even when the PTP subsystem is configured out. Drivers must be ready to accept

[PATCH v4 2/6] kconfig: regenerate *.c_shipped files after previous changes

2016-11-10 Thread Nicolas Pitre
Signed-off-by: Nicolas Pitre --- scripts/kconfig/zconf.hash.c_shipped | 30 +- scripts/kconfig/zconf.tab.c_shipped | 1581 -- 2 files changed, 753 insertions(+), 858 deletions(-) diff --git a/scripts/kconfig/zconf.hash.c_shipped b/scripts/kconfig/zconf.hash.c_

[PATCH v4 5/6] posix_cpu_timers_exit: wrong place to collect entropy

2016-11-10 Thread Nicolas Pitre
There is no logical relation between add_device_randomness() and posix_cpu_timers_exit(). Let's move the former to where the later is called. This way, when posix-cpu-timers.c is compiled out, there is no need to worry about not losing a call to add_device_randomness(). Signed-off-by: Nicolas Pitr

[PATCH v4 0/6] make POSIX timers optional with some Kconfig help

2016-11-10 Thread Nicolas Pitre
Many embedded systems don't need the full POSIX timer support. Configuring them out provides a nice kernel image size reduction. When POSIX timers are configured out, the PTP clock subsystem should be left out as well. However a bunch of ethernet drivers currently *select* the later in their Kconf

[PATCH v4 4/6] timer: move sys_alarm from timer.c to itimer.c

2016-11-10 Thread Nicolas Pitre
Move the only user of alarm_setitimer to itimer.c where it is defined. This allows for making alarm_setitimer static, and dropping it from the build when __ARCH_WANT_SYS_ALARM is not defined. Signed-off-by: Nicolas Pitre --- include/linux/time.h | 2 -- kernel/time/itimer.c | 15 ++-

Re: commit d7afaec0b564f0609e116f5: fuse: add FUSE_NO_OPEN_SUPPORT flag to INIT

2016-11-10 Thread Nikolaus Rath
On Nov 11 2016, Miklos Szeredi wrote: > On Thu, Nov 10, 2016 at 11:31 PM, Nikolaus Rath wrote: >> Hi Andrew, >> >> In commit d7afaec0b564f0609e116f5 you added a new FUSE_NO_OPEN_SUPPORT >> flag. But as far as I can tell, the flag is simply accepted without >> having any effect (including in libfu

Re: commit 5c672ab3f0ee0f78f: fuse: serialize dirops by default

2016-11-10 Thread Nikolaus Rath
On Nov 10 2016, Miklos Szeredi wrote: > On Thu, Nov 10, 2016 at 11:21 PM, Nikolaus Rath wrote: >> Hi Miklos, >> >> In commit 5c672ab3f0ee0f78f7acad183f34db0f8781a200 you introduced a new >> FUSE_PARALLEL_DIROPS capability and bumped the kernel interface no to >> 25 - but there have been no corres

Re: [PATCH 1/3] tuntap: rx batching

2016-11-10 Thread John Fastabend
On 16-11-10 08:28 PM, Jason Wang wrote: > > > On 2016年11月11日 12:17, John Fastabend wrote: >> On 16-11-10 07:31 PM, Michael S. Tsirkin wrote: >>> >On Fri, Nov 11, 2016 at 10:07:44AM +0800, Jason Wang wrote: >> >> >>On 2016年11月10日 00:38, Michael S. Tsirkin wrote: > >>>On Wed, Nov

[RFC PATCH 1/2] net: use cmpxchg instead of spinlock in ptr rings

2016-11-10 Thread John Fastabend
--- include/linux/ptr_ring_ll.h | 136 +++ include/linux/skb_array.h | 25 2 files changed, 161 insertions(+) create mode 100644 include/linux/ptr_ring_ll.h diff --git a/include/linux/ptr_ring_ll.h b/include/linux/ptr_ring_ll.h new file mode

[RFC PATCH 2/2] ptr_ring_ll: pop/push multiple objects at once

2016-11-10 Thread John Fastabend
Signed-off-by: John Fastabend --- include/linux/ptr_ring_ll.h | 22 -- include/linux/skb_array.h | 11 +-- net/sched/sch_generic.c |2 +- 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/include/linux/ptr_ring_ll.h b/include/linux/ptr_ring_

[RFC PATCH 0/2] illustrate cmpxchg ring for tap/tun and qdisc

2016-11-10 Thread John Fastabend
This is a cmpxchg ring that could potentially be used to replace the spinlock variant of skb_array. Couple comments its missing a resize operator which would need to be added before it could be a drop in replacement. And although I tested the first patch with my latest set of qdisc updates the sec

Re: [PATCH RFC 0/2] Generalize tpm2_get_tpm_pt to tpm2_get_cap

2016-11-10 Thread Nayna
On 11/04/2016 12:58 PM, Jarkko Sakkinen wrote: Nayna, I've already sent these earlier this month as we had this discussion. Please look up your emails. I can apply these if they look good for you. Please review them. Sure, I replied just now. I am sorry if delay in response. I was off early

Re: [PATCH v5 02/23] of: device: Export of_device_{get_modalias, uvent_modalias} to modules

2016-11-10 Thread Javier Martinez Canillas
Hello ChenYu On Fri, Nov 11, 2016 at 12:01 AM, Chen-Yu Tsai wrote: > On Fri, Nov 11, 2016 at 5:42 AM, Rob Herring wrote: [snip] >> >> Do you have patches using this already. If not, it is starting to get >> a bit late for v4.10. >> >> I can apply this, but then you'll just be pulling in other

Re: [PATCH 05/35] staging: lustre: llog: fix wrong offset in llog_process_thread()

2016-11-10 Thread kbuild test robot
Hi Mikhail, [auto build test ERROR on staging/staging-testing] [also build test ERROR on next-20161110] [cannot apply to v4.9-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/James-Simmons

Re: [kernel-hardening] Re: [RFC v4 PATCH 00/13] HARDENED_ATOMIC

2016-11-10 Thread Rik van Riel
On Thu, 2016-11-10 at 13:23 -0800, Kees Cook wrote: > If we don't use opt-out for atomics, we're going to be in the same > situation where we have to constantly review every commit with an > atomic for exploitable refcount flaws. Kicking this down from > "privilege escalation" to "DoS" is a signif

Re: [PATCH v2 1/3] ARM: dts: imx6qdl-apalis: Do not rely on DDC I2C bus bitbang for HDMI

2016-11-10 Thread Stefan Agner
On 2016-11-10 10:29, Vladimir Zapolskiy wrote: > Hi Stefan, Philipp, > > On 11/09/2016 02:50 AM, Stefan Agner wrote: >> On 2016-11-08 09:33, maitysancha...@gmail.com wrote: >>> Hello Shawn, >>> >>> On 16-10-22 15:43:04, Vladimir Zapolskiy wrote: Hi Shawn, On 10/22/2016 06:25 AM, S

Re: [PATCH v4 1/4] usb: dbc: early driver for xhci debug capability

2016-11-10 Thread Lu Baolu
Hi Peter, On 11/10/2016 07:44 PM, Peter Zijlstra wrote: > On Thu, Nov 10, 2016 at 09:56:41AM +0100, Thomas Gleixner wrote: >> On Thu, 10 Nov 2016, Lu Baolu wrote: >>> This seems to be a common issue for all early printk drivers. >> No. The other early printk drivers like serial do not have that pr

Re: [PATCH 1/3] tuntap: rx batching

2016-11-10 Thread Jason Wang
On 2016年11月11日 12:17, John Fastabend wrote: On 16-11-10 07:31 PM, Michael S. Tsirkin wrote: >On Fri, Nov 11, 2016 at 10:07:44AM +0800, Jason Wang wrote: >> >> >>On 2016年11月10日 00:38, Michael S. Tsirkin wrote: >>>On Wed, Nov 09, 2016 at 03:38:31PM +0800, Jason Wang wrote: Backlog were us

Re: [tpmdd-devel] [PATCH RFC 2/2] tpm: refactor tpm2_get_tpm_pt to tpm2_getcap_cmd

2016-11-10 Thread Nayna
On 10/09/2016 03:44 PM, Jarkko Sakkinen wrote: Refactored tpm2_get_tpm_pt to tpm2_getcap_cmd, which means that it also takes capability ID as input. This is required to access TPM_CAP_HANDLES, which contains metadata needed for swapping transient data. Signed-off-by: Jarkko Sakkinen --- dri

Re: [PATCH 2/3] vhost: better detection of available buffers

2016-11-10 Thread Jason Wang
On 2016年11月11日 11:41, Michael S. Tsirkin wrote: On Fri, Nov 11, 2016 at 10:18:37AM +0800, Jason Wang wrote: > > >On 2016年11月10日 03:57, Michael S. Tsirkin wrote: > >On Wed, Nov 09, 2016 at 03:38:32PM +0800, Jason Wang wrote: > > >We should use vq->last_avail_idx instead of vq->avail_idx in th

Re: [PATCH 1/3] tuntap: rx batching

2016-11-10 Thread John Fastabend
On 16-11-10 07:31 PM, Michael S. Tsirkin wrote: > On Fri, Nov 11, 2016 at 10:07:44AM +0800, Jason Wang wrote: >> >> >> On 2016年11月10日 00:38, Michael S. Tsirkin wrote: >>> On Wed, Nov 09, 2016 at 03:38:31PM +0800, Jason Wang wrote: Backlog were used for tuntap rx, but it can only process 1 pack

Re: [PATCH 0/4] x86: enable User-Mode Instruction Prevention

2016-11-10 Thread Ricardo Neri
On Thu, 2016-11-10 at 11:52 +0300, Stas Sergeev wrote: > Hi! > > I don't know the context of that discussion, so I'll only > comment on the dosemu part. I'm sorry! I will cc you and the linux-msdos list in my v2. > > 10.11.2016 09:46, Ricardo Neri пишет: > > I took a closer look at the dosemu co

Re: [PATCH] mm: add ZONE_DEVICE statistics to smaps

2016-11-10 Thread Anshuman Khandual
On 11/11/2016 03:41 AM, Dan Williams wrote: > ZONE_DEVICE pages are mapped into a process via the filesystem-dax and > device-dax mechanisms. There are also proposals to use ZONE_DEVICE > pages for other usages outside of dax. Add statistics to smaps so > applications can debug that they are obta

Re: [GIT PULL] SCSI fixes for 4.9-rc3

2016-11-10 Thread Gabriel C
On 11.11.2016 04:30, Gabriel C wrote: > > On 05.11.2016 14:29, James Bottomley wrote: > > > ... > >> Kashyap Desai (1): >> scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) >> devices >> >> diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c >> b/drivers/scsi/me

Re: [PATCH 1/3] tuntap: rx batching

2016-11-10 Thread Jason Wang
On 2016年11月11日 11:31, Michael S. Tsirkin wrote: On Fri, Nov 11, 2016 at 10:07:44AM +0800, Jason Wang wrote: > > >On 2016年11月10日 00:38, Michael S. Tsirkin wrote: > >On Wed, Nov 09, 2016 at 03:38:31PM +0800, Jason Wang wrote: > > >Backlog were used for tuntap rx, but it can only process 1 pack

Re: [PATCH 1/4] x86/cpufeature: Add User-Mode Instruction Prevention definitions

2016-11-10 Thread Ricardo Neri
On Thu, 2016-11-10 at 09:58 +0100, Borislav Petkov wrote: > On Wed, Nov 09, 2016 at 07:24:43PM -0800, Ricardo Neri wrote: > > I intended this feature to be configurable at build time in case someone > > wants to build a kernel without it; similar to other features such as > > SMAP. Is this not need

linux-next: Tree for Nov 11

2016-11-10 Thread Stephen Rothwell
Hi all, Changes since 20161110: Non-merge commits (relative to Linus' tree): 5178 5669 files changed, 326526 insertions(+), 103299 deletions(-) I have created today's linux-next tree at git://git.kernel.o

Re: [PATCH v2 00/12] mm: page migration enhancement for thp

2016-11-10 Thread Anshuman Khandual
On 11/10/2016 07:31 PM, Zi Yan wrote: > On 9 Nov 2016, at 18:52, Naoya Horiguchi wrote: > >> Hi Anshuman, >> >> On Wed, Nov 09, 2016 at 04:03:04PM +0530, Anshuman Khandual wrote: >>> On 11/08/2016 05:01 AM, Naoya Horiguchi wrote: Hi everyone, I've updated thp migration patches for v

Re: [PATCH 2/3] vhost: better detection of available buffers

2016-11-10 Thread Michael S. Tsirkin
On Fri, Nov 11, 2016 at 10:18:37AM +0800, Jason Wang wrote: > > > On 2016年11月10日 03:57, Michael S. Tsirkin wrote: > > On Wed, Nov 09, 2016 at 03:38:32PM +0800, Jason Wang wrote: > > > We should use vq->last_avail_idx instead of vq->avail_idx in the > > > checking of vhost_vq_avail_empty() since l

[no subject]

2016-11-10 Thread Chunyan Zhang
Hi Steven, On 21 October 2016 at 20:13, Chunyan Zhang wrote: > On 18 October 2016 at 23:44, Steven Rostedt wrote: >> On Tue, 18 Oct 2016 16:08:58 +0800 >> Chunyan Zhang wrote: >> >>> Currently Function traces can be only exported to ring buffer, this >>> patch added trace_export concept which c

Re: [PATCH 5/10] dt: bindings: Add bindings for Marvell Xenon SD Host Controller

2016-11-10 Thread Jisheng Zhang
On Fri, 11 Nov 2016 11:22:43 +0800 Jisheng Zhang wrote: > Hi Rob, Ziji, > > On Thu, 10 Nov 2016 19:44:19 +0800 Ziji Hu wrote: > > > Hi Rob, > > > > On 2016/11/10 2:24, Rob Herring wrote: > > > On Mon, Oct 31, 2016 at 12:09:54PM +0100, Gregory CLEMENT wrote: > > >> From: Ziji Hu > > >> >

Re: [GIT PULL] SCSI fixes for 4.9-rc3

2016-11-10 Thread Gabriel C
On 05.11.2016 14:29, James Bottomley wrote: ... > Kashyap Desai (1): > scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) > devices > > diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c > b/drivers/scsi/megaraid/megaraid_sas_base.c > index 9ff57de..d8b1fbd 10064

Re: [PATCH 1/3] tuntap: rx batching

2016-11-10 Thread Michael S. Tsirkin
On Fri, Nov 11, 2016 at 10:07:44AM +0800, Jason Wang wrote: > > > On 2016年11月10日 00:38, Michael S. Tsirkin wrote: > > On Wed, Nov 09, 2016 at 03:38:31PM +0800, Jason Wang wrote: > > > Backlog were used for tuntap rx, but it can only process 1 packet at > > > one time since it was scheduled during

Re: [PATCH] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

2016-11-10 Thread John Syne
> On Nov 9, 2016, at 9:07 PM, Vignesh R wrote: > > Hi, > > On Thursday 10 November 2016 05:23 AM, John Syne wrote: >> OK, then back to my original question. Given that these DT properties are >> supported in the driver >> > > Below properties are supported by only by ti_am3335x_adc driver an

[PATCH 1/2] mfd: axp20x: Add address extension registers for AXP806 regmap

2016-11-10 Thread Chen-Yu Tsai
The AXP806 supports either master/standalone or slave mode. Slave mode allows sharing the serial bus, even with multiple AXP806 which all have the same hardware address. This is done with extra "serial interface address extension", or AXP806_BUS_ADDR_EXT, and "register address extension", or AXP80

[PATCH 0/2] mfd: axp20x: Fix AXP806 access errors on cold boot

2016-11-10 Thread Chen-Yu Tsai
Hi Lee, Recently we've added full SPL support for A80 to mainline U-boot. This means we no longer depend on Allwinner's bootloader. It also means that some of system configuration the bootloader set up no longer applies. The bootloader was correctly configuring the multi-device addressing support

[PATCH 2/2] mfd: axp20x: Fix AXP806 access errors on cold boot

2016-11-10 Thread Chen-Yu Tsai
The AXP806 supports either master/standalone or slave mode. Slave mode allows sharing the serial bus, even with multiple AXP806 which all have the same hardware address. This is done with extra "serial interface address extension", or AXP806_BUS_ADDR_EXT, and "register address extension", or AXP80

Re: [PATCH 5/10] dt: bindings: Add bindings for Marvell Xenon SD Host Controller

2016-11-10 Thread Jisheng Zhang
Hi Rob, Ziji, On Thu, 10 Nov 2016 19:44:19 +0800 Ziji Hu wrote: > Hi Rob, > > On 2016/11/10 2:24, Rob Herring wrote: > > On Mon, Oct 31, 2016 at 12:09:54PM +0100, Gregory CLEMENT wrote: > >> From: Ziji Hu > >> > >> Marvell Xenon SDHC can support eMMC/SD/SDIO. > >> Add Xenon-specific propertie

Re: [PATCH] phy: rockchip-inno-usb2: correct 480MHz output clock stable time

2016-11-10 Thread wlf
Hi Heiko, 在 2016年11月10日 17:21, Heiko Stübner 写道: Am Donnerstag, 10. November 2016, 10:54:49 schrieb wlf: Hi Doug, 在 2016年11月10日 04:54, Doug Anderson 写道: Hi, On Mon, Nov 7, 2016 at 5:00 AM, William Wu wrote: We found that the system crashed due to 480MHz output clock of USB2 PHY was unstabl

Re: [kernel-hardening] Re: [RFC v4 PATCH 00/13] HARDENED_ATOMIC

2016-11-10 Thread David Windsor
On Thu, Nov 10, 2016 at 3:56 PM, Kees Cook wrote: > On Thu, Nov 10, 2016 at 12:37 PM, Peter Zijlstra wrote: >> On Thu, Nov 10, 2016 at 10:24:35PM +0200, Elena Reshetova wrote: >>> This series brings the PaX/Grsecurity PAX_REFCOUNT >>> feature support to the upstream kernel. All credit for the >>>

Re: [PATCH 0/2] mmc: allow mmc_alloc_host() and tmio_mmc_host_alloc()

2016-11-10 Thread Masahiro Yamada
2016-11-10 22:35 GMT+09:00 Greg Kroah-Hartman : > On Thu, Nov 10, 2016 at 10:24:21PM +0900, Masahiro Yamada wrote: >> >> sdhci_alloc_host() returns an error pointer when it fails. >> but mmc_alloc_host() cannot. >> >> This series allow to propagate a proper error code >> when host-allocation fails.

Re: [PATCH v2 03/12] mm: thp: introduce separate TTU flag for thp freezing

2016-11-10 Thread Anshuman Khandual
On 11/10/2016 02:39 PM, Naoya Horiguchi wrote: > On Thu, Nov 10, 2016 at 02:01:56PM +0530, Anshuman Khandual wrote: >> > On 11/08/2016 05:01 AM, Naoya Horiguchi wrote: >>> > > TTU_MIGRATION is used to convert pte into migration entry until thp >>> > > split >>> > > completes. This behavior conflic

[PATCH] regulator: axp20x: Fix axp809 ldo_io registration error on cold boot

2016-11-10 Thread Chen-Yu Tsai
The maximum supported voltage for ldo_io# is 3.3V, but on cold boot the selector comes up at 0x1f, which maps to 3.8V. This was previously corrected by Allwinner's U-boot, which set all regulators on the PMICs to some pre-configured voltage. With recent progress in U-boot SPL support, this is no lo

Re: [PATCH V3 1/9] PM / OPP: Reword binding supporting multiple regulators per device

2016-11-10 Thread Viresh Kumar
On 10-11-16, 14:51, Stephen Boyd wrote: > On 11/10, Viresh Kumar wrote: > > On 10-11-16, 16:36, Mark Brown wrote: > > > On Thu, Nov 10, 2016 at 09:34:40AM +0530, Viresh Kumar wrote: > > > > On 09-11-16, 14:58, Mark Brown wrote: > > > > > On Wed, Oct 26, 2016 at 12:02:56PM +0530, Viresh Kumar wrote:

Re: [PATCH v5 02/23] of: device: Export of_device_{get_modalias, uvent_modalias} to modules

2016-11-10 Thread Chen-Yu Tsai
On Fri, Nov 11, 2016 at 5:42 AM, Rob Herring wrote: > On Sun, Nov 6, 2016 at 7:56 PM, Chen-Yu Tsai wrote: >> On Mon, Nov 7, 2016 at 9:29 AM, Peter Chen wrote: >>> On Fri, Nov 04, 2016 at 01:51:34PM -0700, Stephen Boyd wrote: Quoting Peter Chen (2016-10-24 18:16:32) > On Mon, Oct 24, 20

Re: [PATCH] watchdog: jz4740: Fix modular build

2016-11-10 Thread Guenter Roeck
On 11/10/2016 04:02 PM, Stephen Boyd wrote: Compiling this driver as a module causes a build error because a semicolon is missing after MODULE_DEVICE_TABLE. Add it. CC [M] drivers/watchdog/jz4740_wdt.o drivers/watchdog/jz4740_wdt.c:154:1: error: expected ‘,’ or ‘;’ before ‘static’ drivers/wat

Re: [PATCH v4 1/4] usb: dbc: early driver for xhci debug capability

2016-11-10 Thread Lu Baolu
Hi, On 11/11/2016 10:24 AM, Lu Baolu wrote: >> The only thing you can do to make this work is to prevent printing in NMI >> > context: >> > >> > write() >> > { >> >if (in_nmi()) >> >return; >> > >> >raw_spinlock_irqsave(&lock, flags); >> > >> > >> > That fully seria

Re: [PATCH v9 1/6] x86/platform/p2sb: New Primary to Sideband bridge support driver for Intel SOC's

2016-11-10 Thread Darren Hart
On Tue, Nov 08, 2016 at 05:55:20PM +0100, Thomas Gleixner wrote: > On Tue, 8 Nov 2016, Tan Jui Nee wrote: > > There is already one and at least one more user coming which > > require an access to Primary to Sideband bridge (P2SB) in order > > to get IO or MMIO bar hidden by BIOS. > > Create a drive

[PATCH v2 0/3] pinctrl: sunxi: Support generic pinconf functions

2016-11-10 Thread Chen-Yu Tsai
Hi everyone, This series fixes up generic pinconf support for the sunxi pinctrl driver library. The driver was doing some bits wrong, like a) storing the pinconf config value in its struct, and not actually reading the hardware to get the current config, and b) not using the right arguments for th

[PATCH v2 2/3] pinctrl: sunxi: Add support for fetching pinconf settings from hardware

2016-11-10 Thread Chen-Yu Tsai
The sunxi pinctrl driver only caches whatever pinconf setting was last set on a given pingroup. This is not particularly helpful, nor is it correct. Fix this by actually reading the hardware registers and returning the correct results or error codes. Also filter out unsupported pinconf settings. S

[PATCH v2 3/3] pinctrl: sunxi: Make sunxi_pconf_group_set use sunxi_pconf_reg helper

2016-11-10 Thread Chen-Yu Tsai
The sunxi_pconf_reg helper introduced in the last patch gives us the chance to rework sunxi_pconf_group_set to have it match the structure of sunxi_pconf_(group_)get and make it easier to understand. For each config to set, it: 1. checks if the parameter is supported. 2. checks if the arg

[PATCH v2 1/3] pinctrl: sunxi: Fix PIN_CONFIG_BIAS_PULL_{DOWN,UP} argument

2016-11-10 Thread Chen-Yu Tsai
According to pinconf-generic.h, the argument for PIN_CONFIG_BIAS_PULL_{DOWN,UP} is non-zero if the bias is enabled with a pull up/down resistor, zero if it is directly connected to VDD or ground. Since Allwinner hardware uses a weak pull resistor internally, the argument should be 1. Signed-off-b

[PATCH] pinctrl: sunxi: Free configs in pinctrl_map only if it is a config map

2016-11-10 Thread Chen-Yu Tsai
In the recently refactored sunxi pinctrl library, we are only allocating one set of pin configs for each pinmux setting node. When the pinctrl_map structure is freed, the pin configs should also be freed. However the code assumed the first map would contain the configs, which actually never happens

[GIT PULL] platform-drivers-x86 for 4.9-3

2016-11-10 Thread Darren Hart
Hi Linus, The following changes since commit c3f8f7fa8b19e274e7eb99dee428ad3a9b2ad8eb: Merge tag 'platform-drivers-x86-v4.9-2' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86 (2016-10-19 11:45:06 -0700) are available in the git repository at: git://git.infradead.org/use

Re: [PATCH 3/3] vhost_net: tx support batching

2016-11-10 Thread Jason Wang
On 2016年11月10日 04:05, Michael S. Tsirkin wrote: On Wed, Nov 09, 2016 at 03:38:33PM +0800, Jason Wang wrote: This patch tries to utilize tuntap rx batching by peeking the tx virtqueue during transmission, if there's more available buffers in the virtqueue, set MSG_MORE flag for a hint for tunta

Re: [PATCH v4 1/4] usb: dbc: early driver for xhci debug capability

2016-11-10 Thread Lu Baolu
Hi, On 11/10/2016 04:56 PM, Thomas Gleixner wrote: > On Thu, 10 Nov 2016, Lu Baolu wrote: >> On 11/09/2016 05:37 PM, Thomas Gleixner wrote: >>> On Tue, 1 Nov 2016, Lu Baolu wrote: +static void early_xdbc_write(struct console *con, const char *str, u32 n) +{ + int chunk, ret; +

Re: [PATCH v3 05/46] perf/x86/intel/cmt: add per-package locks

2016-11-10 Thread David Carrillo-Cisneros
>> To circumvent this problem, statically define CMT_MAX_NR_PKGS number of >> lock_class_key's. > > That's a proper circumvention. Define a random number on your own. A judiciously chosen number ;) . > >> Additional details in code's comments. > > This is > > - pointless. Either there are commen

Re: [PATCH 2/3] vhost: better detection of available buffers

2016-11-10 Thread Jason Wang
On 2016年11月10日 03:57, Michael S. Tsirkin wrote: On Wed, Nov 09, 2016 at 03:38:32PM +0800, Jason Wang wrote: We should use vq->last_avail_idx instead of vq->avail_idx in the checking of vhost_vq_avail_empty() since latter is the cached avail index from guest but we want to know if there's pendi

Re: BYD TouchPad driver (4.8.1) misdetects a Logitech mouse

2016-11-10 Thread Eric Wong
Sorry for the late response, forwarding to Dmitry and linux-input. I haven't dealt with input in years... Michael Shell wrote: > > Not a big deal, but something nonetheless ... > > I recently upgraded my kernel from 4.3 to 4.8.1 (this is a Linux From > Scratch build). There was only one obvious

Re: [PATCH 1/3] tuntap: rx batching

2016-11-10 Thread Jason Wang
On 2016年11月10日 00:38, Michael S. Tsirkin wrote: On Wed, Nov 09, 2016 at 03:38:31PM +0800, Jason Wang wrote: Backlog were used for tuntap rx, but it can only process 1 packet at one time since it was scheduled during sendmsg() synchronously in process context. This lead bad cache utilization so

Re: [PATCH v3 12/17] ASoC: simple-card-utils: add asoc_simple_card_try_to_probe_graph_card()

2016-11-10 Thread kbuild test robot
Hi Kuninori, [auto build test ERROR on asoc/for-next] [also build test ERROR on v4.9-rc4 next-20161110] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Kuninori-Morimoto/ASoC-add-OF-graph-base

[PATCH v2 1/1] usb: xhci: handle endpoint error caused by TRB error

2016-11-10 Thread Lu Baolu
When xHCI host sees a malformed TRB in a transfer ring, it will generate a transfer event with the completion code set to COMP_TRB_ERR (5), and sets the endpoint state in output endpoint context to EP_STATE_ERROR. The endpoint enters ERROR state as the result. XHCI specification requires that Set

[PATCH] iommu/ipmmu-vmsa: Unify domain alloc/free implementations

2016-11-10 Thread Laurent Pinchart
The ARM and ARM64 implementations of the IOMMU domain alloc/free operations can be unified with the correct combination of type checking, as the domain type can never be IOMMU_DOMAIN_DMA on 32-bit ARM due to the driver calling iommu_group_get_for_dev() on ARM64 only. Do so. Signed-off-by: Laurent

Re: [PATCH 1/1] usb: xhci: handle endpoint error caused by TRB error

2016-11-10 Thread Lu Baolu
Hi, On 11/11/2016 09:03 AM, Lu Baolu wrote: > When xHCI host sees a malformed TRB in a transfer ring, > it will generate a transfer event with the completion > code set to COMP_TRB_ERR (5), and sets the endpoint > state in output endpoint context to EP_STATE_ERROR. > The endpoint enters ERROR stat

[GIT PULL] drm/arcpgu: Accommodate adv7511 switch to DRM bridge

2016-11-10 Thread Алексей Бродкин
Hi Dave, Please pull that change for ARC PGU that fixes driver instantiation on AXS 10x boards. The patch was published for review here: https://lists.freedesktop.org/archives/dri-devel/2016-October/121245.html It is based on today's "drm-next" branch. Probably it's already too late for 4.9 but

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

2016-11-10 Thread Peter Chen
On Fri, Nov 11, 2016 at 02:05:01AM +0100, Rafael J. Wysocki wrote: > On Tue, Nov 8, 2016 at 3:51 AM, Peter Chen wrote: > > We have an well-known problem that the device needs to do some power > > sequence before it can be recognized by related host, the typical > > example like hard-wired mmc devi

Re: [PATCH v6 05/07] iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops

2016-11-10 Thread Laurent Pinchart
Hi Robin, On Friday 21 Oct 2016 18:52:53 Robin Murphy wrote: > On 20/10/16 00:36, Magnus Damm wrote: > > From: Magnus Damm > > > > Introduce an alternative set of iommu_ops suitable for 64-bit ARM > > as well as 32-bit ARM when CONFIG_IOMMU_DMA=y. Also adjust the > > Kconfig to depend on ARM or

  1   2   3   4   5   6   7   8   9   10   >