[PATCH v2 0/8] hisi_sas internal abort support

2016-08-24 Thread John Garry
This patchset introduces support for the internal abort feature for the HiSilicon SAS controller. The internal abort feature allows commands which are active in the controller to be aborted before being sent to the slave device. Only support will be added for v2 HW since v1 HW has issues in

[PATCH v2 2/8] hisi_sas: add internal abort in hisi_sas_dev_gone()

2016-08-24 Thread John Garry
Execute an internal abort for that device when it is removed, so that commands for that device are not processed. Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 0/3] Optimisation of fs_enet ethernet driver

2016-08-24 Thread Christophe Leroy
This set optimises the freescale fs_enet ethernet driver: 1/ Merge of RX and TX NAPI functions in order to limit the amount of interrupts 2/ Do not unmap DMA when packets len is below copybreak, otherwise there is no benefit in copying the skb instead of allocating a new one 3/ Make copybreak

[PATCH v2 8/8] hisi_sas: update version to 1.6

2016-08-24 Thread John Garry
Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/hisi_sas/hisi_sas.h b/drivers/scsi/hisi_sas/hisi_sas.h index 8311360..ca55ec2 100644 --- a/drivers/scsi/hisi_sas/hisi_sas.h +++

[PATCH v2 6/8] hisi_sas: fail tmf task prep when port detached

2016-08-24 Thread John Garry
When the port is detached we cannot execute a TMF, as there can be no device attached to the port. Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c

Re: [RESEND] [PATCH v2 2/4] dt-bindings: Add jdi lt070me05000 panel bindings

2016-08-24 Thread Vinay Simha
thierry, this is the reference pinouts of the panel http://www.tonylabs.com/wp-content/uploads/LT070ME05000-pinouts.jpg as you suggest , i will change the vcc-supply, - iovcc-supply: phandle of the regulator that supplies power to the IOVCC voltage input (1.8 V) will keep the other

[tip:timers/urgent] MAINTAINERS: Add ARM ARCHITECTED TIMER entry

2016-08-24 Thread tip-bot for Mark Rutland
Commit-ID: 588deb614a0d3caa596dd8eba8c4d31eaaeb89b9 Gitweb: http://git.kernel.org/tip/588deb614a0d3caa596dd8eba8c4d31eaaeb89b9 Author: Mark Rutland AuthorDate: Tue, 9 Aug 2016 11:03:56 +0100 Committer: Thomas Gleixner CommitDate: Wed, 24 Aug

[tip:perf/core] perf bpf: Fix typo: "ehough" -> "enough"

2016-08-24 Thread tip-bot for Colin Ian King
Commit-ID: c77ce225d5ed1c5bfd4c6d58dd859ae49fd7 Gitweb: http://git.kernel.org/tip/c77ce225d5ed1c5bfd4c6d58dd859ae49fd7 Author: Colin Ian King AuthorDate: Sun, 21 Aug 2016 15:19:24 +0100 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:x86/asm] x86/entry: Remove outdated comment about SYSCALL targets

2016-08-24 Thread tip-bot for Borislav Petkov
Commit-ID: 556b6723689694ac9134bcc36a07828168e057f4 Gitweb: http://git.kernel.org/tip/556b6723689694ac9134bcc36a07828168e057f4 Author: Borislav Petkov AuthorDate: Tue, 23 Aug 2016 19:23:56 +0200 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016

[tip:perf/core] perf probe: Use hexadecimal type by default if possible

2016-08-24 Thread tip-bot for Masami Hiramatsu
Commit-ID: 9880ce4a69ba5c66a5ffdd711fe446bd0226bd8c Gitweb: http://git.kernel.org/tip/9880ce4a69ba5c66a5ffdd711fe446bd0226bd8c Author: Masami Hiramatsu AuthorDate: Thu, 18 Aug 2016 17:59:07 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[tip:perf/core] ftrace: kprobe: uprobe: Show u8/u16/u32/u64 types in decimal

2016-08-24 Thread tip-bot for Masami Hiramatsu
Commit-ID: bdca79c2bf40556b664c9b1c32aec103e9bdb4a9 Gitweb: http://git.kernel.org/tip/bdca79c2bf40556b664c9b1c32aec103e9bdb4a9 Author: Masami Hiramatsu AuthorDate: Thu, 18 Aug 2016 17:59:21 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[tip:timers/urgent] clocksource/drivers/pxa: Fix include files for compilation

2016-08-24 Thread tip-bot for Baoyou Xie
Commit-ID: aa8c0f1ad7e862147f4efb32bbb71ff66eb38caa Gitweb: http://git.kernel.org/tip/aa8c0f1ad7e862147f4efb32bbb71ff66eb38caa Author: Baoyou Xie AuthorDate: Tue, 23 Aug 2016 23:19:29 +0800 Committer: Thomas Gleixner CommitDate: Wed, 24 Aug

Re: [PATCH v6 0/3] virtually mapped stacks

2016-08-24 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Thu, Aug 11, 2016 at 2:35 AM, Andy Lutomirski wrote: > > Andy Lutomirski (3): > > fork: Add generic vmalloced stack support > > dma-api: Teach the "DMA-from-stack" check about vmapped stacks > > x86/mm/64: Enable vmapped

Re: [PATCH 3/5] hwrng: amd: Be consitent with the driver name

2016-08-24 Thread Herbert Xu
On Fri, Aug 19, 2016 at 03:42:55PM +0200, LABBE Corentin wrote: > The driver name is displayed each time differently. > This patch make use of the same name everywhere. > > Signed-off-by: LABBE Corentin > --- > drivers/char/hw_random/amd-rng.c | 13 ++--- > 1

Re: [RESEND] [PATCH v2 2/4] dt-bindings: Add jdi lt070me05000 panel bindings

2016-08-24 Thread Thierry Reding
On Sun, Jul 31, 2016 at 08:45:21PM +0530, Vinay Simha BN wrote: > Add documentation for lt070me05000 panel > > Cc: Archit Taneja > Cc: John Stultz > Cc: Thierry Reding > Cc: Sumit Semwal >

[tip:perf/core] perf tools: Fix typo: "ehough" -> "enough"

2016-08-24 Thread tip-bot for Colin Ian King
Commit-ID: dd6fa4e197f0123bcd751e47c171121b2451f148 Gitweb: http://git.kernel.org/tip/dd6fa4e197f0123bcd751e47c171121b2451f148 Author: Colin Ian King AuthorDate: Sun, 21 Aug 2016 15:12:56 +0100 Committer: Arnaldo Carvalho de Melo CommitDate:

Re: [RESEND] [PATCH v3 3/4] drm/dsi: Implement dcs set/get display brightness

2016-08-24 Thread Thierry Reding
On Sun, Jul 31, 2016 at 08:45:22PM +0530, Vinay Simha BN wrote: > Provide a small convenience wrapper that set/get the > display brightness value > > Cc: John Stultz > Cc: Sumit Semwal > Cc: Archit Taneja > Cc: Rob Clark

[tip:perf/core] perf top: Use MSEC_PER_SEC

2016-08-24 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b9c4b0f40d22d4b1d29540f5faf6ca4269f25848 Gitweb: http://git.kernel.org/tip/b9c4b0f40d22d4b1d29540f5faf6ca4269f25848 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 8 Aug 2016 15:37:58 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

Re: perf: WARNING: kernel/events/core.c:4893 perf_mmap_close

2016-08-24 Thread Alexander Shishkin
Will Deacon writes: > A little bit of digging suggests that the preempt count isn't balanced > across the call to perf_pmu_output_stop from perf_mmap_close. Further > digging revealed the unbalanced get_cpu_ptr in __perf_pmu_output_stop. > Fix below! Oh gee, that's

Re: Replacing specific kmalloc() calls by kmalloc_array()?

2016-08-24 Thread SF Markus Elfring
> Or kmalloc_array, since zeroing is not necessary. Might be an idea for > a new Coccinelle script, like > > - kmalloc (N * sizeof T, GFP) > + kmalloc_array(N, sizeof T, GFP) I have picked your idea up. The corresponding script for the semantic patch language became longer than your general

[PATCH 13/41] staging: r8188eu: remove action_public_str function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Also _action_public_str array removed. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 26 -- drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 28 deletions(-)

[PATCH 11/41] staging: r8188eu: remove dump_wps_ie function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 21 - drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 23 deletions(-) diff --git

[PATCH 14/41] staging: r8188eu: remove for_each_ie macro

2016-08-24 Thread Ivan Safonov
for_each_ie does not used in the driver code. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/ieee80211.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/ieee80211.h

[PATCH 34/41] staging: r8188eu: remove agg_pkt_info structure

2016-08-24 Thread Ivan Safonov
This structure does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_xmit.h | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_xmit.h b/drivers/staging/rtl8188eu/include/rtw_xmit.h index

Re: [PATCH 2/2] thermal: rcar-thermal: enable hwmon when thermal_zone

2016-08-24 Thread Kuninori Morimoto
Hi Zhang > > > > > From: Kuninori Morimoto > > > > > > > > > > rcar-thermal is supporting both > > > > > thermal_zone_of_sensor_register() > > > > > and > > > > > thermal_zone_device_register(). But > > > > > thermal_zone_of_sensor_register() > > > > > doesn't

[PATCH 03/41] staging: r8188eu: remove rtw_ap_inform_ch_switch function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ap.c| 34 -- drivers/staging/rtl8188eu/include/rtw_ap.h | 1 - 2 files changed, 35 deletions(-) diff --git

[PATCH 15/41] staging: r8188eu: replace rtw_ieee80211_ht_cap with ieee80211_ht_cap type in rtw_check_beacon_data function

2016-08-24 Thread Ivan Safonov
rtw_ieee80211_ht_cap is reimplementation of the ieee80211_ht_cap. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c

Re: [PATCH] sched: cpufreq: ignore SMT when determining max cpu capacity

2016-08-24 Thread Morten Rasmussen
On Fri, Aug 19, 2016 at 01:43:47PM -0700, Steve Muckle wrote: > PELT does not consider SMT when scaling its utilization values via > arch_scale_cpu_capacity(). The value in rq->cpu_capacity_orig does > take SMT into consideration though and therefore may be smaller than > the utilization reported

[RESEND PATCH] [media] atmel-isc: remove the warning

2016-08-24 Thread Songjun Wu
Replace the 'IS_ERR_VALUE(irq)' with 'ret < 0' in function 'atmel_isc_probe'. Reported-by: Hans Verkuil Signed-off-by: Songjun Wu --- drivers/media/platform/atmel/atmel-isc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH V5] clk: bcm: Add driver for BCM53573 ILP clock

2016-08-24 Thread Stephen Boyd
On 08/23, Rafał Miłecki wrote: > diff --git a/drivers/clk/bcm/clk-bcm53573-ilp.c > b/drivers/clk/bcm/clk-bcm53573-ilp.c > new file mode 100644 > index 000..b7ac0eb > --- /dev/null > +++ b/drivers/clk/bcm/clk-bcm53573-ilp.c > @@ -0,0 +1,146 @@ > +/* > + * Copyright (C) 2016 Rafał Miłecki

[PATCH] Input: elants_i2c - get product id on recovery mode for FW update

2016-08-24 Thread Johnny Chuang
This CL takes the responsibility for getting product/hardware id on recovery mode. It will fix firmware update script could not find correspond firmware file name on recovery mode. BTW, firmware must need to support reading product/hardware id on boot code. Signed-off-by: Johnny Chuang

Re: [RESEND PATCH 3/4] usb: dwc2: assert phy reset when waking up in rk3288 platform

2016-08-24 Thread Randy Li
On 08/24/2016 04:46 AM, John Youn wrote: On 8/21/2016 12:32 PM, Randy Li wrote: On the rk3288 USB host-only port (the one that's not the OTG-enabled port) the PHY can get into a bad state when a wakeup is asserted (not just a wakeup from full system suspend but also a wakeup from

[PATCH] ARM: imx: add cpuidle support for i.mx6ul

2016-08-24 Thread Anson Huang
This patch enables cpuidle driver for i.MX6UL, it reuses i.MX6SX's cpuidle driver, 3 levels of cpuidle supported: 1. ARM WFI; 2. SOC in WAIT mode; 3. SOC in WAIT mode + ARM power off. As i.MX6UL has cortex-A7 CORE with an internal L2 cache, so need to add L2 cache type check to decide if to

Re: [PATCH v4] block: make sure big bio is splitted into at most 256 bvecs

2016-08-24 Thread Kent Overstreet
On Tue, Aug 23, 2016 at 09:49:45PM +0800, Ming Lei wrote: > After arbitrary bio size is supported, the incoming bio may > be very big. We have to split the bio into small bios so that > each holds at most BIO_MAX_PAGES bvecs for safety reason, such > as bio_clone(). > > This patch fixes the

Re: [PATCH 04/11] sched,x86: Enable Turbo Boost Max Technology

2016-08-24 Thread Ingo Molnar
* Srinivas Pandruvada wrote: > From: Tim Chen > > On some Intel cores, they can boosted to a higher turbo frequency than > the other cores on the same die. So we prefer processes to be run on > them vs other lower frequency

[PATCH] mmc: core: Add error message when switching fails in mmc_select_hs()

2016-08-24 Thread Jungseung Lee
The switch failure message in mmc_select_timing() had been removed since that is invalid: commit 0400ed0a083a ("mmc: core: remove the invalid message in mmc_select_timing") Now, in the case when mmc_select_hs() return error in mmc_select_timing(), there is nothing to print failure message. Let's

Re: [RFC] rlimit exceed notification events

2016-08-24 Thread Jiri Olsa
On Fri, Aug 19, 2016 at 05:41:20PM +0300, Yauheni Kaliuta wrote: > Hi! > > At the moment there is no clear indication if a process exceeds resource > limit. In some cases the problematic syscall can return a error, in some cases > the process can be just killed. > > I'm trying to implement some

Re: [PATCH V5, 0/5] Add MediaTek USB3 DRD Driver

2016-08-24 Thread Oliver Neukum
On Wed, 2016-08-24 at 14:42 +0800, chunfeng yun wrote: > Dear all, > > Could you please help me to review the code? Is the structure struct qmu_gpd shared with the hardware? Do I read this correctly that you do PIO to endpoint 0 but DMA to the others? Could you resend the series?

Re: [PATCH V3] leds: trigger: Introduce an USB port trigger

2016-08-24 Thread Matthias Brugger
On 24/08/16 13:02, Rafał Miłecki wrote: On 24 August 2016 at 12:49, Matthias Brugger wrote: On 24/08/16 00:03, Rafał Miłecki wrote: [...] +static int usbport_trig_notify(struct notifier_block *nb, unsigned long action, + void *data) +{ +

Re: [PATCH] gpio: Remove superfluous include of io-mapping.h

2016-08-24 Thread Linus Walleij
On Tue, Aug 23, 2016 at 10:32 PM, Chris Wilson wrote: > The io-mapping.h include arose from the need to workaround an arch/um > compile failure: > >drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_probe': >>> drivers/gpio/gpio-mpc8xxx.c:373:2: error: implicit

Re: [PATCH] gpio: Remove superfluous include of io-mapping.h

2016-08-24 Thread Chris Wilson
On Wed, Aug 24, 2016 at 01:55:28PM +0200, Linus Walleij wrote: > On Tue, Aug 23, 2016 at 10:32 PM, Chris Wilson > wrote: > > > The io-mapping.h include arose from the need to workaround an arch/um > > compile failure: > > > >drivers/gpio/gpio-mpc8xxx.c: In function

Re: [PATCH 1/2] clk: samsung: exynos5260: Move struct samsung_cmu_info to init section

2016-08-24 Thread Chanwoo Choi
On 2016년 08월 24일 13:43, Stephen Boyd wrote: > On 08/23, Sylwester Nawrocki wrote: >> On 08/23/2016 04:35 AM, Chanwoo Choi wrote: >> I checked stripped object files and it seems with the patch there >> is some saving of the kernel image size. Exactly 784 bytes, which >> makes zImage smaller by 480

Re: [PATCH 2/2] ARM: dts: add TOPEET itop elite based board

2016-08-24 Thread Ayaka
從我的 iPad 傳送 > Rob Herring 於 2016年8月24日 上午6:38 寫道: > >> On Tue, Aug 23, 2016 at 1:36 PM, ayaka wrote: >> >>> On 08/24/2016 02:14 AM, Rob Herring wrote: >>> On Mon, Aug 22, 2016 at 10:18:09PM +0800, Randy Li wrote: The TOPEET itop exynos

Re: [PATCH 1/1] arm64/hugetlb: clear PG_dcache_clean if the page is dirty when munmap

2016-08-24 Thread Leizhen (ThunderTown)
On 2016/8/24 1:28, Catalin Marinas wrote: > On Mon, Aug 22, 2016 at 12:19:04PM +0800, Leizhen (ThunderTown) wrote: >> On 2016/7/20 17:19, Catalin Marinas wrote: >>> On Wed, Jul 20, 2016 at 10:46:27AM +0800, Leizhen (ThunderTown) wrote: On 2016/7/8 21:54, Catalin Marinas wrote: >

Re: [PATCH v1 00/10] Optimize sched avgs computation and implement flat util hierarchy

2016-08-24 Thread Morten Rasmussen
On Tue, Aug 23, 2016 at 04:45:57PM +0200, Vincent Guittot wrote: > On 23 August 2016 at 16:13, Peter Zijlstra wrote: > > On Tue, Aug 23, 2016 at 03:28:19PM +0200, Vincent Guittot wrote: > >> I still wonder if using a flat util hierarchy is the right solution to > >> solve

[PATCH 11/16] cpuidle: powernv: Convert to hotplug state machine

2016-08-24 Thread Sebastian Andrzej Siewior
Install the callbacks via the state machine. v1…v2: - Use only CPUHP_CPUIDLE_DEAD (requested by Daniel Lezcano) Cc: "Rafael J. Wysocki" Cc: Daniel Lezcano Cc: linux...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior

Re: [PATCH V3] leds: trigger: Introduce an USB port trigger

2016-08-24 Thread Rafał Miłecki
On 24 August 2016 at 11:22, Greg KH wrote: > On Wed, Aug 24, 2016 at 12:03:29AM +0200, Rafał Miłecki wrote: >> +static ssize_t ports_show(struct device *dev, struct device_attribute *attr, >> + char *buf) >> +{ >> + struct led_classdev

[tip:perf/core] perf test bpf: Fix typo: "ehough" -> "enough"

2016-08-24 Thread tip-bot for Colin Ian King
Commit-ID: 17d4666f0613dfd1e2a3919d9b4c724acba8f8b1 Gitweb: http://git.kernel.org/tip/17d4666f0613dfd1e2a3919d9b4c724acba8f8b1 Author: Colin Ian King AuthorDate: Sun, 21 Aug 2016 15:16:03 +0100 Committer: Arnaldo Carvalho de Melo CommitDate:

Re: [PATCH v1 00/10] Optimize sched avgs computation and implement flat util hierarchy

2016-08-24 Thread Vincent Guittot
On 24 August 2016 at 10:54, Morten Rasmussen wrote: > On Tue, Aug 23, 2016 at 04:45:57PM +0200, Vincent Guittot wrote: >> On 23 August 2016 at 16:13, Peter Zijlstra wrote: >> > On Tue, Aug 23, 2016 at 03:28:19PM +0200, Vincent Guittot wrote: >> >>

Re: [PATCH] arm64: kprobe: Always clear pstate.D in breakpoint exception handler

2016-08-24 Thread Pratyush Anand
Hi Sandeepa, Thanks for the review. On 23/08/2016:04:33:08 PM, Sandeepa Prabhu wrote: > Thanks for the fix, feel free to add my ACK as well. Has it been tested on > guest kernel? have not tested on guest kernel.Will do. ~Pratyush > > Acked-by: Sandeepa Prabhu >

Re: [PATCH v6 1/3] fork: Add generic vmalloced stack support

2016-08-24 Thread Ingo Molnar
* Andy Lutomirski wrote: > +config VMAP_STACK > + default y > + bool "Use a virtually-mapped stack" > + depends on HAVE_ARCH_VMAP_STACK && !KASAN > + ---help--- > + Enable this if you want the use virtually-mapped kernel stacks > + with guard pages.

Re: [PATCH 1/1] arm64/hugetlb: clear PG_dcache_clean if the page is dirty when munmap

2016-08-24 Thread Catalin Marinas
On Wed, Aug 24, 2016 at 05:00:50PM +0800, Leizhen (ThunderTown) wrote: > > > On 2016/8/24 1:28, Catalin Marinas wrote: > > On Mon, Aug 22, 2016 at 12:19:04PM +0800, Leizhen (ThunderTown) wrote: > >> On 2016/7/20 17:19, Catalin Marinas wrote: > >>> On Wed, Jul 20, 2016 at 10:46:27AM +0800,

Re: [PATCH v5 19/19] iommu/dma: Add support for mapping MSIs

2016-08-24 Thread Robin Murphy
On 24/08/16 09:16, Thomas Gleixner wrote: > On Tue, 23 Aug 2016, Robin Murphy wrote: >> +cookie = domain->iova_cookie; >> +iovad = >iovad; >> + >> +spin_lock(>msi_lock); >> +list_for_each_entry(msi_page, >msi_page_list, list) >> +if (msi_page->phys_hi == msg->address_hi

[PATCH 1/3] net: fs_enet: merge NAPI RX and NAPI TX

2016-08-24 Thread Christophe Leroy
Initially, a NAPI TX routine has been implemented separately from NAPI RX, as done on the freescale/gianfar driver. By merging NAPI RX and NAPI TX, we reduce the amount of TX completion interrupts. Handling of the budget in association with TX interrupts is based on indications provided at

[PATCH 2/3] net: fs_enet: don't unmap DMA when packet len is below copybreak

2016-08-24 Thread Christophe Leroy
When the length of the packet is below the defined copybreak limit, the received packet is copied into a newly allocated skb in order to reuse the skb. This is only interesting if it allow us to avoid a new DMA mapping. We shall therefore not DMA unmap and remap the skb->data. Instead, we

Re: [PATCH V3] leds: trigger: Introduce an USB port trigger

2016-08-24 Thread Rafał Miłecki
On 24 August 2016 at 12:49, Matthias Brugger wrote: > On 24/08/16 00:03, Rafał Miłecki wrote: >> >> From: Rafał Miłecki >> >> This commit adds a new trigger responsible for turning on LED when USB >> device gets connected to the specified USB port. This can

Applied "ASoC: tas5086: fix typo: "Inavlid" -> "Invalid"" to the asoc tree

2016-08-24 Thread Mark Brown
The patch ASoC: tas5086: fix typo: "Inavlid" -> "Invalid" has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Re: [PATCH v2 1/1] pwm: sun4i: fix a possible NULL dereference

2016-08-24 Thread LABBE Corentin
On Mon, Aug 22, 2016 at 08:57:37AM +0200, Maxime Ripard wrote: > Hi, > > On Tue, Aug 16, 2016 at 03:18:06PM +0200, LABBE Corentin wrote: > > of_match_device could return NULL, and so cause a NULL pointer > > dereference later. > > > > For fixing this problem, we use of_device_get_match_data(),

Re: [RESEND] [PATCH v2 2/4] dt-bindings: Add jdi lt070me05000 panel bindings

2016-08-24 Thread Thierry Reding
On Sun, Jul 31, 2016 at 08:45:21PM +0530, Vinay Simha BN wrote: [...] > diff --git > a/Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt > b/Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt [...] > +- reset-gpios: phandle of gpio for reset line > + This

[patch 1/2] i2c: add master driver for mellanox systems

2016-08-24 Thread vadimp
From: Vadim Pasternak Device driver for Mellanox I2C controller logic, implemented in Lattice CPLD device. Device supports: - Master mode - One physical bus - Polling mode The Kconfig currently controlling compilation of this code is:

[patch 2/2] i2c: mux: mellanox: add driver

2016-08-24 Thread vadimp
From: Vadim Pasternak This driver allows I2C routing controlled through CPLD select registers on wide range of Mellanox systems (CPLD Lattice device). MUX selection is provided by digital and analog HW. Analog part is not under SW control. Digital part is under CPLD control

[PATCH] fb: udl: fix build without CONFIG_FB_DEFERRED_IO

2016-08-24 Thread Arnd Bergmann
A cleanup in v4.8 dropped several dependencies, but caused the udl driver to fail building when CONFIG_FB_DEFERRED_IO is not set: drivers/gpu/drm/udl/udl_fb.c: In function 'udl_fb_open': drivers/gpu/drm/udl/udl_fb.c:206:23: error: 'struct fb_info' has no member named 'fbdefio' if (fb_defio &&

[PATCH 12/41] staging: r8188eu: remove rtw_action_frame_parse function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 29 -- drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 31 deletions(-) diff --git

[PATCH 09/41] staging: r8188eu: remove rtw_set_ie_ch_switch function

2016-08-24 Thread Ivan Safonov
Driver does not use this function. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 11 --- drivers/staging/rtl8188eu/include/ieee80211.h | 2 -- 2 files changed, 13 deletions(-) diff --git

[PATCH 37/41] staging: r8188eu: remove odm_sta_info structure

2016-08-24 Thread Ivan Safonov
odm_sta_info structure does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/odm.h | 16 1 file changed, 16 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/odm.h b/drivers/staging/rtl8188eu/include/odm.h index

Re: [PATCH RFC RESEND] Perf: lookup dwarf unwind stack info in debug file pointed by .gnu_debuglink

2016-08-24 Thread Matija Glavinic Pecotic
On 24/08/16 09:30, Jiri Olsa wrote: > On Tue, Aug 23, 2016 at 06:18:10PM +0200, Matija Glavinic Pecotic wrote: >> -ret = filename__read_debuglink(filename, debuglink, >> - size - (debuglink - filename)); >> +ret =

[PATCH 23/41] staging: r8188eu: simplify HT_caps_element structure

2016-08-24 Thread Ivan Safonov
Now HT_caps_element structure is similar to ieee80211_ht_caps. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ap.c| 6 +++--- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 6 +++--- drivers/staging/rtl8188eu/core/rtw_mlme.c | 8

[PATCH 21/41] staging: r8188eu: remove rtw_ieee80211_ht_cap structure

2016-08-24 Thread Ivan Safonov
rtw_ieee80211_ht_cap does not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/wifi.h | 16 1 file changed, 16 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/wifi.h b/drivers/staging/rtl8188eu/include/wifi.h index

[PATCH 17/41] staging: r8188eu: replace sizeof(struct rtw_ieee80211_ht_cap) with sizeof(struct ieee80211_ht_cap)

2016-08-24 Thread Ivan Safonov
Values of this expressions are equal, but ieee80211_ht_cap is library type. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 5 +++-- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 8 +--- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c

[PATCH 19/41] staging: r8188eu: change rtw_ieee80211_ht_cap type of local variables to ieee80211_ht_cap

2016-08-24 Thread Ivan Safonov
rtw_ieee80211_ht_cap is reimplementation of the ieee80211_ht_cap. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 9 drivers/staging/rtl8188eu/core/rtw_mlme.c | 31 +-

[PATCH 29/41] staging:r8188eu: remove unnecessary include from include/rtw_ht.h

2016-08-24 Thread Ivan Safonov
osdep_service.h does not required in include/rtw_ht.h. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_ht.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_ht.h b/drivers/staging/rtl8188eu/include/rtw_ht.h

Re: setitimer() doesn't work properly starting with 4.8-rc1

2016-08-24 Thread Thomas Gleixner
On Wed, 17 Aug 2016, Andrei Vagin wrote: Cc'ing scheduler folks. > On Wed, Aug 17, 2016 at 12:01 PM, Andrei Vagin wrote: > > Hello, > > > > I found that setitimer() doesn't work properly on out test AMD fitlet. > > It works correctly in the 4.7 kernel and doesn't work in

[tip:perf/core] perf sched: Use linux/time64.h

2016-08-24 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4fc76e495b60da343b94dadeea1001f878ceb955 Gitweb: http://git.kernel.org/tip/4fc76e495b60da343b94dadeea1001f878ceb955 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 8 Aug 2016 12:23:49 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/core] perf disassemble: Move check for kallsyms + !kcore

2016-08-24 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: c12944f7faa7f76441d83c1413f13e8bc70162b2 Gitweb: http://git.kernel.org/tip/c12944f7faa7f76441d83c1413f13e8bc70162b2 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 9 Aug 2016 14:56:13 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/core] tools: Copy coresight-pmu.h header file needed by perf tools

2016-08-24 Thread tip-bot for Mathieu Poirier
Commit-ID: 39ff526350059e61234d58676c13bcfcaac3a451 Gitweb: http://git.kernel.org/tip/39ff526350059e61234d58676c13bcfcaac3a451 Author: Mathieu Poirier AuthorDate: Thu, 11 Aug 2016 10:20:56 -0600 Committer: Arnaldo Carvalho de Melo

[tip:perf/core] perf report: Allow configuring the default sort order in ~/.perfconfig

2016-08-24 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: fa1f456592347c6f40c9d37ea407b029fda5324a Gitweb: http://git.kernel.org/tip/fa1f456592347c6f40c9d37ea407b029fda5324a Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 12 Aug 2016 20:41:01 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/core] perf bench futex: Use NSEC_PER_USEC

2016-08-24 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 565e69114e4aa42664b0e7da135181651c3402f2 Gitweb: http://git.kernel.org/tip/565e69114e4aa42664b0e7da135181651c3402f2 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 8 Aug 2016 15:35:21 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

Re: [PATCH V3] leds: trigger: Introduce an USB port trigger

2016-08-24 Thread Greg KH
On Wed, Aug 24, 2016 at 12:03:29AM +0200, Rafał Miłecki wrote: > +static ssize_t ports_show(struct device *dev, struct device_attribute *attr, > + char *buf) > +{ > + struct led_classdev *led_cdev = dev_get_drvdata(dev); > + struct usbport_trig_data *usbport_data =

[tip:perf/core] perf tools: Skip running the feature tests for 'make install-doc'

2016-08-24 Thread tip-bot for Rui Teng
Commit-ID: 11196b79164c95b8e5968ff63fa6b59536c9748f Gitweb: http://git.kernel.org/tip/11196b79164c95b8e5968ff63fa6b59536c9748f Author: Rui Teng AuthorDate: Wed, 10 Aug 2016 16:49:08 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[tip:perf/core] perf hists browser: Remove superfluous null check on map

2016-08-24 Thread tip-bot for Colin Ian King
Commit-ID: 6637e6f1ac62e62a353612844db21cff9a17758b Gitweb: http://git.kernel.org/tip/6637e6f1ac62e62a353612844db21cff9a17758b Author: Colin Ian King AuthorDate: Mon, 15 Aug 2016 17:25:43 +0100 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/core] perf tools: Use __weak definition from linux/compiler.h

2016-08-24 Thread tip-bot for Rui Teng
Commit-ID: 11d8f870c8eb8dd41ade688fbad6946ad69243fe Gitweb: http://git.kernel.org/tip/11d8f870c8eb8dd41ade688fbad6946ad69243fe Author: Rui Teng AuthorDate: Thu, 28 Jul 2016 10:05:57 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[tip:perf/core] ftrace: kprobe: uprobe: Add x8/x16/x32/x64 for hexadecimal types

2016-08-24 Thread tip-bot for Masami Hiramatsu
Commit-ID: 17ce3dc7e5a0e4796cc7838d1f7b2531d0bca130 Gitweb: http://git.kernel.org/tip/17ce3dc7e5a0e4796cc7838d1f7b2531d0bca130 Author: Masami Hiramatsu AuthorDate: Thu, 18 Aug 2016 17:57:50 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[tip:perf/core] ftrace: probe: Add README entries for k/uprobe-events

2016-08-24 Thread tip-bot for Masami Hiramatsu
Commit-ID: 864256255597aad86abcecbe6c53da8852ded15b Gitweb: http://git.kernel.org/tip/864256255597aad86abcecbe6c53da8852ded15b Author: Masami Hiramatsu AuthorDate: Thu, 18 Aug 2016 17:58:15 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[PATCH 39/41] staging: r8188eu: remove some structure definitions from rtw_cmd.h

2016-08-24 Thread Ivan Safonov
del_assocsta_parm and setstapwrstate_parm structures are not used. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_cmd.h | 28 1 file changed, 28 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_cmd.h

Re: [RFC v4 22/22] timekeeping: inform clockevents about freq adjustments

2016-08-24 Thread Nicolai Stange
Nicolai Stange writes: > --- a/kernel/time/timekeeping.c > +++ b/kernel/time/timekeeping.c > @@ -1845,6 +1845,9 @@ static __always_inline void > timekeeping_apply_adjustment(struct timekeeper *tk, > tk->xtime_interval += interval; > tk->tkr_mono.xtime_nsec -=

Re: livepatch/kprobes incompatibility

2016-08-24 Thread Petr Mladek
On Tue 2016-08-23 21:13:00, Jessica Yu wrote: > Hi Masami, Petr, > > I'm trying to figure out where we are exactly with fixing the problems with > livepatch + kprobes, and I was wondering if there will be any more updates to > the ipmodify patchset that was originally merged back in 2014 (See: >

Re: [PATCH] ARM: imx: add cpuidle support for i.mx6ul

2016-08-24 Thread Lucas Stach
Am Mittwoch, den 24.08.2016, 09:53 + schrieb Yongcai Huang: > > > Best Regards! > Anson Huang > > > > > -Original Message- > > From: Lucas Stach [mailto:l.st...@pengutronix.de] > > Sent: 2016-08-24 5:09 PM > > To: Yongcai Huang > > Cc:

Re: [PATCH] sched/fair: Fix fixed point arithmetic width for shares and effective load

2016-08-24 Thread Dietmar Eggemann
On 23/08/16 21:40, Paul Turner wrote: > On Mon, Aug 22, 2016 at 7:00 AM, Dietmar Eggemann [...] >> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c >> index 61d485421bed..18f80c4c7737 100644 >> --- a/kernel/sched/fair.c >> +++ b/kernel/sched/fair.c >> @@ -2530,8 +2530,8 @@ static long

Re: [PATCH v3 0/2] AM335x-ICE: Add support for rotary switch

2016-08-24 Thread Daniel Mack
On 08/24/2016 11:15 AM, Vignesh R wrote: > On Wednesday 24 August 2016 02:05 PM, Daniel Mack wrote: >> On 08/24/2016 09:58 AM, Vignesh R wrote: >>> This series adds support for rotary-switch on AM335x-ICE that is >>> connected to TI PCA9536 I2C GPIO expander. >>> First patch adds new generic

Re: [PATCH v13 0/4] Mediatek MT8173 CMDQ support

2016-08-24 Thread Matthias Brugger
On 24/08/16 05:27, 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 the vblank. It controls Global Command Engine (GCE) hardware to achieve this

Re: [PATCH 1/2] f2fs: detect host-managed SMR by feature flag

2016-08-24 Thread Shaun Tancheff
Hi Jaegeuk, On Wed, Jun 15, 2016 at 11:32 AM, Jaegeuk Kim wrote: > On Wed, Jun 15, 2016 at 04:21:13AM +, Damien Le Moal wrote: >> On 6/15/16 03:45, Jaegeuk Kim wrote: >> > If mkfs.f2fs gives a feature flag for host-managed SMR, we can set mode=lfs >> > by default. >> > >>

Re: [PATCH v2] locking/percpu-rwsem: Optimize readers and reduce global impact

2016-08-24 Thread John Stultz
On Fri, Aug 12, 2016 at 6:44 PM, Om Dhyade wrote: > Update from my tests: > Use-case: Android application launches. > > I tested the patches on android N build, i see max latency ~7ms. > In my tests, the wait is due to: copy_process(fork.c) blocks all threads in >

[PATCH v11 3/8] i2c: thunderx: Add i2c driver for ThunderX SOC

2016-08-24 Thread Jan Glauber
The ThunderX SOC uses the same i2c block as the Octeon SOC. The main difference is that on ThunderX the device is a PCI device so device probing is done via PCI, interrupts are MSI-X. The clock rates can be set via device tree or ACPI. Signed-off-by: Jan Glauber ---

[PATCH v11 0/8] i2c-octeon and i2c-thunderx driver

2016-08-24 Thread Jan Glauber
Hi Wolfram, this update should address all comments. The probe funtion is much easier to read now after using the managed device functions. We also had an issue with the 5ms timeout and some ipmi/ssif commands so I dropped the timeout setting to get the 1s default. Changes to v10: - Proper use

[PATCH v11 7/8] i2c: octeon: Use booleon values for booleon variables

2016-08-24 Thread Jan Glauber
Initialize booleon values with true instead of 1. Signed-off-by: Jan Glauber --- drivers/i2c/busses/i2c-octeon-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-octeon-core.c b/drivers/i2c/busses/i2c-octeon-core.c index

Re: [PATCH v2] locking/percpu-rwsem: Optimize readers and reduce global impact

2016-08-24 Thread Tejun Heo
Hello, John. On Wed, Aug 24, 2016 at 02:16:52PM -0700, John Stultz wrote: > Hey Peter, Tejun, Oleg, > So while you're tweaks for the percpu-rwsem have greatly helped the > regression folks were seeing (many thanks, by the way), as noted > above, the performance regression with the global lock

Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat

2016-08-24 Thread Shaun Tancheff
On Wed, Aug 24, 2016 at 12:31 AM, Tom Yan wrote: > On 24 August 2016 at 11:33, Martin K. Petersen > wrote: >>> "Tom" == Tom Yan writes: >> >> Tom> Nope, SCSI Write Same commands does not have payload (or in SCSI >> Tom>

Re: kernel BUG at net/unix/garbage.c:149!"

2016-08-24 Thread Hannes Frederic Sowa
On 24.08.2016 16:24, Nikolay Borisov wrote: > Hello, > > I hit the following BUG: > > [1851513.239831] [ cut here ] > [1851513.240079] kernel BUG at net/unix/garbage.c:149! > [1851513.240313] invalid opcode: [#1] SMP > [1851513.248320] CPU: 37 PID: 11683 Comm:

Re: [PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-24 Thread Mark Rutland
Hi, On Wed, Aug 24, 2016 at 03:20:09PM -0400, Rich Felker wrote: > On Wed, Aug 24, 2016 at 08:01:52PM +0100, Marc Zyngier wrote: > > On Wed, 24 Aug 2016 13:40:01 -0400 > > Rich Felker wrote: > > > > [...] > > > > > > IIUC, there is a problem with the interrupt controller where

Re: [PATCH 2/3] docs: split up the driver book

2016-08-24 Thread Jonathan Corbet
On Tue, 23 Aug 2016 11:30:16 -0300 Mauro Carvalho Chehab wrote: > On the output text, you'll see two places with "@:c:func:threadfn()". > > The problem here is that threadfn() is a function argument. While this > used to work with DocBooks, now with Sphinx this is not

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