Re: [REGRESSION] [BISECTED] kswapd high CPU usage

2016-01-21 Thread Kirill A. Shutemov
On Fri, Jan 22, 2016 at 12:28:10AM +1000, Nalorokk wrote: > It appears that kernels newer than 4.1 have kswapd-related bug resulting in > high CPU usage. CPU 100% usage could last for several minutes or several > days, with CPU being busy entirely with serving kswapd. It happens usually > after ser

Re: [PATCH v3 19/21] efi: stub: add implementation of efi_random_alloc()

2016-01-21 Thread Ard Biesheuvel
On 21 January 2016 at 17:10, Matt Fleming wrote: > On Mon, 11 Jan, at 02:19:13PM, Ard Biesheuvel wrote: >> This implements efi_random_alloc(), which allocates a chunk of memory of >> a certain size at a certain alignment, and uses the random_seed argument >> it receives to randomize the offset of

[PATCH 3/3] powercap, intel_rapl, Add ignore_max_time_window_check module parameter for broken BIOSes

2016-01-21 Thread Prarit Bhargava
Some systems erroneously set the maximum time window field of MSR_PKG_POWER_INFO register to 0. This results in a user not being able to set the time windows for the package. In some cases, however, RAPL will still continue to work with a small window (albeit through some trial and error). This

[PATCH 1/3] powercap, intel_rapl, implement get_max_time_window

2016-01-21 Thread Prarit Bhargava
The MSR_PKG_POWER_INFO register (Intel ASDM, section 14.9.3 "Package RAPL Domain") provides a maximum time window which the system can support. This window is read-only and is currently not examined when setting the time windows for the package. This patch implements get_max_time_window_us() and

[PATCH 0/3] powercap, intel_rapl, implement time window checks

2016-01-21 Thread Prarit Bhargava
Try #2 at this P. --8<- The Intel ASDM provides a maximum time window that can be specified when setting a time window in the RAPL driver. While the ASDM doesn't explicitly provide a minimum time window value, it does provide a minimum time window unit that also can be used as

[PATCH 2/3] powercap, intel_rapl, implement check for minimum time window

2016-01-21 Thread Prarit Bhargava
Using an small value for the time window results in a bogus value for the time window. For example, [root@intel-chiefriver-03 linux]# echo 950 > /sys/devices/virtual/powercap/intel-rapl/intel-rapl\:0/constraint_0_time_window_us; egrep ^ /sys/devices/virtual/powercap/intel-rapl/intel-rapl\:0/cons

Re: RCU lockup? (was: Re: [PATCH v2 tip/core/rcu 10/14] rcu: Don't redundantly disable irqs in rcu_irq_{enter,exit}())

2016-01-21 Thread Paul E. McKenney
On Thu, Jan 21, 2016 at 02:22:56PM +0100, Geert Uytterhoeven wrote: > Hi Paul, > > On Thu, Dec 10, 2015 at 12:10 AM, Paul E. McKenney > wrote: > > This commit replaces a local_irq_save()/local_irq_restore() pair with > > a lockdep assertion that interrupts are already disabled. This should > > r

Re: [PATCH v3 18/21] efi: stub: implement efi_get_random_bytes() based on EFI_RNG_PROTOCOL

2016-01-21 Thread Ard Biesheuvel
On 21 January 2016 at 16:42, Matt Fleming wrote: > On Mon, 11 Jan, at 02:19:12PM, Ard Biesheuvel wrote: >> This exposes the firmware's implementation of EFI_RNG_PROTOCOL via a new >> function efi_get_random_bytes(). >> >> Signed-off-by: Ard Biesheuvel >> --- >> drivers/firmware/efi/libstub/Makef

Re: [PATCH v4 5/6] drm/dsi: Add routine to unregister dsi device

2016-01-21 Thread Thierry Reding
On Thu, Dec 10, 2015 at 06:11:39PM +0530, Archit Taneja wrote: > A driver calling mipi_dsi_device_new might want to unregister the device > once it's done. It might also require it in an error handling path in > case something didn't go right. > > Reviewed-by: Andrzej Hajda > Signed-off-by: Archi

[PATCH 05/16] perf hists: Fix HISTC_MEM_DCACHELINE width setting

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Set correct width for unresolved mem_dcacheline addr. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Don Zickus Cc: Namhyung Kim Cc: Peter Zijlstra Fixes: 9b32ba71ba90 ("perf tools: Add dcacheline sort") Link: http://lkml.kernel.org/r/1453290995-18485-3-git-send-email-jo...@k

[PATCH 16/16] perf config: Document 'hist.percentage' variable in man page

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Taeung Song Explain 'hist.percentage' variable. Signed-off-by: Taeung Song Cc: Jiri Olsa Cc: Namhyung Kim Link: http://lkml.kernel.org/r/1452253193-30502-7-git-send-email-treeze.tae...@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/Documentation/perf-config.txt | 17

[PATCH 13/16] perf config: Document variables for 'tui' and 'gtk' sections in man page

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Taeung Song Explain 'tui' and 'gtk' sections and these variables. 'top', 'report' and 'annotate' Signed-off-by: Taeung Song Cc: Jiri Olsa Cc: Namhyung Kim Link: http://lkml.kernel.org/r/1452253193-30502-3-git-send-email-treeze.tae...@gmail.com Signed-off-by: Arnaldo Carvalho de Melo

Re: [PATCH v4 4/6] drm/dsi: Check for used channels

2016-01-21 Thread Thierry Reding
On Thu, Dec 10, 2015 at 06:11:38PM +0530, Archit Taneja wrote: > We don't check whether a previously registered mipi_dsi_device under the > same host shares the same virtual channel. > > Before registering, check if any of the registered devices doesn't > already have the same virtual channel. >

Re: [PATCH 0/2] printk, Add printk.clock kernel parameter [v2]

2016-01-21 Thread Prarit Bhargava
On 01/14/2016 09:44 AM, Thomas Gleixner wrote: > On Thu, 14 Jan 2016, Petr Mladek wrote: >> On Wed 2016-01-13 18:28:50, Thomas Gleixner wrote: >>> You can solve the whole business by changing the timestamp in printk_log to >>> >>>u64 mono; >>>u64 offset_real; >> >> This

Re: [PATCH] libnvdimm, nfit: Use ACPI_SIG_NFIT instead of hard coded string

2016-01-21 Thread Ross Zwisler
On Thu, Jan 21, 2016 at 08:32:10PM +0800, Lee, Chun-Yi wrote: > It's minor but that's still better to use ACPI_SIG_NFIT instead of hard > coded string. > > Cc: Ross Zwisler > Cc: "Rafael J. Wysocki" > Cc: Len Brown > Signed-off-by: Lee, Chun-Yi Acked-by: Ross Zwisler > drivers/acpi/nfit.c

[PATCH 12/16] perf config: Document variables for 'colors' section in man page

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Taeung Song Explain 'colors' section and its variables, used for The variables for customizing the colors used in the output for the 'report', 'top' and 'annotate' in the TUI, those are: 'top', 'medium', 'normal', 'selected', 'jump_arrows', 'addr' and 'root'. Signed-off-by: Taeung Song C

[PATCH 06/16] perf stat: Do not clean event's private stats

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Mel reported stddev reporting was broken due to following commit: 106a94a0f8c2 ("perf stat: Introduce read_counters function") This commit merged interval and overall counters reading into single read_counters function. The old interval code cleaned the stddev data for

[PATCH 11/16] perf annotate: Rename 'colors.code' to 'colors.jump_arrows'

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Taeung Song USe 'jump_arrows' config name instead of 'code' on 'colors' section. 'colors.code' config is only for jump arrows on assembly code listings i.e. │ ┌──jmp1333 │ │ xchg %ax,%ax │ │ mov%r15,%r10 │ └─→cmp%r15,%r14 But this config nam

Re: [PATCH v4 3/6] drm/dsi: Try to match non-DT dsi devices

2016-01-21 Thread Thierry Reding
On Thu, Dec 10, 2015 at 06:11:37PM +0530, Archit Taneja wrote: > Add a device name field in mipi_dsi_device. This name is different from > the actual dev name (which is of the format "hostname.reg"). When the > device is created via DT, this name is set to the modalias string. Why? What's the use

[PATCH 09/16] perf hists: Cleanup filtering functions

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The hists__filter_by_xxx functions share same logic with different filters. Factor out the common code into the hists__filter_by_type. Signed-off-by: Namhyung Kim Acked-by: Jiri Olsa Acked-by: Pekka Enberg Cc: Andi Kleen Cc: David Ahern Cc: Peter Zijlstra Cc: Stephane E

[PATCH 07/16] perf stat: Making several helper functions static

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa There's no need for the following functions to be global: perf_evsel__reset_stat_priv perf_evsel__alloc_stat_priv perf_evsel__free_stat_priv perf_evsel__alloc_prev_raw_counts perf_evsel__free_prev_raw_counts perf_evsel__alloc_stats They all ended up in util/stat.c, a

[PATCH 15/16] perf config: Document variables for 'annotate' section in man page

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Taeung Song Explain 'annotate' section and its variables. 'hide_src_code', 'use_offset', 'jump_arrows', 'show_linenr', 'show_nr_jump' and 'show_total_period'. Signed-off-by: Taeung Song Cc: Jiri Olsa Cc: Namhyung Kim Link: http://lkml.kernel.org/r/1452253193-30502-5-git-send-email-tre

[PATCH 04/16] perf symbols: Do not read symbols/data from device files

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa With mem sampling we could get data source within mapped device file. Processing such sample would block during report phase on trying to read the device file. Chacking for device files and skip the processing if it's detected. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namh

[PATCH 01/16] perf tests: Remove wrong semicolon in while loop in CQM test

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Markus Trippelsdorf The while loop was spinning. Fix by removing a semicolon. The issue was pointed out by gcc-6's -Wmisleading-indentation. Signed-off-by: Markus Trippelsdorf Reviewed-by: Matt Fleming Acked-by: Ingo Molnar Cc: Ben Hutchings Cc: Peter Zijlstra Fixes: 035827e9f2bd ("p

[PATCH 10/16] perf tools: Document the perf sysctls

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Ben Hutchings perf_event_paranoid was only documented in source code and a perf error message. Copy the documentation from the error message to Documentation/sysctl/kernel.txt. perf_cpu_time_max_percent was already documented but missing from the list at the top, so add it there. Signed-

Re: [kernel-hardening] 2015 kernel CVEs

2016-01-21 Thread Jiri Kosina
On Wed, 20 Jan 2016, Greg KH wrote: > Except for those drivers that abuse the HID interface due to the > decisions the Windows developers made years ago, and are not reall HID > devices, those should all be done in userspace, just like Windows does. > Hopefully we have been good in keeping thos

[GIT PULL 00/16] perf/core improvements and changes

2016-01-21 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit f5540ecb8910cb2bc923c50b4ca5e7a50a9bf775: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2016-01-19 08:30:48 +0100) are available in the git

Re: [RFC PATCH 2/2] lightnvm: add non-continuous lun target creation support

2016-01-21 Thread Matias Bjørling
On 01/21/2016 02:58 PM, Wenwei Tao wrote: 2016-01-21 17:49 GMT+08:00 Matias Bjørling : On 01/21/2016 10:47 AM, Wenwei Tao wrote: Currently a bitmap of luns already added into nvm_dev, every time we map the luns we check the bitmap. I don't quite understand why we need to add another bitmap?

[PATCH 08/16] perf hists: Remove parent filter check in DSO filter function

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The --exclude-other option sets HIST_FILTER__PARENT bit and it's only set when a hist entry was created. DSO filters don't change this so no need to have the check in hists__filter_by_dso() IMHO. Signed-off-by: Namhyung Kim Acked-by: Jiri Olsa Acked-by: Pekka Enberg Cc: An

[PATCH 03/16] perf pmu: Fix misleadingly indented assignment (whitespace)

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Markus Trippelsdorf One line in perf_pmu__parse_unit() is indented wrongly, leading to a warning (=> error) from gcc 6: util/pmu.c:156:3: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation] sret = read(fd, alias->unit, UNIT_MAX_LEN); ^~~~

[PATCH 02/16] perf annotate browser: Fix behaviour of Shift-Tab with nothing focussed

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Markus Trippelsdorf The issue was pointed out by gcc-6's -Wmisleading-indentation. Signed-off-by: Markus Trippelsdorf Acked-by: Ingo Molnar Cc: Ben Hutchings Cc: Matt Fleming Cc: Peter Zijlstra Fixes: c97cf42219b7 ("perf top: Live TUI Annotation") Link: http://lkml.kernel.org/r/201512

[PATCH 14/16] perf config: Document 'buildid.dir' variable in man page

2016-01-21 Thread Arnaldo Carvalho de Melo
From: Taeung Song Explain 'buildid.dir' variable. Signed-off-by: Taeung Song Cc: Jiri Olsa Cc: Namhyung Kim Link: http://lkml.kernel.org/r/1452253193-30502-4-git-send-email-treeze.tae...@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/Documentation/perf-config.txt | 15 +++

[PATCH] base: isa: Remove X86_32 dependency

2016-01-21 Thread William Breathitt Gray
Many motherboards utilize a LPC to ISA bridge in order to decode ISA-style port-mapped I/O addresses. This is particularly true for embedded motherboards supporting the PC/104 bus (a bus specification derived from ISA). These motherboards are now commonly running 64-bit x86 processors. The X86_32

Re: [PATCH v2 5/5] perf/x86/amd/power: Add AMD accumulated power reporting mechanism

2016-01-21 Thread Peter Zijlstra
On Thu, Jan 21, 2016 at 11:24:14PM +0800, Huang Rui wrote: > On Thu, Jan 21, 2016 at 04:10:40PM +0100, Peter Zijlstra wrote: > > On Thu, Jan 21, 2016 at 10:42:35PM +0800, Huang Rui wrote: > > > > > @@ -164,14 +171,14 @@ static int pmu_event_add(struct perf_event > > > > > *event, int mode) > > > >

Re: [PATCH perf 3/4] perf tools: Fix unused variables: x86_{32,64}_regoffset_table

2016-01-21 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 21, 2016 at 12:38:48PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Jan 21, 2016 at 12:43:04PM +0800, Wangnan (F) escreveu: > > I think this problem is not introduced by my patch. In fact > > there's a fundamental problem in get_arch_regstr() that it is > > impossible to switch s

[Xen-devel] [PATCH v2] cleancache: constify cleancache_ops structure

2016-01-21 Thread Julia Lawall
The cleancache_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- v2: put back the read mostly drivers/xen/tmem.c |2 +- include/linux/cleancache.h |2 +- mm/cleancache.c|4 ++-- 3 files c

RE: [PATCH RFC] pci: Blacklist vpd access for buggy devices

2016-01-21 Thread Jordan_Hargrave
>From: Babu Moger [babu.mo...@oracle.com] >Sent: Tuesday, January 19, 2016 2:39 PM >To: Hargrave, Jordan; bhelg...@google.com >Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; >alexander.du...@gmail.com; h...@suse.de; mkube...@suse.com; >shane.seym...@hpe.com; myron.st...@gmail.com >S

Re: [PATCH v2 1/2] regulator: Add coupled regulator

2016-01-21 Thread Maxime Ripard
Hi, On Mon, Jan 18, 2016 at 04:25:38PM +, Mark Brown wrote: > > > - When you come to consider it from an hardware point of view, the > > > device usually have a single pin that powers it. It's the board > > > designer that chose to route that pin to multiple regulators, so > > >

Re: [BUG REPORT] ktime_get_ts64 causes Hard Lockup

2016-01-21 Thread Jeff Merkey
Hi Thomas That patch works and so does the patch currently in linux-next. Yeah ! The code on your machine is apparently from the linux-next tree. In 4.4 is busted and that was the build I was using since that's the last build I have MDB released on. If you compare v4.4 vs. linux-next you will s

Re: [PATCH v4 2/6] drm/dsi: Refactor device creation

2016-01-21 Thread Thierry Reding
On Thu, Dec 10, 2015 at 06:11:36PM +0530, Archit Taneja wrote: > Simplify the mipi dsi device creation process. device_initialize and "MIPI" and "DSI", please. > device_add don't need to be called separately when creating > mipi_dsi_device's. Use device_register instead to simplify things. > > C

Re: mm, vmstat: kernel BUG at mm/vmstat.c:1408!

2016-01-21 Thread Christoph Lameter
On Thu, 21 Jan 2016, Michal Hocko wrote: > > > Since 0eb77e988032 ("vmstat: make vmstat_updater deferrable again and > > > shut down on idle") quiet_vmstat might update cpu_stat_off and mark a > > > particular cpu to be handled by vmstat_shepherd. This might trigger > > > a VM_BUG_ON in vmstat_upd

Re: [PATCH v3 18/21] efi: stub: implement efi_get_random_bytes() based on EFI_RNG_PROTOCOL

2016-01-21 Thread Matt Fleming
On Mon, 11 Jan, at 02:19:12PM, Ard Biesheuvel wrote: > This exposes the firmware's implementation of EFI_RNG_PROTOCOL via a new > function efi_get_random_bytes(). > > Signed-off-by: Ard Biesheuvel > --- > drivers/firmware/efi/libstub/Makefile | 2 +- > drivers/firmware/efi/libstub/efistub.h |

Re: [PATCH v2] dell-wmi: process Dell Instant Launch hotkey on Dell Vostro V131

2016-01-21 Thread Pali Rohár
On Thursday 21 January 2016 15:56:12 Michał Kępień wrote: > > > > Michał, can you prepare new (v3) version of this patch? Now required > > > > acpi video changes are included and so dell-wmi changes should go to... > > > > To finally fix this keypress bug on Dell Vostro V131 machine. > > > > > > I

Re: [PATCH 13/14] dell-led: use dell_smbios_find_token() for finding mic DMI tokens

2016-01-21 Thread Jacek Anaszewski
On 01/21/2016 04:00 PM, Michał Kępień wrote: Thanks for the patches. They should probably be merged through linux-platform-drivers-x86.git. Feel free to add my Acked-by: Jacek Anaszewski to 13/14 and 14/14. Thanks for reviewing. I will soon post a v2 of this series. Given that the only di

Re: mtd: spi-nor: fsl-quadspi: add support for ls1021a

2016-01-21 Thread Han Xu
On Thu, Jan 21, 2016 at 1:53 AM, Yuan Yao wrote: > This patch set is used for add the fsl-quadspi support for ls1021a and > ls1043a, so remove the patch: > mtd: spi-nor: fsl-quadspi: extend support for some special requerment. Please use --cover-letter to generate cover letter. > > This patch wi

Re: vmstat: make vmstat_updater deferrable again and shut down on idle

2016-01-21 Thread Christoph Lameter
On Thu, 21 Jan 2016, Shiraz Hashim wrote: > > On idle we fold counters immediately. So there is no loss of accuracy. > > vmstat is scheduled by shepherd or by itself (conditionally). In case shepherd > is deferred and vmstat doesn't schedule itself, then vmstat needs to wait > for shepherd to be u

Re: [RFC][PATCH 0/7] Sanitization of slabs based on grsecurity/PaX

2016-01-21 Thread Christoph Lameter
n Wed, 20 Jan 2016, Laura Abbott wrote: > The SLAB_DEBUG flags force everything to skip the CPU caches which is > causing the slow down. I experimented with allowing the debugging to > happen with CPU caches but I'm not convinced it's possible to do the > checking on the fast path in a consistent

Re: [PATCH perf 3/4] perf tools: Fix unused variables: x86_{32,64}_regoffset_table

2016-01-21 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 21, 2016 at 12:43:04PM +0800, Wangnan (F) escreveu: > I think this problem is not introduced by my patch. In fact > there's a fundamental problem in get_arch_regstr() that it is > impossible to switch sub ISA. > Not only x86_64 and x86_32, I think on arm64 we also have this > problem w

Re: [PATCH v4 1/6] drm/dsi: check for CONFIG_OF when defining of_mipi_dsi_device_add

2016-01-21 Thread Thierry Reding
On Thu, Dec 10, 2015 at 06:11:35PM +0530, Archit Taneja wrote: > of_mipi_dsi_device_add is used only when CONFIG_OF is enabled. It > currently works if OF support is disabled, but this will change > when we add more functionality to it. > > Define the original func if CONFIG_OF is enabled. Define

Re: virtio ring layout changes for optimal single-stream performance

2016-01-21 Thread Cornelia Huck
On Thu, 21 Jan 2016 15:39:26 +0200 "Michael S. Tsirkin" wrote: > Hi all! > I have been experimenting with alternative virtio ring layouts, > in order to speed up single stream performance. > > I have just posted a benchmark I wrote for the purpose, and a (partial) > alternative layout implementa

Re: [PATCH] sched: loadavg 0.00, 0.01, 0.05 on idle

2016-01-21 Thread Peter Zijlstra
On Thu, Jan 21, 2016 at 10:23:25AM +0100, Vik Heyndrickx wrote: > Systems show a minimal load average of 0.00, 0.01, 0.05 even when they have > no load at all. Thanks, I've edited the patch Changelog to include a few extra details you mentioned in our preview correspondence. See below. Please let

Re: [PATCH v3 1/3] ASoC: pcm179x: Split into core and SPI parts

2016-01-21 Thread Johan Hovold
On Thu, Jan 21, 2016 at 04:26:56PM +0100, Jacob Siverskog wrote: > The pcm179x family supports both SPI and I2C for configuration. This > patch splits the driver into core and SPI parts, in preparation for > I2C support. > > Reviewed-by: Johan Hovold > Signed-off-by: Jacob Siverskog > --- > dif

[PATCH v3 3/3] ASoC: pcm179x: Support continuous rates

2016-01-21 Thread Jacob Siverskog
According to the PCM179x data sheets sampling frequencies between 10 kHz and 200 kHz are supported. Specify support in the driver. Tested with PCM1791A. References: http://www.ti.com/lit/ds/symlink/pcm1791a.pdf http://www.ti.com/lit/ds/symlink/pcm1792a.pdf http://www.ti.com/lit/ds/symlink/pcm1795

[PATCH v3 2/3] ASoC: pcm179x: Add I2C interface driver

2016-01-21 Thread Jacob Siverskog
The PCM179x family supports both SPI and I2C. This patch adds support for the I2C interface. Reviewed-by: Johan Hovold Signed-off-by: Jacob Siverskog --- .../devicetree/bindings/sound/pcm179x.txt | 11 +++- sound/soc/codecs/Kconfig | 9 +++ sound/soc/codecs/M

Re: [patch] amd64_edac: shift wrapping issue in f1x_get_norm_dct_addr()

2016-01-21 Thread Aravind Gopalakrishnan
On 1/21/2016 6:32 AM, Borislav Petkov wrote: On Wed, Jan 20, 2016 at 12:54:51PM +0300, Dan Carpenter wrote: + u64 dct_sel_base_off= (u64)(pvt->dct_sel_hi & 0xFC00) << 16; @Aravind: do you have a box with setpci -s 18.2 0x114.l bits [31:16] not 0? Nope. I don't see it set

[PATCH v3 1/3] ASoC: pcm179x: Split into core and SPI parts

2016-01-21 Thread Jacob Siverskog
The pcm179x family supports both SPI and I2C for configuration. This patch splits the driver into core and SPI parts, in preparation for I2C support. Reviewed-by: Johan Hovold Signed-off-by: Jacob Siverskog --- sound/soc/codecs/Kconfig | 11 ++-- sound/soc/codecs/Makefile | 2 ++

[PATCH v3 0/3] ASoC: pcm179x: Add I2C support, declare support for continuous rates

2016-01-21 Thread Jacob Siverskog
This series add support for I2C and declares support for continuous sample rates. Please note that this has only been tested using I2C and PCM1791A. I'd be grateful if someone can test it with other devices in the PCM179X family and/or SPI. These patches are against linux-next. [V3]: Allocation

Re: [PATCH v2 5/5] perf/x86/amd/power: Add AMD accumulated power reporting mechanism

2016-01-21 Thread Huang Rui
On Thu, Jan 21, 2016 at 04:10:40PM +0100, Peter Zijlstra wrote: > On Thu, Jan 21, 2016 at 10:42:35PM +0800, Huang Rui wrote: > > > > @@ -164,14 +171,14 @@ static int pmu_event_add(struct perf_event > > > > *event, int mode) > > > > struct hw_perf_event *hwc = &event->hw; > > > > un

[PATCH v2 3/4] x86/efi: print size and base in binary units in efi_print_memmap

2016-01-21 Thread Andy Shevchenko
From: Robert Elliott Print the base in the best-fit B, KiB, MiB, etc. units rather than always MiB. This avoids rounding, which can be misleading. Use proper IEC binary units (KiB, MiB, etc.) rather than misuse SI decimal units (KB, MB, etc.). old: efi: mem61: [Persistent Memory | | |

[PATCH v2 2/4] lib/string_helpers: fix indentation in few places

2016-01-21 Thread Andy Shevchenko
Fix the indentation of label and put snprintf() to one line. There is no functional change. Signed-off-by: Andy Shevchenko --- lib/string_helpers.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/string_helpers.c b/lib/string_helpers.c index 7ee4644..51fcea2 100644

[PATCH v2 1/4] lib/string_helpers: export string_units_{2,10} for others

2016-01-21 Thread Andy Shevchenko
There is one user coming which would like to use those string arrays. It might be useful for any other user in the future. Signed-off-by: Andy Shevchenko --- include/linux/string_helpers.h | 6 ++ lib/string_helpers.c | 21 - 2 files changed, 18 insertions(+),

[PATCH v2 4/4] x86/efi: Use proper units in efi_find_mirror()

2016-01-21 Thread Andy Shevchenko
Like in efi_print_mmap() use the proper units when printing sizes. Currently it's hardcoded to 'MiB', though it might be changed to adaptive efi_size_format() in the future. Signed-off-by: Andy Shevchenko --- arch/x86/platform/efi/efi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH 7/8] ARM: exynos_defconfig: Remove MAX77802 RTC Kconfig symbol

2016-01-21 Thread Javier Martinez Canillas
Hello Krzysztof, On 01/20/2016 10:58 PM, Krzysztof Kozlowski wrote: On 21.01.2016 02:14, Javier Martinez Canillas wrote: The driver has been removed so the Kconfig symbol is not valid anymore. Signed-off-by: Javier Martinez Canillas --- arch/arm/configs/exynos_defconfig | 1 - 1 file chan

Re: [PATCH 0/8] rtc: max77686: Extend driver and add max77802 support

2016-01-21 Thread Javier Martinez Canillas
Hello Krzysztof, On 01/20/2016 09:48 PM, Krzysztof Kozlowski wrote: On 21.01.2016 02:14, Javier Martinez Canillas wrote: Hello, On a recent disussion [0] with Krzysztof Kozlowski and Laxman Dewangan, we came to the conclusion that the max77686 and max77802 RTC are almost the same with only a f

Re: [PATCH 6/8] rtc: Remove Maxim 77802 driver

2016-01-21 Thread Javier Martinez Canillas
Hello Krzysztof, On 01/20/2016 10:57 PM, Krzysztof Kozlowski wrote: On 21.01.2016 02:14, Javier Martinez Canillas wrote: The max77686 RTC driver now supports the max77802 RTC as well so there's no need to have a separate driver anymore. Signed-off-by: Javier Martinez Canillas --- drivers/r

Re: [PATCH v5 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2)

2016-01-21 Thread Torsten Duwe
On Thu, Jan 21, 2016 at 04:06:33PM +0100, Torsten Duwe wrote: > mcount call sites looks normal on first sight... Not quite. LR is not saved on the stack before the call. Argh! Petr, this looks like 12 bytes offset for gcc-6. I think I can work around the rest. Torsten

Re: [PATCH 5/8] rtc: max77686: Add max77802 support

2016-01-21 Thread Javier Martinez Canillas
Hello Krzysztof, Thanks a lot for your review. On 01/20/2016 10:56 PM, Krzysztof Kozlowski wrote: On 21.01.2016 02:14, Javier Martinez Canillas wrote: The MAX77686 and MAX77802 RTC IP blocks are very similar with only these differences: 0) The RTC registers layout and addresses are different.

Re: [PATCH v2 5/5] perf/x86/amd/power: Add AMD accumulated power reporting mechanism

2016-01-21 Thread Peter Zijlstra
On Thu, Jan 21, 2016 at 10:42:35PM +0800, Huang Rui wrote: > > > @@ -164,14 +171,14 @@ static int pmu_event_add(struct perf_event *event, > > > int mode) > > > struct hw_perf_event *hwc = &event->hw; > > > unsigned long flags; > > > > > > - spin_lock_irqsave(&pmu->lock, flags); > > > + raw_s

Re: [PATCH] net-libertas: Better exception handling in if_spi_host_to_card_worker()

2016-01-21 Thread Kalle Valo
Julia Lawall writes: > On Sat, 2 Jan 2016, SF Markus Elfring wrote: > >> >> Move the jump label directly before the desired log statement >> >> so that the variable "err" will not be checked once more >> >> after it was determined that a function call failed. >> >> Use the identifier "report_fail

[GIT PULL] overlayfs update for 4.5

2016-01-21 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-linus This contains several bug fixes and a new mount option "default_permissions" that allows read-only exported NFS filesystems to be used as lower layer. Thanks, Miklos --- Konstantin Khle

Re: [PATCH v5 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2)

2016-01-21 Thread Torsten Duwe
On Thu, Jan 21, 2016 at 11:54:51PM +1100, Michael Ellerman wrote: > There is no dmesg :) > > It gets stuck in early_setup() before the console is even found. Confirmed. | Device tree struct 0x014b -> 0x014c | Quiescing Open Firmware ... | Booting Linux via __start() ... a

Re: [PATCH 13/14] dell-led: use dell_smbios_find_token() for finding mic DMI tokens

2016-01-21 Thread Michał Kępień
> Thanks for the patches. > They should probably be merged through linux-platform-drivers-x86.git. > > Feel free to add my > > Acked-by: Jacek Anaszewski > > to 13/14 and 14/14. Thanks for reviewing. I will soon post a v2 of this series. Given that the only difference between v1 and v2 for d

[GIT PULL] fuse update for 4.5

2016-01-21 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-linus This adds SEEK_HOLE and SEEK_DATA support in lseek. Thanks, Miklos --- Ravishankar N (1): fuse: add support for SEEK_HOLE and SEEK_DATA in lseek --- fs/fuse/file.c| 73 ++

Re: [PATCH v15 1/6] fpga: add bindings document for fpga area and fpga bus

2016-01-21 Thread Moritz Fischer
Hi Alan, I tried getting a simple example to work with overlays, however so far I failed getting the child nodes to probe drivers, maybe you have an idea? The fpga image is loaded just fine. in dts: fpga_bus@0 { compatible = "altr,fpga-bus", "simple-bus";

Re: [PATCH 2/8] rtc: max77686: Use usleep_range() instead of msleep()

2016-01-21 Thread Javier Martinez Canillas
Hello Krzysztof, On 01/20/2016 09:37 PM, Krzysztof Kozlowski wrote: On 21.01.2016 02:14, Javier Martinez Canillas wrote: Documentation/timers/timers-howto.txt suggest to use usleep_range() instead of msleep() for small msec (1ms - 20ms) since msleep() will often sleep for 20ms for any value in

[BUG] Regression introduced with "block: split bios to max possible length"

2016-01-21 Thread Stefan Haberland
Hi, unfortunately commit e36f62042880 "block: split bios to maxpossible length" breaks the DASD driver on s390. We expect the block requests to be multiple of 4k in size. With the patch applied I see the requests split up in multiple of 512 byte and therefore the requests get rejected and lots

Re: [PATCH] numa: fix /proc//numa_maps on s390

2016-01-21 Thread Gerald Schaefer
tch is applied to the wrong git tree, please drop us a note to > > help improving the system] > > > > url: > > https://github.com/0day-ci/linux/commits/Michael-Holzheu/numa-fix-proc-pid-numa_maps-on-s390/20160121-022313 > > config: ia64-alldefconfig (attached as .c

Re: [PATCH 4/8] rtc: max77686: Add an indirection level to access RTC registers

2016-01-21 Thread Javier Martinez Canillas
Hello Krzysztof, Thanks a lot for your review. On 01/20/2016 10:05 PM, Krzysztof Kozlowski wrote: On 21.01.2016 02:14, Javier Martinez Canillas wrote: The max77686 driver is generic enough that can be used for other Maxim RTC IP blocks but these might not have the same registers layout so inst

Re: [PATCH V3 00/11] Add T210 support in Tegra soctherm

2016-01-21 Thread Thierry Reding
On Mon, Jan 18, 2016 at 06:02:25PM +0800, Wei Ni wrote: > This patchset adds following functions for tegra_soctherm driver: > 1. add T210 support. > 2. export debugfs to show some registers. > 3. add thermtrip funciton. > 4. add suspend/resume function. > > The V1 serial is in: > http://www.spinic

Re: [PATCH v2] dell-wmi: process Dell Instant Launch hotkey on Dell Vostro V131

2016-01-21 Thread Michał Kępień
> > > Michał, can you prepare new (v3) version of this patch? Now required > > > acpi video changes are included and so dell-wmi changes should go to... > > > To finally fix this keypress bug on Dell Vostro V131 machine. > > > > I keep this on my to-do list, but the updated patch will depend on th

[PATCH] ASoC: mxs-saif: fix clk_prepare() without matching clk_unprepare()

2016-01-21 Thread Mans Rullgard
The clk_prepare() call in hw_params() has no matching clk_unprepare(), leaving the clk with an ever-increasing prepare count. Moreover, hw_params() can be called multiple times which would again leave us with a runaway prepare count. Fix this by moving the clk_prepare() call to the startup() func

Re: [PATCH v3] NVMe: init nvme queue before enabling irq

2016-01-21 Thread Sagi Grimberg
Hi Wenbo, From: Wenbo Wang [v3] Do request irq in nvme_init_queue() to handle request irq failures There is one problem with the original patch. Since init queue happens before request irq, online_queue might be left increased if request irq fails. This version merges request irq into nvme_in

[GIT PULL]: CRIS changes for 4.5

2016-01-21 Thread Jesper Nilsson
Hi Linus, Please pull CRIS changes for 4.5, it's just some fixups for section mismatches from Guenter. This is the same as the previous pull request, but now with a normal git.kernel.org address. Thanks, /Jesper The following changes since commit c5a37883f42be712a989e54d5d6c0159b0e56599: Me

Re: [PATCH 3/8] rtc: max77686: Use a driver data struct instead hard-coded values

2016-01-21 Thread Javier Martinez Canillas
Hello Krzysztof, Thanks a lot for your review. On 01/20/2016 09:45 PM, Krzysztof Kozlowski wrote: On 21.01.2016 02:14, Javier Martinez Canillas wrote: The driver has some hard-coded values such as the minimum delay needed before a RTC update or the mask used for the sec/min/hour/etc registers.

Re: [PATCH v13 06/23] perf config: Document 'hist.percentage' variable in man page

2016-01-21 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 08, 2016 at 08:39:36PM +0900, Taeung Song escreveu: > Explain 'hist.percentage' variable. > > Cc: Namhyung Kim > Cc: Jiri Olsa > Signed-off-by: Taeung Song > --- > tools/perf/Documentation/perf-config.txt | 17 + > 1 file changed, 17 insertions(+) > > diff --git a/

Re: [PATCH V3 07/11] of: Add bindings of hw-trips for soctherm

2016-01-21 Thread Thierry Reding
On Mon, Jan 18, 2016 at 06:04:08PM +0800, Wei Ni wrote: > Add hw-trips sub-node for soctherm, which is > used to describe the hardware trip points for > each soctherm sensors. Also the subject and commit message should be updated to reflect the new sub-node name. Thierry signature.asc Descripti

Re: [PATCH V3 07/11] of: Add bindings of hw-trips for soctherm

2016-01-21 Thread Thierry Reding
On Mon, Jan 18, 2016 at 06:04:08PM +0800, Wei Ni wrote: > Add hw-trips sub-node for soctherm, which is > used to describe the hardware trip points for > each soctherm sensors. Please make use of the full 78 characters in each line. Otherwise looks good to me. Oh, also make sure to Cc: devicet...@

Re: [PATCH v13 05/23] perf config: Document variables for 'help' section in man page

2016-01-21 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 08, 2016 at 08:39:35PM +0900, Taeung Song escreveu: > Explain 'help.format' variables. > > Cc: Namhyung Kim > Cc: Jiri Olsa > Signed-off-by: Taeung Song > --- > tools/perf/Documentation/perf-config.txt | 4 > 1 file changed, 4 insertions(+) > > diff --git a/tools/perf/Documen

Re: [PATCH V3 04/11] thermal: tegra: split tegra_soctherm driver

2016-01-21 Thread Thierry Reding
On Mon, Jan 18, 2016 at 06:02:29PM +0800, Wei Ni wrote: [...] > +int tegra_soctherm_calculate_tsensor_calibration( > + struct tegra_tsensor *sensor, > + const struct tsensor_shared_calibration *shared) The need to ident weirdly here should be

Re: [PATCH v2 0/3] Mediatek EFUSE Support

2016-01-21 Thread Matthias Brugger
On 21/01/16 15:32, Srinivas Kandagatla wrote: On 21/01/16 09:33, Matthias Brugger wrote: On 14/12/15 11:07, Srinivas Kandagatla wrote: Hi Andrew, On 14/12/15 04:27, Daniel Kurtz wrote: Hi Srinivas, On Thu, Nov 19, 2015 at 6:46 PM, Andrew-CT Chen wrote: This patch adds EFUSE support d

Re: [PATCH 0/8] rtc: max77686: Extend driver and add max77802 support

2016-01-21 Thread Javier Martinez Canillas
Hello, On 01/20/2016 09:34 PM, Krzysztof Kozlowski wrote: On 21.01.2016 09:30, Alexandre Belloni wrote: I believe all patches should go through the RTC tree with proper acks or wait until the RTC patches land to pick the defconfig changes. I think Olof would prefer the last patches to go thr

Re: [PATCH V3 06/11] thermal: tegra: add a debugfs to show registers

2016-01-21 Thread Thierry Reding
On Mon, Jan 18, 2016 at 06:03:57PM +0800, Wei Ni wrote: [...] > diff --git a/drivers/thermal/tegra/soctherm.c > b/drivers/thermal/tegra/soctherm.c [...] > +static void soctherm_debug_init(struct platform_device *pdev) > +{ > + struct tegra_soctherm *tegra = platform_get_drvdata(pdev); > +

Re: [GIT PULL]: CRIS changes for 4.5

2016-01-21 Thread Jesper Nilsson
On Thu, Jan 21, 2016 at 03:28:52PM +0530, Sudip Mukherjee wrote: > On Thu, Jan 21, 2016 at 10:30:06AM +0100, Jesper Nilsson wrote: > > are available in the git repository at: > > > > > > g...@gitolite.kernel.org:pub/scm/linux/kernel/git/jesper/cris.git > > tags/cris-for-4.5 > > I think - > >

Re: [PATCH v2 0/3] Mediatek EFUSE Support

2016-01-21 Thread Srinivas Kandagatla
On 21/01/16 14:46, Matthias Brugger wrote: On 21/01/16 15:32, Srinivas Kandagatla wrote: On 21/01/16 09:33, Matthias Brugger wrote: On 14/12/15 11:07, Srinivas Kandagatla wrote: Hi Andrew, On 14/12/15 04:27, Daniel Kurtz wrote: Hi Srinivas, On Thu, Nov 19, 2015 at 6:46 PM, Andrew-CT

[PATCH] ASoC: wm5110: Unregister compressed platform when driver is removed

2016-01-21 Thread Richard Fitzgerald
The driver was not unregistering the compressed platform in wm5110_remove(). If the codec is built as a module, this would lead to a NULL pointer deref if the module was unloaded and then re-probed. Signed-off-by: Richard Fitzgerald --- sound/soc/codecs/wm5110.c | 1 + 1 file changed, 1 insertio

Re: [PATCH v2 5/5] perf/x86/amd/power: Add AMD accumulated power reporting mechanism

2016-01-21 Thread Huang Rui
On Thu, Jan 21, 2016 at 10:02:57AM +0100, Peter Zijlstra wrote: > On Thu, Jan 21, 2016 at 03:04:38PM +0800, Huang Rui wrote: > > I just quickly looked at about the spinlock on -rt mode. Because > > realtime linux kernel provides two kinds of spinlock, the original > > spinlock_t will be replaced th

Re: [PATCH v13 04/23] perf config: Document variables for 'annotate' section in man page

2016-01-21 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 08, 2016 at 08:39:34PM +0900, Taeung Song escreveu: > Explain 'annotate' section and its variables. > > 'hide_src_code', 'use_offset', 'jump_arrows', > 'show_linenr', 'show_nr_jump' and 'show_total_period'. > > Cc: Namhyung Kim > Cc: Jiri Olsa > Signed-off-by: Taeung Song > --- >

Re: [PATCH v2] wl1251: add sysfs interface for bluetooth coexistence mode configuration

2016-01-21 Thread Kalle Valo
Pali Rohár writes: > On Thursday 21 January 2016 15:48:14 Kalle Valo wrote: >> Pali Rohár writes: >> >> > On Thursday 14 January 2016 10:16:54 Pavel Machek wrote: >> >> On Wed 2016-01-13 23:32:47, Arend van Spriel wrote: >> >> > On 12/26/2015 12:45 PM, Pali Rohár wrote: >> >> > >Port the bt_coe

Re: [PATCH v15 5/6] fpga: fpga-area and fpga-bus: device tree control for FPGA

2016-01-21 Thread Moritz Fischer
Hi Alan, minor nits inline: On Wed, Jan 20, 2016 at 8:24 PM, wrote: > v15: Add altr,fpga-bus implementation > Change compatible string "fpga-area" -> "altr,fpga-area" Doesn't look that way down there. Or am I reading the code wrong? > +static const struct of_device_id fpga_area_of_match

Re: [PATCH] pci: fix unavailable irq number 255 reported by BIOS

2016-01-21 Thread Cao jin
Hi, IMHO, I think maybe modification on i801_smbus driver is easier. Because when i801_smbus request_irq using pci_dev->irq, this pci_dev->irq seems still holds the value read from register( pci_setup_device->pci_read_irq), if the value is 255, it is invalid in register, but when requ

<    1   2   3   4   5   6   7   8   9   >