Re: x86/PCI: Scan all functions during probing

2016-08-24 Thread Jan Kiszka
On 2016-08-24 04:39, Thomas Gleixner wrote: > On Thu, 18 Aug 2016, Bjorn Helgaas wrote: >> I looked up the spec: PCI (not PCIe) r3.0, sec 3.2.2.3.4, says: >> >> A single-function device may optionally respond to all function >> numbers as the same function or may ... respond only to function 0

Re: [PATCH] zd1211rw: fix spelling mistake "firmeware" -> "firmware"

2016-08-24 Thread Julian Calaby
Hi All, On Tue, Aug 23, 2016 at 4:35 AM, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in dev_err message. > > Signed-off-by: Colin Ian King Looks right to me. Reviewed-by: Julian Calaby Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http:

[PATCH v2 1/3] tracing: Deference pointers without RCU checks

2016-08-24 Thread Binoy Jayan
From: Daniel Wagner The tracepoint can't be used in code section where we are in the middle of a state transition. For example if we place a tracepoint inside start/stop_critical_section(), lockdep complains with [0.035589] WARNING: CPU: 0 PID: 3 at kernel/locking/lockdep.c:3560 \ check_fla

[PATCH v2 2/3] tracing: Add trace_irqsoff tracepoints

2016-08-24 Thread Binoy Jayan
This work is based on work by Daniel Wagner. A few tracepoints are added at the end of the critical section. With the hist trigger in place, the hist trigger plots may be generated, with per-cpu breakdown of events captured. It is based on linux kernel's event infrastructure. The following filter(

[PATCH v2 0/3] *** Latency histograms - IRQSOFF,PREEMPTOFF ***

2016-08-24 Thread Binoy Jayan
Hi, Thank you Steven and Daniel for reviewing v1 and providing suggestions. These set of patches [v2] capture latency events caused by interrupts and premption disabled in kernel. The patches are based on the hist trigger feature developed by Tom Zanussi. Git-commit: 7ef224d1d0e3a1ade02d02c01ce1d

[PATCH v2 3/3] tracing: Histogram for missed timer offsets

2016-08-24 Thread Binoy Jayan
Latencies of missed timer offsets. Generate a histogram of missed timer offsets in microseconds. This will be a based along with irq and preemption latencies to calculate the effective process wakeup latencies. The following filter(s) may be used 'hist:key=common_pid.execname' 'hist:key=common_pi

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 to

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 s

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 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(), th

[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: Tue, 23 Aug 2016 15:37:33 -0300 per

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 embarrassing. Thanks! > This

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 > Signed-off-by: Vinay Simha BN > Acked-by: Rob Herring > > --- > v2: > * incorporated rob herring and

[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: Tue, 23 Aug 2016 17:06:38 -0300 perf tools:

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 > Cc: Jani Nikula > Cc: Thierry Reding > Cc: Emil Velikov > Signed-off

Re: [PATCH v2 1/2] kexec: Introduce "/sys/kernel/kexec_crash_low_size"

2016-08-24 Thread Xunlei Pang
On 2016/08/24 at 16:20, Dave Young wrote: > On 08/23/16 at 06:11pm, Yinghai Lu wrote: >> On Wed, Aug 17, 2016 at 1:20 AM, Dave Young wrote: >>> On 08/17/16 at 09:50am, Xunlei Pang wrote: "/sys/kernel/kexec_crash_size" only handles crashk_res, it is fine in most cases, but sometimes we ha

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) +{ + struct usbport_t

Re: include/linux/io-mapping.h:130:39: error: implicit declaration of function 'ioremap_wc'

2016-08-24 Thread Linus Walleij
On Tue, Aug 23, 2016 at 10:03 PM, Chris Wilson wrote: > On Tue, Aug 16, 2016 at 10:14:57AM +0200, Linus Walleij wrote: >> On Mon, Aug 15, 2016 at 5:08 PM, kbuild test robot >> I think I've finally fixed this now by making OF_GPIO depend on !NO_IOMEM. > > I've stumbled over this patch (...) >

[PATCH v2] mm: memcontrol: avoid unused function warning

2016-08-24 Thread Arnd Bergmann
A bugfix in v4.8-rc2 introduced a harmless warning when CONFIG_MEMCG_SWAP is disabled but CONFIG_MEMCG is enabled: mm/memcontrol.c:4085:27: error: 'mem_cgroup_id_get_online' defined but not used [-Werror=unused-function] static struct mem_cgroup *mem_cgroup_id_get_online(struct mem_cgroup *memcg

Re: [ANNOUNCE] git-series: track changes to a patch series over time

2016-08-24 Thread Jakub Narębski
W dniu 11.08.2016 o 00:07, Josh Triplett pisze: > On August 9, 2016 11:37:31 PM HST, Richard Ipsum > wrote: >> On Thu, Aug 04, 2016 at 12:40:58PM -1000, Josh Triplett wrote: [...] >>> If you use a format-patch diff that includes the headers and >>> commit message, you could also support commentin

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 declaration of >>> function 'iou

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 sho

[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 (channel selection/de-

[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: drivers/i2c/busses/Kconfig:config I2C_MLXCPLD

[PATCH v3] pwm: sun4i: fix a possible NULL dereference

2016-08-24 Thread LABBE Corentin
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(), this will simplify the code a little by using a standard function for getting the match data. Testing the return value of of_device_get_match_data is also

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 t

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 'mpc8xxx_probe': > >>> dri

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 sugg

Re: [RFC PATCH v2 0/7] AC97 device/driver model revamp

2016-08-24 Thread Mark Brown
On Tue, Aug 23, 2016 at 06:39:35PM +0200, Robert Jarzmik wrote: > In the old ac97 bus, the match function was always returning "true", and the > driver did probe. With this new implementation, the ac97 is discovered and > sound/soc/codecs/wm9713.c#wm9713_ac97_probe() is called. I don't export > ac

Re: [PATCH v2] mm: memcontrol: avoid unused function warning

2016-08-24 Thread Michal Hocko
On Wed 24-08-16 12:23:00, Arnd Bergmann wrote: > A bugfix in v4.8-rc2 introduced a harmless warning when CONFIG_MEMCG_SWAP > is disabled but CONFIG_MEMCG is enabled: > > mm/memcontrol.c:4085:27: error: 'mem_cgroup_id_get_online' defined but not > used [-Werror=unused-function] > static struct me

Re: [PATCH v3 0/5] dts patches for qcom tsens support

2016-08-24 Thread Nayak, Rajendra
On 8/24/2016 3:52 PM, Paolo Pisati wrote: On Wed, Aug 17, 2016 at 02:33:40PM -0500, Andy Gross wrote: On Wed, Aug 17, 2016 at 10:48:43AM +0530, Rajendra Nayak wrote: Hey Andy, This is a respin of v2 with some minor fixes pointed out by Rob. Please pull these in for 4.9 Thanks, Rajendra I p

Re: [RFC PATCH v1 18/28] crypto: add AMD Platform Security Processor driver

2016-08-24 Thread Tom Lendacky
On 08/23/2016 02:14 AM, Herbert Xu wrote: > On Mon, Aug 22, 2016 at 07:27:22PM -0400, Brijesh Singh wrote: >> The driver to communicate with Secure Encrypted Virtualization (SEV) >> firmware running within the AMD secure processor providing a secure key >> management interface for SEV guests. >>

Re: [PATCH] dt-bindings: GPIO: Add TPIC2810 binding

2016-08-24 Thread Linus Walleij
On Tue, Aug 23, 2016 at 1:45 PM, Roger Quadros wrote: > From: "Andrew F. Davis" > > Add binding for TPIC2810 GPO device. > > Signed-off-by: Andrew F. Davis > Signed-off-by: Roger Quadros Patch applied. Yours, Linus Walleij

Re: [RFC PATCH 0/3] UART slave device bus

2016-08-24 Thread Linus Walleij
On Mon, Aug 22, 2016 at 5:45 PM, One Thousand Gnomes wrote: > and if I look at the usermode crapfest on a lot of Android systems it > looks similar but with the notion of things like being able to describe > > - Use GPIO mode sleeping and assume first char is X to save power It's really na

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

2016-08-24 Thread Vinay Simha
if we do not set the polarity to 8mA, panel will have gibberish display. (information to set 8mA is available only in nexus7-msm-flo-3.4-lollipop-release_dsi kernel nx7 release) i will add this reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>; On Wed, Aug 24, 2016 at 5:26 PM, Thierry Reding wrote

Re: [PATCH v2 1/2] pinctrl: meson-gxbb: add pins for PWM

2016-08-24 Thread Linus Walleij
On Tue, Aug 23, 2016 at 1:25 PM, Neil Armstrong wrote: > Add support for PWM pins, for EE and AO domains. > > Signed-off-by: Neil Armstrong Patch applied! Yours, Linus Walleij

Re: [PATCH 2/2] reset: uniphier: use of_device_get_match_data() to get matched data

2016-08-24 Thread Philipp Zabel
Hi Masahiro, Am Mittwoch, den 24.08.2016, 15:40 +0900 schrieb Masahiro Yamada: > Use of_device_get_match_data() instead of of_match_node(). With > this, we can retrieve the .data field of the OF match table more > easily. No more need to define (or declare) the match table before > the probe cal

Re: [PATCH 1/2] reset: uniphier: add static qualifier to probe function

2016-08-24 Thread Philipp Zabel
Am Mittwoch, den 24.08.2016, 15:40 +0900 schrieb Masahiro Yamada: > I missed this in the initial commit. > > Signed-off-by: Masahiro Yamada > --- > > drivers/reset/reset-uniphier.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/reset/reset-uniphier.c b/drivers

Re: [PATCH 1/3] perf/x86/intel/bts: Fix confused ordering of PMU callbacks

2016-08-24 Thread Alexander Shishkin
Alexander Shishkin writes: > The intel_bts driver is using a cpu-local 'started' variable to order > callbacks and PMIs and make sure that AUX transactions don't get messed > up. However, the ordering rules in regard to this variable is a complete > mess, which recently resulted in perf_fuzzer-tr

Re: Why do we need reset_control_get_optional() ?

2016-08-24 Thread Philipp Zabel
Am Mittwoch, den 24.08.2016, 15:58 +0900 schrieb Masahiro Yamada: > Hi Philipp, > > 2016-08-16 23:36 GMT+09:00 Masahiro Yamada : > > Hi Philipp, Arnd. > > > > > > > > 2016-08-09 1:39 GMT+09:00 Philipp Zabel : > >> Am Freitag, den 05.08.2016, 17:50 +0200 schrieb Arnd Bergmann: > >>> On Thursday, Ju

Re: [PATCH 2/2] reset: uniphier: use of_device_get_match_data() to get matched data

2016-08-24 Thread Masahiro Yamada
Hi Philipp, 2016-08-24 21:27 GMT+09:00 Philipp Zabel : > Hi Masahiro, > > Am Mittwoch, den 24.08.2016, 15:40 +0900 schrieb Masahiro Yamada: >> Use of_device_get_match_data() instead of of_match_node(). With >> this, we can retrieve the .data field of the OF match table more >> easily. No more ne

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

2016-08-24 Thread Thierry Reding
On Wed, Aug 24, 2016 at 05:34:55PM +0530, Vinay Simha wrote: > thierry, > > this is the reference pinouts of the panel > http://www.tonylabs.com/wp-content/uploads/LT070ME05000-pinouts.jpg I can't open that file. > as you suggest , i will change the vcc-supply, > > - iovcc-supply: phandle of t

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

2016-08-24 Thread Thierry Reding
On Wed, Aug 24, 2016 at 05:53:00PM +0530, Vinay Simha wrote: > if we do not set the polarity to 8mA, panel will have gibberish display. > (information to set 8mA is available only in > nexus7-msm-flo-3.4-lollipop-release_dsi kernel nx7 release) > > i will add this > reset-gpios = <&tlmm_pinmux 54

Applied "ASoC: samsung: i2s: Add missing clk_disable_unprepare() on error in samsung_i2s_probe()" to the asoc tree

2016-08-24 Thread Mark Brown
The patch ASoC: samsung: i2s: Add missing clk_disable_unprepare() on error in samsung_i2s_probe() 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 s

Re: [PATCH v2 1/8] hisi_sas: add internal abort main code

2016-08-24 Thread Hannes Reinecke
On 08/24/2016 01:05 PM, John Garry wrote: > Add main code for internal abort functionality. > > The internal abort features allows the host controller > to abort commands which are still active in the > controller but have not yet been sent to the slave > device. > > Typically a command only spen

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

2016-08-24 Thread Hannes Reinecke
On 08/24/2016 01:05 PM, John Garry wrote: > 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 a

Re: [PATCH v2 3/8] hisi_sas: add internal abort to hisi_sas_abort_task()

2016-08-24 Thread Hannes Reinecke
On 08/24/2016 01:05 PM, John Garry wrote: > Execute an internal abort for executing a task abort. > This is for case of the command still being present > in host when abort is executed. > > For a SATA internal abort, we set abort for all tasks > associated with the device. > > Signed-off-by: John

Re: [PATCH v2 4/8] hisi_sas: add prep_abort_v2_hw()

2016-08-24 Thread Hannes Reinecke
On 08/24/2016 01:05 PM, John Garry wrote: > Add function to prepare the an internal abort > for v2 hw. > > Signed-off-by: John Garry > --- > drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 33 + > 1 file changed, 33 insertions(+) > Reviewed-by: Hannes Reinecke Cheers,

Re: [RFC PATCH v3 0/2] Type-C Port Manager

2016-08-24 Thread Heikki Krogerus
Hi Guenter, On Tue, Aug 23, 2016 at 02:10:49PM -0700, Guenter Roeck wrote: > The following series of patches implements a USB Type-C Port Manager > using the pending USB Type-C class code as basis. The code is still WIP, > but I think it is important to get feedback from the community at this poin

Re: [PATCH 4/7] pinctrl: samsung: Add GPFx support of Exynos5433

2016-08-24 Thread Chanwoo Choi
Hi Tomasz, I'm sorry for delay reply. On 2016년 08월 19일 20:31, Tomasz Figa wrote: > Hi Chanwoo, > > 2016-08-19 18:07 GMT+09:00 Chanwoo Choi : >> Hi Tomasz Figa, >> >> Due to wrong setting of email client, >> your reply is deleted on my email client at the company. > > I used Gmail (in plain text

Re: [RFC PATCH 2/4] perf-probe: Add offline output directory option

2016-08-24 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 24, 2016 at 02:58:12PM +0900, Masami Hiramatsu escreveu: > Add offline output direcrtory option. This allows user to > store probe event definition in offline output directory. In such cases you should show it in action, like I am doing now to test this patch: [root@jouet ~]# perf p

Re: [PATCH v2 5/8] hisi_sas: add v2 hw slot complete internal abort support

2016-08-24 Thread Hannes Reinecke
On 08/24/2016 01:05 PM, John Garry wrote: > Add code in slot_complete_v2_hw() to deal with the > slots which have completed due to internal abort. > > The status codes have the following meaning: > - STAT_IO_ABORTED: the IO has been aborted due to > internal abort, whether by device or individual

Re: [PATCH v2 7/8] hisi_sas: add TMF success check

2016-08-24 Thread Hannes Reinecke
On 08/24/2016 01:05 PM, John Garry wrote: > When a tmf is issued, various response codes can be > returned from the target. For a query tmf the > response may be TMF_RESP_FUNC_COMPLETE or > TMF_RESP_FUNC_SUCC. > Add a condition for TMF_RESP_FUNC_SUCC to > hisi_sas_exec_internal_tmf_task(). > This a

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

2016-08-24 Thread Hannes Reinecke
On 08/24/2016 01:05 PM, John Garry wrote: > 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/d

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

2016-08-24 Thread Hannes Reinecke
On 08/24/2016 01:05 PM, John Garry wrote: > 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/d

[tip:x86/apic] x86/apic: Update comment about disabling processor focus

2016-08-24 Thread tip-bot for Wei Jiangang
Commit-ID: 5035da41996d346c648a65c1d7a9f6469c7d358a Gitweb: http://git.kernel.org/tip/5035da41996d346c648a65c1d7a9f6469c7d358a Author: Wei Jiangang AuthorDate: Fri, 19 Aug 2016 11:22:37 +0800 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 11:24:33 +0200 x86/apic: Update comment ab

Re: [REGRESSION] Select hang with zero sized UDP packets

2016-08-24 Thread Eric Dumazet
On Wed, 2016-08-24 at 11:22 +0300, Dan Akunis wrote: > When select wakes up on a UDP socket, user is expecting to get data. Getting > 0 from recvfrom() or whatever read function she uses, is a wrong attitude. > I agree with David. > > The unit test that expects select to wake up is wrong and shou

[tip:x86/apic] x86/smpboot: Check APIC ID before setting up default routing

2016-08-24 Thread tip-bot for Wei Jiangang
Commit-ID: 384d9fe3741657c8ed8cd9bf30bc1d4611864d56 Gitweb: http://git.kernel.org/tip/384d9fe3741657c8ed8cd9bf30bc1d4611864d56 Author: Wei Jiangang AuthorDate: Fri, 19 Aug 2016 11:22:36 +0800 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 11:24:33 +0200 x86/smpboot: Check APIC ID

[tip:x86/asm] dma-api: Teach the "DMA-from-stack" check about vmapped stacks

2016-08-24 Thread tip-bot for Andy Lutomirski
Commit-ID: b4a0f533e5976cb1a79f31d6152e1d322d79b7f1 Gitweb: http://git.kernel.org/tip/b4a0f533e5976cb1a79f31d6152e1d322d79b7f1 Author: Andy Lutomirski AuthorDate: Thu, 11 Aug 2016 02:35:22 -0700 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 12:11:41 +0200 dma-api: Teach the "DMA-

Re: [RFC PATCH 4/4] perf-probe: Support probing on offline cross-arch binary

2016-08-24 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 24, 2016 at 02:58:41PM +0900, Masami Hiramatsu escreveu: > Support probing on offline cross-architecture binary by > adding getting the target machine arch from ELF and > choose correct register string for the machine. > > Here is an example: > - > $ mkdir tracing No need for

[tip:x86/asm] x86/mm/64: Enable vmapped stacks (CONFIG_HAVE_ARCH_VMAP_STACK=y)

2016-08-24 Thread tip-bot for Andy Lutomirski
Commit-ID: e37e43a497d5a8b7c0cc1736d56986f432c394c9 Gitweb: http://git.kernel.org/tip/e37e43a497d5a8b7c0cc1736d56986f432c394c9 Author: Andy Lutomirski AuthorDate: Thu, 11 Aug 2016 02:35:23 -0700 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 12:11:42 +0200 x86/mm/64: Enable vmappe

[tip:x86/asm] fork: Add generic vmalloced stack support

2016-08-24 Thread tip-bot for Andy Lutomirski
Commit-ID: ba14a194a434ccc8f733e263ad2ce941e35e5787 Gitweb: http://git.kernel.org/tip/ba14a194a434ccc8f733e263ad2ce941e35e5787 Author: Andy Lutomirski AuthorDate: Thu, 11 Aug 2016 02:35:21 -0700 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 12:11:41 +0200 fork: Add generic vmallo

[tip:x86/asm] ftrace: Only allocate the ret_stack 'fp' field when needed

2016-08-24 Thread tip-bot for Josh Poimboeuf
Commit-ID: daa460a88c09b26b68e8b017de589c217e901afb Gitweb: http://git.kernel.org/tip/daa460a88c09b26b68e8b017de589c217e901afb Author: Josh Poimboeuf AuthorDate: Fri, 19 Aug 2016 06:52:56 -0500 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 12:15:14 +0200 ftrace: Only allocate the

[tip:x86/asm] ftrace: Add return address pointer to ftrace_ret_stack

2016-08-24 Thread tip-bot for Josh Poimboeuf
Commit-ID: 9a7c348ba6a46f6270d4fe49577649dad5664fe7 Gitweb: http://git.kernel.org/tip/9a7c348ba6a46f6270d4fe49577649dad5664fe7 Author: Josh Poimboeuf AuthorDate: Fri, 19 Aug 2016 06:52:57 -0500 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 12:15:14 +0200 ftrace: Add return addres

[tip:x86/asm] ftrace: Remove CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST from config

2016-08-24 Thread tip-bot for Josh Poimboeuf
Commit-ID: e4a744ef2fef5c803348b650a3a2d01da7797a9b Gitweb: http://git.kernel.org/tip/e4a744ef2fef5c803348b650a3a2d01da7797a9b Author: Josh Poimboeuf AuthorDate: Fri, 19 Aug 2016 06:52:55 -0500 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 12:15:13 +0200 ftrace: Remove CONFIG_HAV

Re: [PATCH v2] pwm: add pwm driver for HiSilicon BVT SOCs

2016-08-24 Thread Thierry Reding
On Mon, Aug 22, 2016 at 03:50:13PM +0800, Jian Yuan wrote: > From: yuanjian > > Add pwm driver for HiSilicon BVT SOCs pwm -> PWM, please. It'd be good to have more information here about what the hardware can do, where to find it, etc. > > Reviewed-by: Jiancheng Xue > Signed-off-by: Jian Yuan

[tip:x86/asm] ftrace: Add ftrace_graph_ret_addr() stack unwinding helpers

2016-08-24 Thread tip-bot for Josh Poimboeuf
Commit-ID: 223918e32a87c79ac55ca4aa513ba405ba4d57cd Gitweb: http://git.kernel.org/tip/223918e32a87c79ac55ca4aa513ba405ba4d57cd Author: Josh Poimboeuf AuthorDate: Fri, 19 Aug 2016 06:52:58 -0500 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 12:15:14 +0200 ftrace: Add ftrace_graph_

[tip:x86/asm] sched/x86: Add 'struct inactive_task_frame' to better document the sleeping task stack frame

2016-08-24 Thread tip-bot for Brian Gerst
Commit-ID: 7b32aeadbc95d4a41402c1c0da6aa3ab51af4c10 Gitweb: http://git.kernel.org/tip/7b32aeadbc95d4a41402c1c0da6aa3ab51af4c10 Author: Brian Gerst AuthorDate: Sat, 13 Aug 2016 12:38:18 -0400 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 12:27:41 +0200 sched/x86: Add 'struct inact

[tip:x86/asm] ftrace/x86: Implement HAVE_FUNCTION_GRAPH_RET_ADDR_PTR

2016-08-24 Thread tip-bot for Josh Poimboeuf
Commit-ID: 471bd10f5e2880bd91a2627d887f6062494cfe9c Gitweb: http://git.kernel.org/tip/471bd10f5e2880bd91a2627d887f6062494cfe9c Author: Josh Poimboeuf AuthorDate: Fri, 19 Aug 2016 06:53:00 -0500 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 12:15:15 +0200 ftrace/x86: Implement HAV

[tip:x86/asm] sched/x86: Pass kernel thread parameters in 'struct fork_frame'

2016-08-24 Thread tip-bot for Brian Gerst
Commit-ID: 616d24835eeafa8ef3466479db028abfdfc77531 Gitweb: http://git.kernel.org/tip/616d24835eeafa8ef3466479db028abfdfc77531 Author: Brian Gerst AuthorDate: Sat, 13 Aug 2016 12:38:20 -0400 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 12:31:50 +0200 sched/x86: Pass kernel threa

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

2016-08-24 Thread Eric Dumazet
On Wed, 2016-08-24 at 12:36 +0200, Christophe Leroy wrote: > 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

[tip:x86/asm] sched/x86: Rewrite the switch_to() code

2016-08-24 Thread tip-bot for Brian Gerst
Commit-ID: 0100301bfdf56a2a370c7157b5ab0fbf9313e1cd Gitweb: http://git.kernel.org/tip/0100301bfdf56a2a370c7157b5ab0fbf9313e1cd Author: Brian Gerst AuthorDate: Sat, 13 Aug 2016 12:38:19 -0400 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 12:31:41 +0200 sched/x86: Rewrite the switc

[tip:x86/asm] sched/x86: Fix thread_saved_pc()

2016-08-24 Thread tip-bot for Brian Gerst
Commit-ID: ffcb043ba524d3fbd979a9dac2c9ce8ad352000d Gitweb: http://git.kernel.org/tip/ffcb043ba524d3fbd979a9dac2c9ce8ad352000d Author: Brian Gerst AuthorDate: Sat, 13 Aug 2016 12:38:21 -0400 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 12:31:51 +0200 sched/x86: Fix thread_saved_

[PATCH] pstore/core: drop cmpxchg based updates

2016-08-24 Thread Sebastian Andrzej Siewior
I have here a FPGA behind PCIe which exports SRAM which I use for pstore. Now it seems that the FPGA no longer supports cmpxchg based updates and writes back 0xff…ff and returns the same. This leads to crash during crash rendering pstore useless. Since I doubt that there is much benefit from using

[PATCH v2] perf/x86/amd: Make HW_CACHE_REFERENCES and HW_CACHE_MISSES measure L2

2016-08-24 Thread Matt Fleming
While the Intel PMU monitors the LLC when perf enables the HW_CACHE_REFERENCES and HW_CACHE_MISSES events, these events monitor L1 instruction cache fetches (0x0080) and instruction cache misses (0x0081) on the AMD PMU. This is extremely confusing when monitoring the same workload across Intel and

Re: [PATCH V2 linux-next] hwrng: update Freescale i.MX RNGA Random Number Generator

2016-08-24 Thread Herbert Xu
On Tue, Aug 16, 2016 at 09:49:45PM +0200, Fabian Frederick wrote: > We can directly depend on SOC_IMX31 since commit c9ee94965dce > ("ARM: imx: deconstruct mxc_rnga initialization") > > Since that commit, CONFIG_HW_RANDOM_MXC_RNGA could not be switched on > with unknown symbol ARCH_HAS_RNGA and mx

[tip:perf/urgent] perf/core: Use this_cpu_ptr() when stopping AUX events

2016-08-24 Thread tip-bot for Will Deacon
Commit-ID: 8b6a3fe8fab97716990a3abde1a01fb5a34552a3 Gitweb: http://git.kernel.org/tip/8b6a3fe8fab97716990a3abde1a01fb5a34552a3 Author: Will Deacon AuthorDate: Wed, 24 Aug 2016 10:07:14 +0100 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 15:03:10 +0200 perf/core: Use this_cpu_ptr(

Re: [PATCH] hw_random: Improve description of the ->read() interface

2016-08-24 Thread Herbert Xu
On Thu, Aug 18, 2016 at 01:37:21PM +0100, Daniel Thompson wrote: > Currently, very few RNG drivers support single byte reads using the > ->read() interface. Of the 14 drivers in drivers/char/hw_random that > support this interface only three of these actually support max == 1. > The other behaviour

Re: [BUGFIX, 1/2] brcmfmac: Check rtnl_lock is locked when removing interface

2016-08-24 Thread Kalle Valo
mhira...@kernel.org wrote: > Check rtnl_lock is locked in brcmf_p2p_ifp_removed() by passing > rtnl_locked flag. Actually the caller brcmf_del_if() checks whether > the rtnl_lock is locked, but doesn't pass it to brcmf_p2p_ifp_removed(). > > Without this fix, wpa_supplicant goes softlockup with rt

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

2016-08-24 Thread Eric Dumazet
On Wed, 2016-08-24 at 06:07 -0700, Eric Dumazet wrote: > I am afraid you could live lock here on SMP. > > You should make sure you do not loop forever, not assuming cpu is faster > than NIC. You are protected by the tx_lock spinlock, but this is fragile as you could very well remove this spinloc

Re: [PATCH] hw_random: omap3-rom-rng.c: Remove obsoleted functions

2016-08-24 Thread Herbert Xu
On Sat, Aug 20, 2016 at 09:31:06PM +0530, PrasannaKumar Muralidharan wrote: > Remove omap3_rom_rng_data_present method as it was returning 1 always. > Use .read callback instead of .data_read callback. This avoids use of > obsolete callbacks. > > This patch is not tested with hardware as I don't h

[PATCH v3 2/5] ARM: dts: exynos: Use 'hpd-gpios' instead of 'hpd-gpio'

2016-08-24 Thread Milo Kim
This patch enables getting a HPD GPIO descriptor quickly. The exynos-hdmi driver uses "hpd" for HDMI hot plug detection. static int hdmi_resources_init(struct hdmi_context *hdata) { ... hdata->hpd_gpio = devm_gpiod_get(dev, "hpd", GPIOD_IN);

Re: [PATCH] crypto: rockchip - use devm_add_action_or_reset()

2016-08-24 Thread Herbert Xu
On Tue, Aug 23, 2016 at 08:28:54PM +0530, Sudip Mukherjee wrote: > If devm_add_action() fails we are explicitly calling the cleanup to free > the resources allocated. Lets use the helper devm_add_action_or_reset() > and return directly in case of error, as we know that the cleanup function > has b

Re: perf: fuzzer crashes immediately on AMD system

2016-08-24 Thread Vince Weaver
On Wed, 24 Aug 2016, Ingo Molnar wrote: > If there's no progress finding the root cause I'd be happy to exchange a > crash for > a leak ... It's actually a crash of the program doing the perf_event_open() call, not a crash of the system (at least in my experience). However, it's possible that

[PATCH v3 3/5] gpu: drm: exynos_hdmi: Move DDC logic into single function

2016-08-24 Thread Milo Kim
Paring DT properties and getting the I2C adapter in one function. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: David Airlie Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: Rob Herring Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-sa

[PATCH v3 1/5] ARM: dts: exynos: Enable HDMI for Arndale Octa board

2016-08-24 Thread Milo Kim
* GPIO for HDMI hot plug detect GPX3_7 is used. The HPD awareness is done when the GPIO is active high and single ended. * Enable HDMI block in Exynos5420 HDMI VDD and PLL consume 1.0V LDO6 (PVDD_ANAIP_1V0) and HDMI oscillator requires 1.8V LDO7 (PVDD_ANAIP_1V8). * Support HDMI display da

Re: [PATCH 8/8] arm64: Work around systems with mismatched cache line sizes

2016-08-24 Thread Suzuki K Poulose
On 22/08/16 14:02, Will Deacon wrote: On Thu, Aug 18, 2016 at 02:10:32PM +0100, Suzuki K Poulose wrote: Systems with differing CPU i-cache/d-cache line sizes can cause problems with the cache management by software when the execution is migrated from one to another. Usually, the application read

[PATCH v3 5/5] gpu: drm: exynos_hdmi: Remove duplicate initialization of regulator bulk consumer

2016-08-24 Thread Milo Kim
The helper, devm_regulator_bulk_get() initializes the consumer as NULL, so this code can be ignored. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: David Airlie Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vge

[PATCH v3 4/5] gpu: drm: exynos_hdmi: Move PHY logic into single function

2016-08-24 Thread Milo Kim
Paring DT properties and getting PHY IO (memory mapped or I2C) in one function. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: David Airlie Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: Rob Herring Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.or

Re: [PATCH v3] pwm: sun4i: fix a possible NULL dereference

2016-08-24 Thread Thierry Reding
On Wed, Aug 24, 2016 at 01:43:58PM +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(), this will > simplify the code a little by using a standard function for > getting th

[PATCH 01/10] reset: ath79: add driver Kconfig option

2016-08-24 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Cc: Alban Bedel Signed-off-by: Philipp Zabel --- drivers/reset/Kconfig | 7 +++ drivers/reset/Makefile | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/reset/Kconfig b/dr

[PATCH 04/10] reset: meson: add driver Kconfig option

2016-08-24 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Cc: Neil Armstrong Signed-off-by: Philipp Zabel --- drivers/reset/Kconfig | 6 ++ drivers/reset/Makefile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/reset/Kconfig b/

[PATCH 07/10] reset: stm32: add driver Kconfig option

2016-08-24 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Cc: Maxime Coquelin Cc: Gabriel Fernandez Signed-off-by: Philipp Zabel --- drivers/reset/Kconfig | 6 ++ drivers/reset/Makefile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/

[PATCH 09/10] reset: zynq: add driver Kconfig option

2016-08-24 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Cc: Moritz Fischer Cc: Michal Simek Cc: Sören Brinkmann Signed-off-by: Philipp Zabel --- drivers/reset/Kconfig | 6 ++ drivers/reset/Makefile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-)

[PATCH 10/10] reset: hi6220: allow to compile test driver on other architectures

2016-08-24 Thread Philipp Zabel
Also remove the RESET_CONTROLLER dependency, this Kconfig file is included inside the menuconfig already. Cc: Chen Feng Signed-off-by: Philipp Zabel --- drivers/reset/hisilicon/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/reset/hisilicon/Kconfig b/driver

[PATCH v3 0/5] ARM: dts: exynos: Enable HDMI in Arndale Octa board

2016-08-24 Thread Milo Kim
This patch-set enables HDMI in Arndale Octa board and fixes HPD DT property. It also includes code refactoring on ddc and phy. v3: Add 'vdd-supply' property in dts. Use generic 'ddc' property instead of legacy property. Clean up DDC and PHY logic in _probe(). Remove duplicate code of regul

[PATCH 02/10] reset: berlin: add driver Kconfig option

2016-08-24 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Cc: Antoine Tenart Cc: Sebastian Hesselbarth Signed-off-by: Philipp Zabel --- drivers/reset/Kconfig | 6 ++ drivers/reset/Makefile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git

[PATCH 06/10] reset: socfpga: add driver Kconfig option

2016-08-24 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Cc: Dinh Nguyen Signed-off-by: Philipp Zabel --- drivers/reset/Kconfig | 6 ++ drivers/reset/Makefile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/reset/Kconfig b/dri

[PATCH 03/10] reset: lpc18xx: add driver Kconfig option

2016-08-24 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Cc: Joachim Eastwood Signed-off-by: Philipp Zabel --- drivers/reset/Kconfig | 7 +++ drivers/reset/Makefile | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/reset/Kconfig

[PATCH 08/10] reset: sunxi: add driver Kconfig option

2016-08-24 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Signed-off-by: Philipp Zabel --- drivers/reset/Kconfig | 6 ++ drivers/reset/Makefile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfi

  1   2   3   4   5   6   7   8   9   >