Re: perf: Translating mmap2 ids into socket info?

2014-10-23 Thread Peter Zijlstra
On Wed, Oct 22, 2014 at 04:38:34PM -0400, Don Zickus wrote: > On Wed, Oct 22, 2014 at 10:02:19PM +0200, Peter Zijlstra wrote: > > Or if you'd used more counters that track the node interconnect traffic > > ;-) There are a few simple ones that count local/remote type things > > (offcore), but using

[PATCH 4/4] perf,x86: Introduce HSW cache numa events

2014-10-23 Thread Peter Zijlstra
Seeing how HSW-EP is now available and the SDM states the supplier and snoop info is identical to SNB/IVB, provide the cache numa events. Cc: Andi Kleen Cc: Stephane Eranian Signed-off-by: Peter Zijlstra (Intel) Link: http://lkml.kernel.org/n/t...@git.kernel.org --- arch/x86/kernel/cpu/perf_ev

[PATCH 3/4] perf,x86: Attempt to sanitize the HSW supplier info

2014-10-23 Thread Peter Zijlstra
The SDM states the HSW/BDW supplier and snoop info are identical to SNB/IVB, make it so. Furthermore, it states you have to minimally program a request and supplier type, but the current code does not set a supplier for the ACCESS events. This significantly alters the actual events and does away

[PATCH 2/4] perf,x86: HSW offcore prefetch events

2014-10-23 Thread Peter Zijlstra
This changes the HSW events to be more inline with the other uarchs and removes the prefetch request bits from the read/write demands and into the prefetch demand. Cc: Andi Kleen Cc: Stephane Eranian Signed-off-by: Peter Zijlstra (Intel) Link: http://lkml.kernel.org/n/t...@git.kernel.org --- a

[PATCH 1/4] perf,x86: De-obfuscate HSW offcore bits

2014-10-23 Thread Peter Zijlstra
Andi introduced the HSW cache events array, but used magic constants against convention as set by all the other uarchs. Try and deobfuscate these a bit. This patch should not change the actual values generated; however weird they seems. In that patch Andi also said there were differences between

[PATCH 0/4] Attempt to cleanup the HSW offcore bits

2014-10-23 Thread Peter Zijlstra
So Don asked about offcore and because I forgot I looked at the code and found the terrible mess Andi created with the HSW/BDW bits. This series attempts to clean some of that up but seeing how it was all magic numbers and no reasons provided for the differences with existing uarchs this might jus

[PATCH 07/16] perf tools: Add Python script to export to postgresql

2014-10-23 Thread Adrian Hunter
Add a Python script to export to a postgresql database. The script requires the Python psycopg2 module. The caller of the script must be able to create postgresql databases. The script takes the database name as a parameter. The database and database tables are created. Data is written to flat

[PATCH 08/16] perf tools: Add branch type to db export

2014-10-23 Thread Adrian Hunter
Add the ability to export branch types through the database export facility. Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 48 + tools/perf/util/db-export.h | 6 ++ 2 files changed, 54 insertions(+) diff --git a/tools/perf/util/d

Re: [PATCH] x86, MCE: support memory error recovery for both UCNA and Deferred error in machine_check_poll

2014-10-23 Thread Borislav Petkov
On Fri, Oct 10, 2014 at 02:03:40PM +0800, Chen Yucong wrote: > From: Chen Yucong > > dram_ce_error() stems from Boris's patch set. Thanks! > Link: http://lkml.org/lkml/2014/7/1/545 > > Uncorrected no action required (UCNA) - is a UCR error that is not > signaled via a machine check exception and

Re: [PATCH] kbuild: Fix output of make kernelrelease

2014-10-23 Thread Steven Rostedt
On Thu, 23 Oct 2014 10:57:57 +0200 Michal Marek wrote: > On 2014-10-23 03:11, Steven Rostedt wrote: > > On Wed, 22 Oct 2014 21:44:08 +0200 > > Michal Marek wrote: > > > >> Dne 22.10.2014 v 16:19 Steven Rostedt napsal(a): > >>> > >>> Commit 7ff525712acf "kbuild: fake the "Entering directory ..."

[PATCH 02/16] perf pmu: Let pmu's with no events show up on perf list

2014-10-23 Thread Adrian Hunter
perf list only lists PMUs with events. Add a flag to cause a PMU to be also listed separately. Signed-off-by: Adrian Hunter --- tools/perf/util/pmu.c | 13 +++-- tools/perf/util/pmu.h | 1 + 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/pmu.c b/tools/p

[PATCH 01/16] perf tools: Add id index

2014-10-23 Thread Adrian Hunter
Add an index of the event identifiers. This is needed to queue Instruction Trace samples according to the mmap buffer from which they were recorded. Signed-off-by: Adrian Hunter --- tools/perf/builtin-inject.c | 1 + tools/perf/util/event.c | 1 + tools/perf/util/event.h | 15 +

[PATCH 03/16] perf session: Add perf_session__deliver_synth_event()

2014-10-23 Thread Adrian Hunter
Add a function to deliver synthesized events from within a session. Signed-off-by: Adrian Hunter --- tools/perf/util/session.c | 14 ++ tools/perf/util/session.h | 5 + 2 files changed, 19 insertions(+) diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index d7

[PATCH 09/16] perf tools: Add branch_type and in_tx to Python export

2014-10-23 Thread Adrian Hunter
Add branch_type and in_tx to Python db export and the export-to-postgresql.py script. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/export-to-postgresql.py | 32 ++ .../util/scripting-engines/trace-event-python.c| 30 +++- 2 files changed, 55

[PATCH 10/16] perf tools: Enhance the thread stack to output call/return data

2014-10-23 Thread Adrian Hunter
Enhance the thread stack to output detailed information about paired calls and returns. Signed-off-by: Adrian Hunter --- tools/perf/util/thread-stack.c | 547 - tools/perf/util/thread-stack.h | 47 2 files changed, 590 insertions(+), 4 deletions(-)

Re: [PATCH v2] Staging: iio: adc: fix line over 80 characters

2014-10-23 Thread Lars-Peter Clausen
On 10/22/2014 06:21 AM, Sudip Mukherjee wrote: On Tue, Oct 21, 2014 at 05:56:47PM -0500, Brian Vandre wrote: This fixes the 2 checkpatch.pl warnings: WARNING: line over 80 characters please check your patch with --strict option of checkpatch.pl , and you will get : "Alignment should match ope

Re: fix blk-mq for SPI hosts

2014-10-23 Thread Meelis Roos
> ping? Sorry, forgot to reply. Yes, it worked fine, on the initial Ultra 1 and additionally on Ultra 2 too. > On Sun, Oct 19, 2014 at 05:13:56PM +0200, Christoph Hellwig wrote: > > Fix the assumption that we can treat all blk-mq requests as tagged. For > > traditional SCSI that's wrong, as bei

[PATCH 04/16] perf tools: Add a thread stack for synthesizing call chains

2014-10-23 Thread Adrian Hunter
Add a thread stack for synthesizing call chains from call and return events. Signed-off-by: Adrian Hunter --- tools/perf/Makefile.perf | 2 + tools/perf/util/event.h| 26 +++ tools/perf/util/thread-stack.c | 151 + tools/perf/util/thre

[PATCH 11/16] perf tools: Add call information to the database export API

2014-10-23 Thread Adrian Hunter
Make it possible for the database export API to use the enhanced thread stack and export detailed information about paired calls and returns. Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 52 - tools/perf/util/db-export.h | 12

[PATCH 05/16] perf tools: Add facility to export data in database-friendly way

2014-10-23 Thread Adrian Hunter
This patch introduces an abstraction for exporting sample data in a database-friendly way. The abstraction does not implement the actual output. A subsequent patch takes this facility into use for extending the script interface. The abstraction is needed because static data like symbols, dsos, c

[PATCH 13/16] perf tools: Defer export of comms that were not 'set'

2014-10-23 Thread Adrian Hunter
Tracing for a workload begins before the comm event is seen, which results in the initial comm having a string of the form ":" (e.g. ":12345"). In order to export the correct string, defer the export until the new script 'flush' callback. Signed-off-by: Adrian Hunter --- tools/perf/util/db-expo

[PATCH 16/16] perf tools: Do not attempt to run perf-read-vdso32 if it wasn't built

2014-10-23 Thread Adrian Hunter
popen() causes an error message to print if perf-read-vdso32 does not run. Avoid that by not trying to run it if it was not built. Ditto perf-read-vdsox32. Signed-off-by: Adrian Hunter --- tools/perf/config/Makefile | 8 ++-- tools/perf/util/vdso.c | 10 ++ 2 files changed, 16

[PATCH 06/16] perf tools: Extend Python script interface to export data in a database-friendly way

2014-10-23 Thread Adrian Hunter
Use the new db_export facility to export data in a database-friendly way. A Python script selects the db_export mode by setting a global variable 'perf_db_export_mode' to True. The script then optionally implements functions to receive table rows. The functions are: evsel_table

[PATCH 14/16] perf tools: Build programs to copy 32-bit compatibility VDSOs

2014-10-23 Thread Adrian Hunter
perf tools copy VDSO out of memory. However, on 64-bit machines there may be 32-bit compatibility VDOs also. To copy those requires separate 32-bit executables. This patch adds to the build additional programs perf-read-vdso32 and perf-read-vdsox32 for 32-bit and x32 respectively. Signed-off-by

[PATCH 12/16] perf tools: Add call information to Python export

2014-10-23 Thread Adrian Hunter
Add the ability to export detailed information about paired calls and returns to Python db export and the export-to-postgresql.py script. Signed-off-by: Adrian Hunter --- .../scripts/python/bin/export-to-postgresql-report | 15 ++-- tools/perf/scripts/python/export-to-postgresql.py | 66 +++

[PATCH 15/16] perf tools: Add support for 32-bit compatibility VDSOs

2014-10-23 Thread Adrian Hunter
'perf record' post-processes the event stream to create a list of build-ids for object files for which sample events have been recorded. That results in those object files being recorded in the build-id cache. In the case of VDSO, perf tools reads it from memory and copies it into a temporary fi

[PATCH 00/16] perf tools: Intel PT preparation continued

2014-10-23 Thread Adrian Hunter
Hi Here are the remaining Intel PT preparation patches. They are all patches that have been posted before, although "perf tools: Do not attempt to run perf-read-vdso32 if it wasn't built" wasn't sent as a separate email. With regard to "32-bit compatibility VDSOs", you may recall that Ingo had a

Re: [PATCH 1/2] Staging: iio: adc: fix line over 80 characters

2014-10-23 Thread Daniel Baluta
On Tue, Oct 21, 2014 at 5:48 AM, Brian Vandre wrote: > This fixes the checkpatch.pl warning: > WARNING: line over 80 characters > > Signed-off-by: Brian Vandre As a part of OPW [1] IIO cleanup project [2] we analyzed all checkpatch.pl warnings / errors and we decided not to fix some of them as t

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-10-23 Thread Pali Rohár
On Wednesday 22 October 2014 19:10:05 Guenter Roeck wrote: > On Wed, Oct 22, 2014 at 06:35:53PM +0200, Pali Rohár wrote: > > On Wednesday 22 October 2014 18:19:47 Guenter Roeck wrote: > > > On Wed, Oct 22, 2014 at 02:29:06PM +0200, Pali Rohár wrote: > > > > On Tuesday 21 October 2014 06:27:23 Guent

Re: [RFC][PATCH 0/6] Another go at speculative page faults

2014-10-23 Thread Lai Jiangshan
On 10/22/2014 01:56 AM, Peter Zijlstra wrote: > On Tue, Oct 21, 2014 at 08:09:48PM +0300, Kirill A. Shutemov wrote: >> It would be interesting to see if the patchset affects non-condended case. >> Like a one-threaded workload. > > It does, and not in a good way, I'll have to look at that... :/ Ma

[char-misc 3.10 backport] mei: bus: fix possible boundaries violation

2014-10-23 Thread Tomas Winkler
From: Alexander Usyskin commit cfda2794b5afe7ce64ee9605c64bef0e56a48125 upstream. function 'strncpy' will fill whole buffer 'id.name' of fixed size (32) with string value and will not leave place for NULL-terminator. Possible buffer boundaries violation in following string operations. Replace st

Re: [PATCH v3 0/4] mm: new function to forbid zeropage mappings for a process

2014-10-23 Thread Martin Schwidefsky
On Wed, 22 Oct 2014 13:09:26 +0200 Dominik Dingel wrote: > s390 has the special notion of storage keys which are some sort of page flags > associated with physical pages and live outside of direct addressable memory. > These storage keys can be queried and changed with a special set of > instruc

Re: [PATCH v3 1/2] usb: dwc2: gadget: sparse warning of context imbalance

2014-10-23 Thread Greg Kroah-Hartman
On Thu, Oct 23, 2014 at 03:37:14PM +0530, Sudip Mukherjee wrote: > On Fri, Oct 17, 2014 at 07:05:19PM +, Paul Zimmerman wrote: > > > From: Felipe Balbi [mailto:ba...@ti.com] > > > Sent: Friday, October 17, 2014 11:52 AM > > > > > > On Fri, Oct 17, 2014 at 06:50:19PM +, Paul Zimmerman wrote

Re: [PATCH V2] tty: serial: omap: Increase max consoles and add check to prevent crash

2014-10-23 Thread Sebastian Andrzej Siewior
On 10/22/2014 02:46 PM, Nishanth Menon wrote: > Increase the maximum number of consoles possible to 10 since DRA7 now > has the maximum number of consoles possible. without doing this, for > example, enabling DRA7 UART10 results in internal data structures and > console cannot match up and we endup

Re: [RFC][PATCH 4/6] SRCU free VMAs

2014-10-23 Thread Lai Jiangshan
> > +struct vm_area_struct *find_vma_srcu(struct mm_struct *mm, unsigned long > addr) > +{ > + struct vm_area_struct *vma; > + unsigned int seq; > + > + WARN_ON_ONCE(!srcu_read_lock_held(&vma_srcu)); > + > + do { > + seq = read_seqbegin(&mm->mm_seq); > +

Re: [PATCH v3 1/2] usb: dwc2: gadget: sparse warning of context imbalance

2014-10-23 Thread Sudip Mukherjee
On Fri, Oct 17, 2014 at 07:05:19PM +, Paul Zimmerman wrote: > > From: Felipe Balbi [mailto:ba...@ti.com] > > Sent: Friday, October 17, 2014 11:52 AM > > > > On Fri, Oct 17, 2014 at 06:50:19PM +, Paul Zimmerman wrote: > > > > From: Sudip Mukherjee [mailto:sudipm.mukher...@gmail.com] > > > >

Re: [PATCH v1 1/5] mfd: tps65910: Convert ti,system-power-controller DT property to poweroff-source

2014-10-23 Thread Lee Jones
On Thu, 23 Oct 2014, PERIER Romain wrote: > 2014-10-22 17:50 GMT+02:00 Lee Jones : > > On Wed, 22 Oct 2014, PERIER Romain wrote: > > > >> This is related to the following subject "[RFC v3 PATCH 1/5] of: Add > >> standard property for poweroff capability" and depends on the > >> corresponding patch

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-23 Thread Johan Hovold
[ +CC: Guenter, Lee, linux-pm ] On Tue, Oct 14, 2014 at 06:31:09AM +, Romain Perier wrote: > Several drivers create their own devicetree property when they register > poweroff capabilities. This is for example the case for mfd, regulator > or power drivers which define "vendor,system-power-con

Re: [patch 1/3] ipmi: Setup ipmi_devintf automatically if ipmi_msghandler gets loaded

2014-10-23 Thread Thomas Renninger
On Monday, October 20, 2014 10:28:53 AM Wilck, Martin wrote: > On Fri, 2014-10-17 at 18:14 +0200, Corey Minyard wrote: > > > > How about this. I did a little research, and there's something called > > soft module dependencies. Apparently you can add: > > > > MODULE_SOFTDEP("post: ipmi_devintf"

Re: [PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread Frans Klaver
On Thu, Oct 23, 2014 at 11:40 AM, Greg KH wrote: > On Thu, Oct 23, 2014 at 01:52:24AM -0700, russ.d...@gmail.com wrote: >> From: Russ Dill >> >> This patch provides the FTDI genuine product verification steps >> as contained within the new 2.12.00 official release. It ensures >> that counterfeite

[PATCH/TRIVIAL 2/4] drm/i915: Move newline to end of error message

2014-10-23 Thread Geert Uytterhoeven
Currently the error message is needlessly splitted across two lines. Signed-off-by: Geert Uytterhoeven Cc: David Airlie --- drivers/gpu/drm/i915/i915_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index

[PATCH/TRIVIAL 3/4] iwlegacy: 4965-rs: Remove bogus colon after newline from debug message

2014-10-23 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Cc: John W. Linville --- drivers/net/wireless/iwlegacy/4965-rs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/iwlegacy/4965-rs.c b/drivers/net/wireless/iwlegacy/4965-rs.c index eaaeea19d8c5bcc9..bac60b2bc3f014a5 10064

[PATCH/TRIVIAL 4/4] uwb: Remove bogus colon after newline from debug message

2014-10-23 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Cc: linux-...@vger.kernel.org --- drivers/uwb/rsv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/uwb/rsv.c b/drivers/uwb/rsv.c index 0887ae982783b7df..536ad42b0a4b1d7e 100644 --- a/drivers/uwb/rsv.c +++ b/drivers/uwb/rsv.c @@ -2

[PATCH/TRIVIAL 1/4] cpufreq: cpufreq-dt: Move newline to end of error message

2014-10-23 Thread Geert Uytterhoeven
Currently the error message is needlessly splitted across two lines. Signed-off-by: Geert Uytterhoeven Cc: Rafael J. Wysocki --- drivers/cpufreq/cpufreq-dt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c index 92c

Re: [PATCH v2] Staging: iio: adc: fix line over 80 characters

2014-10-23 Thread Sudip Mukherjee
On Thu, Oct 23, 2014 at 01:47:37AM +0200, Hartmut Knaack wrote: > Sudip Mukherjee schrieb am 22.10.2014 06:21: > > On Tue, Oct 21, 2014 at 05:56:47PM -0500, Brian Vandre wrote: > >> This fixes the 2 checkpatch.pl warnings: > >> WARNING: line over 80 characters > >> > > please check your patch with

Re: [PATCH] drm/panel: s6e8aa0: Update calls to gpiod_get*()

2014-10-23 Thread Andrzej Hajda
On 10/23/2014 10:16 AM, Alexandre Courbot wrote: > Add the new flags argument to calls of (devm_)gpiod_get*() and > remove any direction setting code afterwards. > > Currently both forms (with or without the flags argument) > are valid thanks to transitional macros in > . These macros will be remo

Re: [PATCH] drm/panel: ld9040: Update calls to gpiod_get*()

2014-10-23 Thread Andrzej Hajda
On 10/23/2014 10:16 AM, Alexandre Courbot wrote: > Add the new flags argument to calls of (devm_)gpiod_get*() and > remove any direction setting code afterwards. > > Currently both forms (with or without the flags argument) > are valid thanks to transitional macros in > . These macros will be remo

Re: [PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread Greg KH
On Thu, Oct 23, 2014 at 01:52:24AM -0700, russ.d...@gmail.com wrote: > From: Russ Dill > > This patch provides the FTDI genuine product verification steps > as contained within the new 2.12.00 official release. It ensures > that counterfeiters don't exploit engineering investment made > by FTDI.

[PATCH v13 1/5] thermal: rockchip: add driver for thermal

2014-10-23 Thread Caesar Wang
Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software writing to register for direct control. Automaic mode refers to the module automatically poll TSADC output, and the results were checked.I

[PATCH v13 2/5] dt-bindings: document Rockchip thermal

2014-10-23 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng Signed-off-by: Caesar Wang --- .../bindings/thermal/rockchip-thermal.txt | 53 ++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/device

[PATCH v13 3/5] ARM: dts: add RK3288 Thermal data

2014-10-23 Thread Caesar Wang
This patch changes a dtsi file to contain the thermal data on RK3288 and later SoCs. This data will enable a thermal shutdown over 125C. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3288-thermal.dtsi | 65 +++ 1 file changed, 65 insertions(+) create mode 10

[PATCH v13 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-23 Thread Caesar Wang
This patch is depend on rk3288-thermal.dtsi,or it will compile error. If the temperature over a period of time High,over 120C the resulting TSHUT gave CRU module,let it reset the entire chip,or via GPIO give PMIC. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3288.dtsi | 21 +++

[PATCH v13 0/5] Rockchip soc thermal driver

2014-10-23 Thread Caesar Wang
This series patchs tested on rk3288 SDK board and pinky-v1,v2 board. I believe the driver can be used on the rk3288-evb board. Add this driver, The system can reset the entire chip when the thermal temperture over 120C, In case of rising over 125C when tha hardware shorting,The sodftware will shut

[PATCH v13 5/5] ARM: dts: enable Thermal on rk3288-evb board

2014-10-23 Thread Caesar Wang
when a thermal temperature over TSHUT.Default to via CRU reset the entire chip on rk3288-evb Board, TSHUT is low active on rk3288-evb board. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dts

Re: [PATCH] ASoC: jack: update calls to gpiod_get*()

2014-10-23 Thread Mark Brown
On Thu, Oct 23, 2014 at 05:15:18PM +0900, Alexandre Courbot wrote: > Add the new flags argument to calls of (devm_)gpiod_get*() and > remove any direction setting code afterwards. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v1 1/5] mfd: tps65910: Convert ti,system-power-controller DT property to poweroff-source

2014-10-23 Thread PERIER Romain
Hi Peter, 2014-10-23 10:12 GMT+02:00 Peter De Schrijver : > This breaks DT ABI stability right? An existing device tree using > ti,system-power-controller won't work anymore after this patch right? I don't > think that's acceptable. > This is why I converted all dts which use "ti,system-power-c

Re: [PATCH v3 4/5] regulator: max77802: Parse regulator operating mode properties

2014-10-23 Thread Javier Martinez Canillas
Hello Mark, > On 22/10/2014, at 18:48, Mark Brown wrote: > >> On Mon, Oct 20, 2014 at 04:47:51PM +0200, Javier Martinez Canillas wrote: >> >> +char *states[PM_SUSPEND_MAX + 1] = { >> +[PM_SUSPEND_MEM] = "regulator-state-mem", >> +[PM_SUSPEND_MAX] = "regulator-state-disk", >>

Re: [RFC 2/4] PCI: generic: Add support for ARM64 and MSI(x)

2014-10-23 Thread Liviu Dudau
On Wed, Oct 22, 2014 at 09:52:19PM +0100, Arnd Bergmann wrote: > On Wednesday 22 October 2014 16:59:14 Lorenzo Pieralisi wrote: > > On Wed, Oct 01, 2014 at 10:38:45AM +0100, Arnd Bergmann wrote: > > > > [...] > > > > > The arm32 implementations of pci_domain_nr/pci_proc_domain can probably be > >

Re: [PATCH RFC v3 01/16] virtio: memory access APIs

2014-10-23 Thread Michael S. Tsirkin
On Thu, Oct 23, 2014 at 09:54:05AM +0200, Cornelia Huck wrote: > On Wed, 22 Oct 2014 21:44:08 +0300 > "Michael S. Tsirkin" wrote: > > > virtio 1.0 makes all memory structures LE, so > > we need APIs to conditionally do a byteswap on BE > > architectures. > > > > To make it easier to check code s

Re: [PATCH 0/3] scsi: Add Hyper-V logical block provisioning quirks

2014-10-23 Thread Sitsofe Wheeler
On 23 October 2014 02:50, Martin K. Petersen wrote: >> "Sitsofe" == Sitsofe Wheeler writes: > > Sitsofe> 2. On top of the above, when a disk is "small" (has less than > Sitsofe>2^32 sectors which is typically < 2 TBytes in size) READ > Sitsofe>CAPACITY(16) won't be triggered. > > stat

[PATCH V2 2/5] sched: idle: Get the next timer event and pass it the cpuidle framework

2014-10-23 Thread Daniel Lezcano
Following the logic of the previous patch, retrieve from the idle task the expected timer sleep duration and pass it to the cpuidle framework. Take the opportunity to remove the unused headers in the menu.c file. This patch does not change the current behavior. Signed-off-by: Daniel Lezcano Ack

[PATCH V2 3/5] cpuidle: idle: menu: Don't reflect when a state selection failed

2014-10-23 Thread Daniel Lezcano
In the current code, the check to reflect or not the outcoming state is done against the idle state which has been chosen and its value. Instead of doing a check in each of the reflect functions, just don't call reflect if something went wrong in the idle path. Signed-off-by: Daniel Lezcano Ack

[PATCH V2 4/5] cpuidle: menu: Fix the get_typical_interval

2014-10-23 Thread Daniel Lezcano
The first time the 'get_typical_function' is called, it computes an average of zero as no data is filled yet. That leads the 'data->predicted_us' variable to be set to zero too. The caller, 'menu_select' will then do: interactivity_req = data->predicted_us / perfor

[PATCH V2 5/5] cpuidle: menu: Move the update function before its declaration

2014-10-23 Thread Daniel Lezcano
In order to prevent a pointless forward declaration, just move the function at the beginning of the file. This patch does not change the behavior of the governor, it is just code reordering. Signed-off-by: Daniel Lezcano --- drivers/cpuidle/governors/menu.c | 149 +++

[PATCH V2 1/5] sched: idle: cpuidle: Check the latency req before idle

2014-10-23 Thread Daniel Lezcano
When the pmqos latency requirement is set to zero that means "poll in all the cases". That is correctly implemented on x86 but not on the other archs. As how is written the code, if the latency request is zero, the governor will return zero, so corresponding, for x86, to the poll function, but fo

Re: [PATCH v2 0/12] perf/x86: implement HT leak workaround for SNB/IVB/HSW

2014-10-23 Thread Stephane Eranian
On Thu, Oct 23, 2014 at 10:53 AM, Peter Zijlstra wrote: > On Wed, Oct 22, 2014 at 11:04:31PM +0200, Stephane Eranian wrote: >> Here is a simple case: >> Limiting each HT to only 2 counters, can be any, 2 out of 4 possible. >> >> HT0: you measure a MEM* in ctr2, it is started first, and it keeps ru

Re: Re: [PATCH v3 5/5] perf/sdt: Add support to perf record to trace SDT events

2014-10-23 Thread Masami Hiramatsu
(2014/10/23 17:21), Namhyung Kim wrote: > Hi Masami, > > On Thu, 23 Oct 2014 15:33:37 +0900, Masami Hiramatsu wrote: >> (2014/10/23 14:54), Srikar Dronamraju wrote: >>> I am somehow not able to figure out how perf probe comes into the >>> current workflow. >>> >>> I think the current design was >>

Re: [PATCH] kbuild: Fix output of make kernelrelease

2014-10-23 Thread Michal Marek
On 2014-10-23 03:11, Steven Rostedt wrote: > On Wed, 22 Oct 2014 21:44:08 +0200 > Michal Marek wrote: > >> Dne 22.10.2014 v 16:19 Steven Rostedt napsal(a): >>> >>> Commit 7ff525712acf "kbuild: fake the "Entering directory ..." message >>> more simply" changed the output of "make kernelrelease" su

Re: [PATCH v2 0/12] perf/x86: implement HT leak workaround for SNB/IVB/HSW

2014-10-23 Thread Peter Zijlstra
On Wed, Oct 22, 2014 at 11:04:31PM +0200, Stephane Eranian wrote: > Here is a simple case: > Limiting each HT to only 2 counters, can be any, 2 out of 4 possible. > > HT0: you measure a MEM* in ctr2, it is started first, and it keeps running > HT1: you measure PREC_DIST with PEBS (it requires ctr2

[PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread russ . dill
From: Russ Dill This patch provides the FTDI genuine product verification steps as contained within the new 2.12.00 official release. It ensures that counterfeiters don't exploit engineering investment made by FTDI. Counterfeit ICs are destroying innovation in the industry. FTDI recommends that

Re: [PATCH] kbuild: Fix output of make kernelrelease

2014-10-23 Thread Michal Marek
On 2014-10-22 22:35, Steven Rostedt wrote: > On Wed, 22 Oct 2014 21:44:08 +0200 > Michal Marek wrote: > >> Dne 22.10.2014 v 16:19 Steven Rostedt napsal(a): >>> >>> Commit 7ff525712acf "kbuild: fake the "Entering directory ..." message >>> more simply" changed the output of "make kernelrelease" su

[PATCH v8 2/2] drm/i2c: tda998x: Use the HDMI audio CODEC interface

2014-10-23 Thread Jean-Francois Moine
This patch adds the necessary functions to interface the HDMI audio CODEC. Signed-off-by: Jean-Francois Moine --- .../devicetree/bindings/drm/i2c/tda998x.txt| 18 ++ drivers/gpu/drm/i2c/Kconfig| 1 + drivers/gpu/drm/i2c/tda998x_drv.c | 264

[PATCH v8 0/2] ASoC: tda998x: add a codec to the HDMI transmitter

2014-10-23 Thread Jean-Francois Moine
The NXP TDA998x HDMI transmitter may transmit audio to the HDMI link from 2 different sources, I2S and S/PDIF. This patch set first adds an interface between a HDMI transmitter and the HDMI CODEC. The interface is then used by the TDA998x driver to describe its audio capabilities (DAIs), to give

[PATCH v8 1/2] ASoC: hdmi: Add a transmitter interface to the HDMI CODEC

2014-10-23 Thread Jean-Francois Moine
Audio in HDMI asks for: - the audio constraints of the HDMI device to be known when choosing the audio routes in the audio subsystem, and - the HDMI transmitter to know which of its audio inputs has been chosen when audio streaming starts. This patch adds the interface between a HDMI transmitt

Re: fix blk-mq for SPI hosts

2014-10-23 Thread Christoph Hellwig
ping? On Sun, Oct 19, 2014 at 05:13:56PM +0200, Christoph Hellwig wrote: > Fix the assumption that we can treat all blk-mq requests as tagged. For > traditional SCSI that's wrong, as being tagged has a very explicit meaning > on the wire. > > This is a little bit different from the version Meeli

Re: [PATCH 12/13] power: reset: ltc2952: make trigger input optional

2014-10-23 Thread Frans Klaver
On Wed, Oct 22, 2014 at 04:31:09PM +0200, Frans Klaver wrote: > Currently the ltc2952 supports only one button sequence to initiate > powerdown. This is not always desirable, as even prolonged button > presses can happen in use. > > Allow ltc2952 users to pick their own power down sequence, by mak

Re: [PATCH v2 1/3] sched/dl: Implement cancel_dl_timer() to use in switched_from_dl()

2014-10-23 Thread Kirill Tkhai
В Ср, 22/10/2014 в 11:00 +0100, Juri Lelli пишет: > On 21/10/14 15:21, Kirill Tkhai wrote: > > В Вт, 21/10/2014 в 12:41 +0100, Juri Lelli пишет: > >> On 21/10/14 11:48, Kirill Tkhai wrote: > >>> В Вт, 21/10/2014 в 11:30 +0100, Juri Lelli пишет: > Hi Kirill, > > sorry for the late rep

Re: + mm-compaction-avoid-premature-range-skip-in-isolate_migratepages_range.patch added to -mm tree

2014-10-23 Thread Vlastimil Babka
On 10/23/2014 10:15 AM, Joonsoo Kim wrote: > On Tue, Oct 14, 2014 at 01:53:44PM -0700, a...@linux-foundation.org wrote: >> >> The patch titled >> Subject: mm/compaction.c: avoid premature range skip in >> isolate_migratepages_range >> has been added to the -mm tree. Its filename is >>

[PATCH] gpio: rename gpio_lock_as_irq to gpiochip_lock_as_irq

2014-10-23 Thread Alexandre Courbot
This function actually operates on a gpio_chip, so its prefix should reflect that fact for consistency with other functions defined in gpio/driver.h. Signed-off-by: Alexandre Courbot --- Just a consistency change ; hopefully we can slip this under the GPIO tree without getting acked-bys from each

[PATCH v3] drivers: net: xgene: Rewrite buggy loop in xgene_enet_ecc_init()

2014-10-23 Thread Geert Uytterhoeven
drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c: In function ‘xgene_enet_ecc_init’: drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c:126: warning: ‘data’ may be used uninitialized in this function Depending on the arbitrary value on the stack, the loop may terminate too early, and cause a bog

Re: [PATCH 06/14] net: dsa: Add support for hardware monitoring

2014-10-23 Thread Richard Cochran
On Wed, Oct 22, 2014 at 10:06:41PM -0700, Guenter Roeck wrote: > On 10/22/2014 09:37 PM, Florian Fainelli wrote: > >You probably want the number of temperature sensors to come from the > >switch driver, and support arbitrary number of temperature sensors? > > In that case we would need the number

[PATCH 1/1] devicetree: bindings: Add vendor prefix for Micron Technology Co., Ltd.

2014-10-23 Thread bpqw
This patch is used to add vendor prefix for Micron Technology Inc in the vendor-prefixes.txt file. Micron Technology, Inc. is an American multinational corporation based in Boise, Idaho, best known for producing many forms of semiconductor devices. This includes DRAM, SDRAM, flash memory, eMM

Re: [PATCH v3 5/5] perf/sdt: Add support to perf record to trace SDT events

2014-10-23 Thread Namhyung Kim
Hi Masami, On Thu, 23 Oct 2014 15:33:37 +0900, Masami Hiramatsu wrote: > (2014/10/23 14:54), Srikar Dronamraju wrote: >> I am somehow not able to figure out how perf probe comes into the >> current workflow. >> >> I think the current design was >> 1. perf sdt-cache --add (only once per file) >>

[PATCH 1/2] tracing, function_graph: fix micro seconds notation in comment

2014-10-23 Thread byungchul . park
From: Byungchul Park Usually, "msecs" notation means milli-seconds, and "usecs" notation means micro-seconds. Since the unit used in the code is micro-seconds, the notation should be replaced from msecs to usecs. This confusing notation prevents us from understanding the code correctly. Signed-o

[PATCH] input: soc_button_array: update calls to gpiod_get*()

2014-10-23 Thread Alexandre Courbot
Add the new flags argument to calls of (devm_)gpiod_get*(). Currently both forms (with or without the flags argument) are valid thanks to transitional macros in . These macros will be removed once all consumers are updated and the flags argument will become compulsary. Signed-off-by: Alexandre Co

[PATCH 2/2] tracing, function_graph: add additional marks to signal very large function execution time

2014-10-23 Thread byungchul . park
From: Byungchul Park Currently, function graph tracer prints "!" or "+" just before function execution time to signal a function overhead, depending on the time. Even it is usually enough to do that, we sometimes need to be signaled for bigger execution time than 100 micro seconds. For example,

[PATCH 0/2] tracing, function_graph: signaling very large function execution time

2014-10-23 Thread byungchul . park
From: Byungchul Park Hello. When I analysis the exit_mm() function to find out the reason why the function spends much time occasionally, this patch was very useful. I thought this patch cannot be useful only for me, but can be also useful for anybody who want to be signaled for very large funct

[PATCH] drm/panel: s6e8aa0: Update calls to gpiod_get*()

2014-10-23 Thread Alexandre Courbot
Add the new flags argument to calls of (devm_)gpiod_get*() and remove any direction setting code afterwards. Currently both forms (with or without the flags argument) are valid thanks to transitional macros in . These macros will be removed once all consumers are updated and the flags argument wil

[PATCH] drm/panel: simple: Update calls to gpiod_get*()

2014-10-23 Thread Alexandre Courbot
Add the new flags argument to calls of (devm_)gpiod_get*() and remove any direction setting code afterwards. Currently both forms (with or without the flags argument) are valid thanks to transitional macros in . These macros will be removed once all consumers are updated and the flags argument wil

Re: + mm-compaction-avoid-premature-range-skip-in-isolate_migratepages_range.patch added to -mm tree

2014-10-23 Thread Joonsoo Kim
On Tue, Oct 14, 2014 at 01:53:44PM -0700, a...@linux-foundation.org wrote: > > The patch titled > Subject: mm/compaction.c: avoid premature range skip in > isolate_migratepages_range > has been added to the -mm tree. Its filename is > > mm-compaction-avoid-premature-range-skip-in-isol

Re: [PATCH] arm: dma-mapping: fix compilation error when CONFIG_MMU is not present

2014-10-23 Thread Marek Szyprowski
Hello, On 2014-10-21 02:05, Laura Abbott wrote: On 10/20/2014 6:50 AM, Stefan Hengelein wrote: Well, arch/arm/mm/dma-mapping.c: In function ‘__atomic_get_pages’: arch/arm/mm/dma-mapping.c:1265:31: error: ‘atomic_pool’ undeclared (first use in this function) arch/arm/mm/dma-mapping.c: In funct

[PATCH] drm/panel: ld9040: Update calls to gpiod_get*()

2014-10-23 Thread Alexandre Courbot
Add the new flags argument to calls of (devm_)gpiod_get*() and remove any direction setting code afterwards. Currently both forms (with or without the flags argument) are valid thanks to transitional macros in . These macros will be removed once all consumers are updated and the flags argument wil

[PATCH v4 2/4] mm/page_alloc: add freepage on isolate pageblock to correct buddy list

2014-10-23 Thread Joonsoo Kim
In free_pcppages_bulk(), we use cached migratetype of freepage to determine type of buddy list where freepage will be added. This information is stored when freepage is added to pcp list, so if isolation of pageblock of this freepage begins after storing, this cached information could be stale. In

[PATCH v4 1/4] mm/page_alloc: fix incorrect isolation behavior by rechecking migratetype

2014-10-23 Thread Joonsoo Kim
There are two paths to reach core free function of buddy allocator, __free_one_page(), one is free_one_page()->__free_one_page() and the other is free_hot_cold_page()->free_pcppages_bulk()->__free_one_page(). Each paths has race condition causing serious problems. At first, this patch is focused on

[PATCH] ASoC: jack: update calls to gpiod_get*()

2014-10-23 Thread Alexandre Courbot
Add the new flags argument to calls of (devm_)gpiod_get*() and remove any direction setting code afterwards. Currently both forms (with or without the flags argument) are valid thanks to transitional macros in . These macros will be removed once all consumers are updated and the flags argument wil

Re: [PATCH 1/3] kcmp: Move kcmp.h into uapi

2014-10-23 Thread Cyrill Gorcunov
On Thu, Oct 23, 2014 at 09:49:14AM +0200, Arnd Bergmann wrote: > On Thursday 23 October 2014 16:07:12 Michael Ellerman wrote: > > --- a/include/linux/kcmp.h > > +++ b/include/linux/kcmp.h > > @@ -1,17 +1,6 @@ > > #ifndef _LINUX_KCMP_H > > #define _LINUX_KCMP_H > > > > -/* Comparison type */ > >

Re: [PATCH v2 06/12] perf/x86: implement cross-HT corruption bug workaround

2014-10-23 Thread Jiri Olsa
On Thu, Oct 23, 2014 at 10:01:08AM +0200, Stephane Eranian wrote: > On Thu, Oct 23, 2014 at 9:19 AM, Jiri Olsa wrote: > > On Wed, Oct 22, 2014 at 02:31:51PM +0200, Jiri Olsa wrote: > >> On Thu, Oct 09, 2014 at 06:34:40PM +0200, Stephane Eranian wrote: > >> > From: Maria Dimakopoulou SNIP > >> >

[PATCH v4 4/4] mm/page_alloc: restrict max order of merging on isolated pageblock

2014-10-23 Thread Joonsoo Kim
Current pageblock isolation logic could isolate each pageblock individually. This causes freepage accounting problem if freepage with pageblock order on isolate pageblock is merged with other freepage on normal pageblock. We can prevent merging by restricting max order of merging to pageblock order

Re: [PATCH V2 1/2] mm: Update generic gup implementation to handle hugepage directory

2014-10-23 Thread Aneesh Kumar K.V
Andrew Morton writes: > On Fri, 17 Oct 2014 10:08:06 +0530 "Aneesh Kumar K.V" > wrote: > >> Update generic gup implementation with powerpc specific details. >> On powerpc at pmd level we can have hugepte, normal pmd pointer >> or a pointer to the hugepage directory. >> >> ... >> >> --- a/arch/

Re: [PATCH 2/2] iommu: Implement a dummy bus_set_iommu()

2014-10-23 Thread Thierry Reding
On Wed, Oct 22, 2014 at 04:29:22PM +0200, Joerg Roedel wrote: > On Wed, Oct 15, 2014 at 11:10:44AM +0200, Thierry Reding wrote: > > It seems like I never got back to you on this. The reason here is that > > for Tegra the IOMMU is part of a larger IP block. The IP block is > > primarily a memory con

<    2   3   4   5   6   7   8   >