[PATCH -v2] x86: Kill notsc

2015-10-22 Thread Borislav Petkov
On Wed, Oct 21, 2015 at 09:01:09PM +0200, Peter Zijlstra wrote: > I _think_ so, but its late. It would result in sched_clock() being 0 > until you hit that other bit, but that should be fine (maybe). Ok, here's a v2, it boots fine here: --- From: Borislav Petkov Date: Sun, 18 Oct 2015 16:05:32 +

[PATCHv3 4/6] evm: provide a function to set EVM key from the kernel

2015-10-22 Thread Dmitry Kasatkin
Crypto HW kernel module can possibly initialize EVM key from the kernel __init code to enable EVM before calling 'init' process. This patch provide a function evm_set_key() which can be used to set custom key directly to EVM without using KEY subsystem. Changes in v3: * error reporting moved to ev

Re: [PATCH 7/8] mm: vmscan: report vmpressure at the level of reclaim activity

2015-10-22 Thread Vladimir Davydov
On Thu, Oct 22, 2015 at 12:21:35AM -0400, Johannes Weiner wrote: ... > @@ -2437,6 +2439,10 @@ static bool shrink_zone(struct zone *zone, struct > scan_control *sc, > } > } > > + vmpressure(sc->gfp_mask, memcg, > +

Re: [PATCH v2] EDAC: Add ARM64 EDAC

2015-10-22 Thread Brijesh Singh
Hi Mauro, On 10/21/2015 04:25 PM, Mauro Carvalho Chehab wrote: > Em Wed, 21 Oct 2015 15:41:37 -0500 > Brijesh Singh escreveu: > >> Add support for Cortex A57 and A53 EDAC driver. >> >> Signed-off-by: Brijesh Singh >> CC: robh...@kernel.org >> CC: pawel.m...@arm.com >> CC: mark.rutl...@arm.com >

[PATCHv3 0/6] integrity: few EVM patches

2015-10-22 Thread Dmitry Kasatkin
Hi, IMA module provides functionality to load x509 certificates into the trusted '.ima' keyring. This is patchset adds the same functionality to the EVM as well. Also it provides functionality to set EVM key from the kernel crypto HW driver. This is an update for the patchset which was previously

[PATCHv3 2/6] evm: load x509 certificate from the kernel

2015-10-22 Thread Dmitry Kasatkin
This patch defines configuration option and the evm_load_x509() hook to load X509 certificate into the EVM trusted kernel keyring. Changes in v4: * Patch description updated Changes in v3: * Removed EVM_X509_PATH definition. CONFIG_EVM_X509_PATH is used directly. Changes in v2: * default key p

[PATCH v4 14/15] net: wireless: ath: Remove unneeded variable ret returning 0

2015-10-22 Thread Punit Vara
Remove black line suggested by Sergei This patch is to the ath5k/eeprom.c that fixes up warning caught by coccicheck: Unneeded variable: "ret". Return "0" on line 980 Remove unneeded variable ret created to return zero. Signed-off-by: Punit Vara --- drivers/net/wireless/ath/wcn36xx/main.c | 4

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-10-22 Thread Vladimir Davydov
On Thu, Oct 22, 2015 at 12:21:33AM -0400, Johannes Weiner wrote: ... > @@ -5500,13 +5524,38 @@ void sock_release_memcg(struct sock *sk) > */ > bool mem_cgroup_charge_skmem(struct mem_cgroup *memcg, unsigned int nr_pages) > { > + unsigned int batch = max(CHARGE_BATCH, nr_pages); > stru

Re: [PATCH v11 4/6] PCI: hisi: Add PCIe host support for HiSilicon SoC Hip05

2015-10-22 Thread Bjorn Helgaas
Hi Zhou, This looks pretty good to me; just a mask question and add a printk. On Fri, Oct 16, 2015 at 06:23:39PM +0800, Zhou Wang wrote: > This patch adds PCIe host support for HiSilicon SoC Hip05. > ... > +#define PCIE_SUBCTRL_SYS_STATE4_REG 0x6818 > +#define PCIE_LTSSM_LINK

Re: [PATCH 3/8] net: consolidate memcg socket buffer tracking and accounting

2015-10-22 Thread Vladimir Davydov
On Thu, Oct 22, 2015 at 12:21:31AM -0400, Johannes Weiner wrote: > The tcp memory controller has extensive provisions for future memory > accounting interfaces that won't materialize after all. Cut the code > base down to what's actually used, now and in the likely future. > > - There won't be any

Re: [PATCH 0/8] mm: memcontrol: account socket memory in unified hierarchy

2015-10-22 Thread Vladimir Davydov
Hi Johannes, On Thu, Oct 22, 2015 at 12:21:28AM -0400, Johannes Weiner wrote: ... > Patch #5 adds accounting and tracking of socket memory to the unified > hierarchy memory controller, as described above. It uses the existing > per-cpu charge caches and triggers high limit reclaim asynchroneously.

Re: [PATCH V2 0/3] Minor cleanup for locks API

2015-10-22 Thread Jeff Layton
On Thu, 22 Oct 2015 13:38:12 -0400 Benjamin Coddington wrote: > NFS has recently been moving things around to cope with the situation where > a struct file may not be available during an unlock. That work has > presented an opportunity to do a minor cleanup on the locks API. > > Users of posix_

Re: [PATCH 01/11] dt-bindings: pinctrl: Optional DT property to support pin mappings

2015-10-22 Thread Rob Herring
On Mon, Oct 19, 2015 at 12:43 AM, Pramod Kumar wrote: > If GPIO controller's pins are muxed, pin-controller subsystem > need to be intimated by defining mapping between gpio and > pinmux controller. This patch adds required properties to > define this mapping via DT. > > Signed-off-by: Pramod Kuma

Re: [PATCH 05/11] dt-binding: Add ngpios property to GPIO controller node

2015-10-22 Thread Rob Herring
On Mon, Oct 19, 2015 at 12:43 AM, Pramod Kumar wrote: > Add ngpios property to the gpio controller's DT node so that controller > driver extracts total number of gpio lines present in controller > from DT and removes dependency on driver. > > Signed-off-by: Pramod Kumar > Reviewed-by: Ray Jui >

Re: [PATCH] mm,vmscan: Use accurate values for zone_reclaimable() checks

2015-10-22 Thread Tejun Heo
On Thu, Oct 22, 2015 at 05:49:22PM +0200, Michal Hocko wrote: > I am confused. What makes rescuer to not run? Nothing seems to be > hogging CPUs, we are just out of workers which are loopin in the > allocator but that is preemptible context. It's concurrency management. Workqueue thinks that the

Re: [PATCH 10/11] Documentation: Rename gpio controller name from cygnus to iproc

2015-10-22 Thread Rob Herring
On Mon, Oct 19, 2015 at 12:43 AM, Pramod Kumar wrote: > Renamed gpio controller's driver name from cygnus to iproc to make it > more generic so that all iProc based SoCs having the same gpio controller > could use this. > > Signed-off-by: Pramod Kumar > Reviewed-by: Ray Jui > Reviewed-by: Scott

Re: [PATCH 04/11] dt-binding: Add new compatible string for gpio controller driver

2015-10-22 Thread Rob Herring
On Mon, Oct 19, 2015 at 12:43 AM, Pramod Kumar wrote: > This new compatible string, "brcm,iproc-gpio", should be used for > all new iproc-based future SoCs. Can't predict the future and crazy whims of hardware designers. This is fine for matching, but you should also have a SOC specific string.

You Have been awarded $5 million.Contact us now

2015-10-22 Thread CLAIMS
Hello, Message from Saudi Arabia Prince Alwaleed bin Talal for his charity donation and You have been selected as recipient/benefactor for $5Million Dollars from Alwaleed Philanthropic Foundation Grant.for more information contact Via email ppichar...@outlook.com Thanks Ally Mohammed --

Re: [PATCHv2 3/3] fpga manager: Adding FPGA Manager support for Xilinx Zynq 7000

2015-10-22 Thread Moritz Fischer
Hi Alan, On Thu, Oct 22, 2015 at 10:56 AM, atull wrote: > On Fri, 16 Oct 2015, Moritz Fischer wrote: > > Hi Moritz, > > I just noticed a problem regarding private data. Fortunately > it is easy to fix. See below... > >> +static int zynq_fpga_probe(struct platform_device *pdev) >> +{ >> + st

Re: [RFC/PATCH RESEND 3/3] perf tools: Defaults to 'caller' callchain order only if --children is enabled

2015-10-22 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 22, 2015 at 04:45:46PM +0900, Namhyung Kim escreveu: > The caller callchain order is useful with --children option since it can > show 'overview' style output, but other commands which don't use > --children feature like 'perf script' or even 'perf report/top' without > --children are

Re: [PATCH 1/3] perf tools: Move callchain help messages to callchain.h

2015-10-22 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 22, 2015 at 03:28:48PM +0900, Namhyung Kim escreveu: > These messages will be used by 'perf top' in the next patch. Applied -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vg

Re: [PATCH 2/3] perf top: Support call-graph display options also

2015-10-22 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 22, 2015 at 03:28:49PM +0900, Namhyung Kim escreveu: > Currently 'perf top --call-graph' option is same as 'perf record'. But > 'perf top' also need to receive display options in 'perf report'. To do > that, change parse_callchain_report_opt() to allow record options too. > > Now per

Re: [PATCH 2/2] perf tools: Improve call graph documents and help messages

2015-10-22 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 22, 2015 at 11:28:32PM +0900, Namhyung Kim escreveu: > The --call-graph option is complex so we should provide better guide for > users. Also change help message to be consistent with config option > names. Now perf top will show help like below: > > $ perf top --call-graph > E

Re: [PATCH V2 0/3] Minor cleanup for locks API

2015-10-22 Thread J. Bruce Fields
On Thu, Oct 22, 2015 at 01:38:12PM -0400, Benjamin Coddington wrote: > NFS has recently been moving things around to cope with the situation where > a struct file may not be available during an unlock. That work has > presented an opportunity to do a minor cleanup on the locks API. > > Users of p

Re: [PATCH v3 14/15] net: wireless: ath: Remove unneeded variable ret returning 0

2015-10-22 Thread Sergei Shtylyov
Hello. On 10/22/2015 09:26 PM, Punit Vara wrote: This patch is to the ath5k/eeprom.c that fixes up warning caught by coccicheck: -Unneeded variable: "ret". Return "0" on line 1733 Remove unneccesary variable ret created to return zero. Also removed empty line suggested by Sergei Signed-off-

[PATCH] drm: Add helper macro for drm_i2c_encoder_driver boilerplate

2015-10-22 Thread Andrew F. Davis
This patch introduces the module_drm_i2c_encoder_driver macro which is a convenience macro for I2C encoder driver modules similar to others such as module_platform_driver. To help with this we also add the drm_i2c_encoder_register macro that gets THIS_MODULE without include chaining or adding it t

Re: [PATCH 00/28] tracing: 'hist' triggers

2015-10-22 Thread Tom Zanussi
Hi Steve, On Thu, 2015-10-22 at 14:21 -0400, Steven Rostedt wrote: > On Thu, 22 Oct 2015 13:14:04 -0500 > Tom Zanussi wrote: > > > This is v11 of the 'hist triggers' patchset, which is the same as v10 > > but adds the 2 new ftrace/hist triggers kselftest patches from Masami. > > > > Changes fro

Re: [PATCH v11 3/6] PCI: designware: Add ARM64 support

2015-10-22 Thread Bjorn Helgaas
Hi Zhou, On Fri, Oct 16, 2015 at 06:23:38PM +0800, Zhou Wang wrote: > This patch tries to unify ARM32 and ARM64 PCIe in designware driver. Delete > function dw_pcie_setup, dw_pcie_scan_bus, dw_pcie_map_irq and struct hw_pci, > move related operations to dw_pcie_host_init. > > This patch also try

[PATCH v11 04/28] tracing: Add event record param to trigger_ops.func()

2015-10-22 Thread Tom Zanussi
Some triggers may need access to the trace event, so pass it in. Also fix up the existing trigger funcs and their callers. Signed-off-by: Tom Zanussi Tested-by: Masami Hiramatsu --- include/linux/trace_events.h| 7 --- kernel/trace/trace.h| 6 -- kernel/trace/

Re: [PATCH] tools lib traceevent: Support %ps/%pS

2015-10-22 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 22, 2015 at 01:07:29PM -0400, Steven Rostedt escreveu: > > This fell through the abyss of my INBOX. > > Arnaldo, can you take this. Sure > Acked-by: Steven Rostedt > > -- Steve > > > On Mon, 31 Aug 2015 16:16:37 -0500 > Scott Wood wrote: > > > Commits such as 65dd297ac25565 (

[PATCH v11 27/28] kselftests/ftrace : Add event trigger testcases

2015-10-22 Thread Tom Zanussi
From: Masami Hiramatsu This adds simple event trigger testcases for ftracetest, which covers following triggers. - traceon-traceoff trigger - enable/disable_event trigger - snapshot trigger - stacktrace trigger - trigger filters Here is the test result. # ./ftracetest test.d/trigg

[PATCH v11 18/28] tracing: Add hist trigger 'syscall' modifier

2015-10-22 Thread Tom Zanussi
Allow users to have syscall id fields displayed as syscall names in the output by appending '.syscall' to field names: # echo hist:keys=aaa.syscall ... \ [ if filter] > event/trigger Signed-off-by: Tom Zanussi Tested-by: Masami Hiramatsu --- kernel/trace/trace.c |

[PATCH v11 08/28] tracing: Add lock-free tracing_map

2015-10-22 Thread Tom Zanussi
Add tracing_map, a special-purpose lock-free map for tracing. tracing_map is designed to aggregate or 'sum' one or more values associated with a specific object of type tracing_map_elt, which is associated by the map to a given key. It provides various hooks allowing per-tracer customization and

[PATCH v11 03/28] tracing: Make event trigger functions available

2015-10-22 Thread Tom Zanussi
Make various event trigger utility functions available outside of trace_events_trigger.c so that new triggers can be defined outside of that file. Signed-off-by: Tom Zanussi Tested-by: Masami Hiramatsu --- kernel/trace/trace.h| 14 ++ kernel/trace/trace_events_trigge

[PATCH v3 14/15] net: wireless: ath: Remove unneeded variable ret returning 0

2015-10-22 Thread Punit Vara
This patch is to the ath5k/eeprom.c that fixes up warning caught by coccicheck: -Unneeded variable: "ret". Return "0" on line 1733 Remove unneccesary variable ret created to return zero. Also removed empty line suggested by Sergei Signed-off-by: Punit Vara --- drivers/net/wireless/ath/ath5k/

[PATCH v11 06/28] tracing: Add a per-event-trigger 'paused' field

2015-10-22 Thread Tom Zanussi
Add a simple per-trigger 'paused' flag, allowing individual triggers to pause. We could leave it to individual triggers that need this functionality to do it themselves, but we also want to allow other events to control pausing, so add it to the trigger data. Signed-off-by: Tom Zanussi Tested-by

[PATCH v11 25/28] tracing: Add support for named triggers

2015-10-22 Thread Tom Zanussi
Named triggers are sets of triggers that share a common set of trigger data. An example of functionality that could benefit from this type of capability would be a set of inlined probes that would each contribute event counts, for example, to a shared counter data structure. The first named trigg

[PATCH v11 10/28] tracing: Add hist trigger support for multiple values ('vals=' param)

2015-10-22 Thread Tom Zanussi
Allow users to specify trace event fields to use in aggregated sums via a new 'vals=' keyword. Before this addition, the only aggregated sum supported was the implied value 'hitcount'. With this addition, 'hitcount' is also supported as an explicit value field, as is any numeric trace event field

Re: [PATCH 15/15] net: wireless: ath: Remove unneeded variable ret returning 0

2015-10-22 Thread punit vara
On Thu, Oct 22, 2015 at 3:16 AM, Sergei Shtylyov wrote: > On 10/21/2015 05:55 PM, Punit Vara wrote: > >> This patch is to the ath5k/eeprom.c that fixes up warning caught by >> coccicheck: >> >> Unneeded variable: "ret". Return "0" on line 980 >> >> Remove unneeded variable ret created to return ze

Re: [PATCH 01/15] net: wireless: ath: use | instead of + for summing bitmasks

2015-10-22 Thread punit vara
On Thu, Oct 22, 2015 at 3:13 AM, Sergei Shtylyov wrote: > Hello. > > On 10/21/2015 05:55 PM, Punit Vara wrote: > >> This patch is to the ath10k/pci.h file that fixes following warning > > >pci.c, you mean? > > >> reported by coccicheck: >> >> WARNING: sum of probable bitmasks, consider | >>

[PATCH v11 01/28] tracing: Update cond flag when enabling or disabling a trigger

2015-10-22 Thread Tom Zanussi
When a trigger is enabled, the cond flag should be set beforehand, otherwise a trigger that's expecting to process a trace record (e.g. one with post_trigger set) could be invoked without one. Likewise a trigger's cond flag should be reset after it's disabled, not before. Signed-off-by: Tom Zanus

Re: [PATCH v4] iio: mma8452: support either of the available interrupt pins

2015-10-22 Thread Rob Herring
On Thu, Oct 15, 2015 at 8:10 AM, Martin Kepplinger wrote: > This change is important in order for everyone to be easily able to use the > driver for one of the supported accelerometer chips! > > Until now, the driver blindly assumed that the INT1 interrupt line is wired > on a user's board. But th

[PATCH 2/4] ARM: dts: qcom: apq8064: Declare all pm8921 regulators

2015-10-22 Thread Bjorn Andersson
Consolidate all labeling of regulators into the core 8064 dtsi file to make them available from all other dts files. Signed-off-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 16 +- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 20 ++--- arch/arm/boot/dts/q

[PATCH 0/4] Sony Xperia Z dts

2015-10-22 Thread Bjorn Andersson
This series starts by adding hwspinlock, smem, gsbi5 and cleans up the 8064 regulator definitions. Based on this it adds the necessary nodes for booting the Sony Xperia Z (APQ8064 based) to userspace, with UART, eMMC, uSD, USB gadget and hw buttons. Bjorn Andersson (4): ARM: dts: qcom: apq8064:

Re: [PATCH 00/28] tracing: 'hist' triggers

2015-10-22 Thread Steven Rostedt
On Thu, 22 Oct 2015 13:14:04 -0500 Tom Zanussi wrote: > This is v11 of the 'hist triggers' patchset, which is the same as v10 > but adds the 2 new ftrace/hist triggers kselftest patches from Masami. > > Changes from v10: > > - Rebased to latest trace/for-next. > - Added Masami's ftrace/hist

[PATCH v11 15/28] tracing: Add hist trigger 'hex' modifier for displaying numeric fields

2015-10-22 Thread Tom Zanussi
Allow users to have numeric fields displayed as hex values in the output by appending '.hex' to field names: # echo hist:keys=aaa,bbb.hex:vals=ccc.hex ... \ [ if filter] > event/trigger Signed-off-by: Tom Zanussi Tested-by: Masami Hiramatsu --- kernel/trace/trace.c

[PATCH v11 05/28] tracing: Add get_syscall_name()

2015-10-22 Thread Tom Zanussi
Add a utility function to grab the syscall name from the syscall metadata, given a syscall id. Signed-off-by: Tom Zanussi Tested-by: Masami Hiramatsu --- kernel/trace/trace.h | 5 + kernel/trace/trace_syscalls.c | 11 +++ 2 files changed, 16 insertions(+) diff --git a/ker

[PATCH v11 13/28] tracing: Add hist trigger support for pausing and continuing a trace

2015-10-22 Thread Tom Zanussi
Allow users to append 'pause' or 'continue' to an existing trigger in order to have it paused or to have a paused trace continue. This expands the hist trigger syntax from this: # echo hist:keys=xxx:vals=yyy:sort=zzz.descending \ [ if filter] > event/trigger to this: # echo his

[PATCH v11 28/28] kselftests/ftrace: Add hist trigger testcases

2015-10-22 Thread Tom Zanussi
From: Masami Hiramatsu Add the hist trigger testcases for ftracetest. This checks the basic histogram trigger behaviors like as; - Histogram trigger itself - Histogram with string key - Histogram with compound keys - Histogram with sort key - Histogram trigger modifiers (execname, hex, sysca

[PATCH v11 11/28] tracing: Add hist trigger support for compound keys

2015-10-22 Thread Tom Zanussi
Allow users to specify multiple trace event fields to use in keys by allowing multiple fields in the 'keys=' keyword. With this addition, any unique combination of any of the fields named in the 'keys' keyword will result in a new entry being added to the hash table. Signed-off-by: Tom Zanussi T

Re: [PATCH 3/8] crypto: ccp: Use precalculated hash from headers

2015-10-22 Thread Tom Lendacky
On 10/20/2015 02:33 AM, LABBE Corentin wrote: Precalculated hash for empty message are now present in hash headers. This patch just use them. Signed-off-by: LABBE Corentin Tested-by: Tom Lendacky Acked-by: Tom Lendacky --- drivers/crypto/ccp/ccp-ops.c | 39 --

[PATCH v11 21/28] tracing: Remove restriction on string position in hist trigger keys

2015-10-22 Thread Tom Zanussi
If we assume the maximum size for a string field, we don't have to worry about its position. Since we only allow two keys in a compound key and having more than one string key in a given compound key doesn't make much sense anyway, trading a bit of extra space instead of introducing an arbitrary r

[PATCH v11 20/28] tracing: Support string type key properly

2015-10-22 Thread Tom Zanussi
From: Namhyung Kim The string in a trace event is usually recorded as dynamic array which is variable length. But current hist code only support fixed length array so it cannot support most strings. This patch fixes it by checking filter_type of the field and get proper pointer with it. With t

[PATCH v11 14/28] tracing: Add hist trigger support for clearing a trace

2015-10-22 Thread Tom Zanussi
Allow users to append 'clear' to an existing trigger in order to have the hash table cleared. This expands the hist trigger syntax from this: # echo hist:keys=xxx:vals=yyy:sort=zzz.descending:pause/cont \ [ if filter] > event/trigger to this: # echo hist:keys=xxx:vals=yyy:sort

[PATCH v11 23/28] tracing: Add 'hist' trigger Documentation

2015-10-22 Thread Tom Zanussi
Add documentation and usage examples for 'hist' triggers. Signed-off-by: Tom Zanussi Tested-by: Masami Hiramatsu --- Documentation/trace/events.txt | 1135 1 file changed, 1135 insertions(+) diff --git a/Documentation/trace/events.txt b/Documentation/tr

[PATCH v2 14/15] net: wireless: ath: Remove unneeded variable ret returning 0

2015-10-22 Thread Punit Vara
This patch is to the ath5k/eeprom.c that fixes up warning caught by coccicheck: -Unneeded variable: "ret". Return "0" on line 1733 Remove unneccesary variable ret created to return zero. Signed-off-by: Punit Vara --- drivers/net/wireless/ath/ath5k/eeprom.c | 5 ++--- 1 file changed, 2 insertio

[PATCH v11 16/28] tracing: Add hist trigger 'sym' and 'sym-offset' modifiers

2015-10-22 Thread Tom Zanussi
Allow users to have address fields displayed as symbols in the output by appending '.sym' or 'sym-offset' to field names: # echo hist:keys=aaa.sym,bbb.sym-offset ... \ [ if filter] > event/trigger Signed-off-by: Tom Zanussi Tested-by: Masami Hiramatsu --- kernel/trace/trace.c

[PATCH v11 17/28] tracing: Add hist trigger 'execname' modifier

2015-10-22 Thread Tom Zanussi
Allow users to have pid fields displayed as program names in the output by appending '.execname' to field names: # echo hist:keys=aaa.execname ... \ [ if filter] > event/trigger Signed-off-by: Tom Zanussi Tested-by: Masami Hiramatsu --- kernel/trace/trace.c | 3 +-

[PATCH v11 19/28] tracing: Add hist trigger support for stacktraces as keys

2015-10-22 Thread Tom Zanussi
It's often useful to be able to use a stacktrace as a hash key, for keeping a count of the number of times a particular call path resulted in a trace event, for instance. Add a special key named 'stacktrace' which can be used as key in a 'keys=' param for this purpose: # echo hist:keys=stackt

[PATCH v11 26/28] tracing: Add support for named hist triggers

2015-10-22 Thread Tom Zanussi
Allow users to define 'named' hist triggers. All triggers created with the same 'name=xxx' option will update the same shared histogram data. This expands the hist trigger syntax from this: # echo hist:keys=xxx ... [ if filter] > event/trigger to this: # echo hist:name=xxx:keys=xxx ...

[PATCH v11 24/28] tracing: Add support for multiple hist triggers per event

2015-10-22 Thread Tom Zanussi
Allow users to define any number of hist triggers per trace event. Any number of hist triggers may be added for a given event, which may differ by key, value, or filter. Reading the event's 'hist' file will display the output of all the hist triggers defined on an event concatenated in the order t

[PATCH v11 22/28] tracing: Add enable_hist/disable_hist triggers

2015-10-22 Thread Tom Zanussi
Similar to enable_event/disable_event triggers, these triggers enable and disable the aggregation of events into maps rather than enabling and disabling their writing into the trace buffer. They can be used to automatically start and stop hist triggers based on a matching filter condition. If the

[PATCH v11 07/28] tracing: Add needs_rec flag to event triggers

2015-10-22 Thread Tom Zanussi
Add a new needs_rec flag for triggers that require unconditional access to trace records in order to function. Normally a trigger requires access to the contents of a trace record only if it has a filter associated with it (since filters need the contents of a record in order to make a filtering d

[PATCH v11 12/28] tracing: Add hist trigger support for user-defined sorting ('sort=' param)

2015-10-22 Thread Tom Zanussi
Allow users to specify keys and/or values to sort on. With this addition, keys and values specified using the 'keys=' and 'vals=' keywords can be used to sort the hist trigger output via a new 'sort=' keyword. If multiple sort keys are specified, the output will be sorted using the second key as

[PATCH 00/28] tracing: 'hist' triggers

2015-10-22 Thread Tom Zanussi
This is v11 of the 'hist triggers' patchset, which is the same as v10 but adds the 2 new ftrace/hist triggers kselftest patches from Masami. Changes from v10: - Rebased to latest trace/for-next. - Added Masami's ftrace/hist triggers kselftest patches. - Added Masami's Tested-by: to the seri

[PATCH 4/4] ARM: dts: qcom: apq8064: Introduce Sony Xperia Z dts

2015-10-22 Thread Bjorn Andersson
This introduces initial support for the Sony Xperia Z smartphone, including support for UART, MMC, USB gadget and physical buttons. Signed-off-by: Bjorn Andersson --- arch/arm/boot/dts/Makefile | 1 + .../arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts | 436

[PATCH v11 02/28] tracing: Make ftrace_event_field checking functions available

2015-10-22 Thread Tom Zanussi
Make is_string_field() and is_function_field() accessible outside of trace_event_filters.c for other users of ftrace_event_fields. Signed-off-by: Tom Zanussi Reviewed-by: Masami Hiramatsu Tested-by: Masami Hiramatsu --- kernel/trace/trace.h | 12 kernel/trace/trace_e

[PATCH v11 09/28] tracing: Add 'hist' event trigger command

2015-10-22 Thread Tom Zanussi
'hist' triggers allow users to continually aggregate trace events, which can then be viewed afterwards by simply reading a 'hist' file containing the aggregation in a human-readable format. The basic idea is very simple and boils down to a mechanism whereby trace events, rather than being exhausti

[PATCH 1/4] ARM: dts: qcom: apq8064: Add hwmutex and SMEM nodes

2015-10-22 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-apq8064.dtsi | 29 + 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index a4c1762b53ea..1b64723bd8a0 100644 --- a/arch/arm/boot/dts/qcom

[PATCH 3/4] ARM: dts: qcom: apq8064: Introduce gsbi5 and gsbi5 serial node

2015-10-22 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-apq8064.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 1bc6c4039dea..fa3053c14532 100644 --- a/arch/arm/boot/dts/qcom-apq806

Re: [RFC][PATCH v2] mmc_block: Allow more than 8 partitions per card

2015-10-22 Thread Ben Hutchings
On Thu, 2015-10-22 at 19:07 +0100, Ben Hutchings wrote: > On Thu, 2015-10-22 at 10:00 -0700, John Stultz wrote: > > From: Colin Cross > > > > It is quite common for Android devices to utilize more > > then 8 partitions on internal eMMC storage. > > > > The vanilla kernel can support this via > >

Re: [PATCH] f2fs: support file defragment

2015-10-22 Thread Jaegeuk Kim
Hi, On Thu, Oct 22, 2015 at 07:59:14PM +0800, Chao Yu wrote: > This patch introduces a new ioctl F2FS_IOC_DEFRAGMENT to support file > defragment in a specified range of regular file. > > This ioctl can be used in very limited workload: if user expects high > sequential read performance in random

Re: [PATCH 00/26] tracing: 'hist' triggers

2015-10-22 Thread Tom Zanussi
Hi Masami, On Thu, 2015-10-22 at 20:17 +0900, Masami Hiramatsu wrote: > Hi Tom, > > I've tested your series of the hist trigger v10 with > these testcases included in the couple of patches, which > tests following features. > > - traceon-traceoff trigger > - enable/disable_event trigge

[RFC PATCH 2/3] restartable sequences: x86 ABI

2015-10-22 Thread Dave Watson
Implements the x86 (i386 & x86-64) ABIs for interrupting and restarting execution within restartable sequence sections. Ptrace is modified to single step over the entire critical region. --- arch/x86/entry/common.c | 3 ++ arch/x86/entry/syscalls/syscall_64.tbl | 1 +

Re: [PATCH v2 1/2] devicetree: add binding for Aurora VLSI NB8800 Ethernet controller

2015-10-22 Thread Rob Herring
On Thu, Oct 22, 2015 at 11:28 AM, Mans Rullgard wrote: > This adds a binding for the Aurora VLSI NB8800 Ethernet controller > using the "aurora,nb8800" compatible string. When used in Sigma > Designs chips a few additional control registers are available. > This variant is indicated by the "sigma

[RFC PATCH 3/3] restartable sequences: basic user-space self-tests

2015-10-22 Thread Dave Watson
Implements basic tests of RSEQ functionality. "basic_percpu_ops_test" implements a few simple per-cpu operations and testing their correctness. --- tools/testing/selftests/rseq/Makefile | 14 + .../testing/selftests/rseq/basic_percpu_ops_test.c | 331

Re: [RFC][PATCH v2] mmc_block: Allow more than 8 partitions per card

2015-10-22 Thread Ben Hutchings
On Thu, 2015-10-22 at 10:00 -0700, John Stultz wrote: > From: Colin Cross > > It is quite common for Android devices to utilize more > then 8 partitions on internal eMMC storage. > > The vanilla kernel can support this via > CONFIG_MMC_BLOCK_MINORS, however that solution caps the > system to 256

[RFC PATCH 0/3] restartable sequences benchmarks

2015-10-22 Thread Dave Watson
We've been testing out restartable sequences + malloc changes for use at Facebook. Below are some test results, as well as some possible changes based on Paul Turner's original patches https://lkml.org/lkml/2015/6/24/665 I ran one service with several permutations of various mallocs. The servic

[RFC PATCH 1/3] restartable sequences: user-space per-cpu critical sections

2015-10-22 Thread Dave Watson
Introduce the notion of 'restartable sequence'. This is a user-defined range within which we guarantee user-execution will occur serially with respect to scheduling events such as migration or competition with other threads. Preemption, or other interruption within this region, results in control

[GIT PULL for v4.3] media fixes

2015-10-22 Thread Mauro Carvalho Chehab
Hi Linus Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media media/v4.3-4 For some regression fixes and potential security issues: - netup_unidvb: fix potential crash when spi is NULL - rtl28xxu: fix control message flaws - m88ds3103: fix

Re: [PATCHv2 3/3] fpga manager: Adding FPGA Manager support for Xilinx Zynq 7000

2015-10-22 Thread atull
On Fri, 16 Oct 2015, Moritz Fischer wrote: Hi Moritz, I just noticed a problem regarding private data. Fortunately it is easy to fix. See below... > +static int zynq_fpga_probe(struct platform_device *pdev) > +{ > + struct device *dev = &pdev->dev; > + struct zynq_fpga_priv *priv; > +

[PATCH 2/2] fpga manager: remove unnecessary null pointer checks

2015-10-22 Thread atull
From: Alan Tull Remove unnecessary null pointer checks. We want the caller of these functions to do their own pointer checks. Add some comments to document this. Signed-off-by: Alan Tull --- drivers/fpga/fpga-mgr.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --

[PATCH 0/2] fpga manager fixes

2015-10-22 Thread atull
From: Alan Tull Two patches to fix some issues that were brought up in the review of "add FPGA manager core". Alan Alan Tull (2): fpga manager: ensure lifetime with of_fpga_mgr_get fpga manager: remove unnecessary null pointer checks drivers/fpga/fpga-mgr.c | 44 +---

Re: [PATCH] mmc: pwrseq: Use highest priority for eMMC restart handler

2015-10-22 Thread Javier Martinez Canillas
Hello Doug, On 10/22/2015 07:33 PM, Doug Anderson wrote: > On Thu, Oct 22, 2015 at 9:07 AM, Javier Martinez Canillas [snip] >> >> Do you know why the priority 200 was chosen for veyron gpi-restart ooi? > > In David Riley's original patch the example had 200: > https://patchwork.kernel.org/p

Re: [PATCH 2/2] fpga manager: remove unnecessary null pointer checks

2015-10-22 Thread Moritz Fischer
On Thu, Oct 22, 2015 at 10:38 AM, wrote: > From: Alan Tull > > Remove unnecessary null pointer checks. We want the caller of > these functions to do their own pointer checks. Add some > comments to document this. > > Signed-off-by: Alan Tull Looks good! Reviewed-by: Moritz Fischer -- To un

Re: [PATCH v3 0/2] Common SerDes driver for TI's Keystone Platforms

2015-10-22 Thread Russell King - ARM Linux
On Thu, Oct 22, 2015 at 11:05:26AM -0400, Murali Karicheri wrote: > On 10/21/2015 08:56 AM, WingMan Kwok wrote: > >On TI's Keystone platforms, several peripherals such as the > >gbe ethernet switch, 10gbe ethernet switch and PCIe controller > >require the use of a SerDes for converting SoC parallel

[PATCH 1/2] fpga manager: ensure lifetime with of_fpga_mgr_get

2015-10-22 Thread atull
From: Alan Tull Ensure device and driver lifetime from of_fpga_mgr_get() to fpga_mgr_put(). * Don't put_device() in of_fpga_mgr_get, do it in fpga_mgr_put(). (still do put_device if there is an error). * Do module_get on the low level driver. * Don't need to module_get(THIS_MODULE) since we wo

Re: [PATCH] mutex: make mutex_lock_nested an inline function

2015-10-22 Thread Russell King - ARM Linux
On Thu, Oct 22, 2015 at 05:09:59PM +0200, Peter Zijlstra wrote: > Hmm, I was sure I send a reply, but I cannot even find it in my own sent > folder so who knows. > > My current preference is to keep the thing a macro and work around it in > the usage site because while these warns are annoying, th

Re: [GIT PULL] Raspberry Pi KMS driver

2015-10-22 Thread Rob Herring
On Wed, Oct 21, 2015 at 4:53 AM, Eric Anholt wrote: > Dave suggested it was time to just send a pull request on the driver, so > here goes: Why is that when the binding is still under discussion[1]? Even the agreed changes never got reposted. Rob [1] https://lkml.org/lkml/2015/10/9/676 > > The

[PATCH V2 2/3] Move locks API users to locks_lock_inode_wait()

2015-10-22 Thread Benjamin Coddington
Instead of having users check for FL_POSIX or FL_FLOCK to call the correct locks API function, use the check within locks_lock_inode_wait(). This allows for some later cleanup. Signed-off-by: Benjamin Coddington --- drivers/staging/lustre/lustre/llite/file.c |8 ++-- fs/9p/vfs_file.c

[PATCH V2 1/3] locks: introduce locks_lock_inode_wait()

2015-10-22 Thread Benjamin Coddington
Users of the locks API commonly call either posix_lock_file_wait() or flock_lock_file_wait() depending upon the lock type. Add a new function locks_lock_inode_wait() which will check and call the correct function for the type of lock passed in. Signed-off-by: Benjamin Coddington --- fs/locks.c

[PATCH V2 0/3] Minor cleanup for locks API

2015-10-22 Thread Benjamin Coddington
NFS has recently been moving things around to cope with the situation where a struct file may not be available during an unlock. That work has presented an opportunity to do a minor cleanup on the locks API. Users of posix_lock_file_wait() (for FL_POSIX style locks) and flock_lock_file_wait() (fo

[PATCH V2 3/3] locks: cleanup posix_lock_inode_wait and flock_lock_inode_wait

2015-10-22 Thread Benjamin Coddington
All callers use locks_lock_inode_wait() instead. Signed-off-by: Benjamin Coddington --- fs/locks.c |9 +++-- include/linux/fs.h | 24 2 files changed, 3 insertions(+), 30 deletions(-) diff --git a/fs/locks.c b/fs/locks.c index 94d50d3..4181f83 100644 -

[PATCH v3] USB: serial: add Moxa UPORT 11x0 driver

2015-10-22 Thread Mathieu OTHACEHE
Add a driver which supports : - UPort 1110 : 1 port RS-232 USB to Serial Hub. - UPort 1130 : 1 port RS-422/485 USB to Serial Hub. - UPort 1130I : 1 port RS-422/485 USB to Serial Hub with Isolation. - UPort 1150 : 1 port RS-232/422/485 USB to Serial Hub. - UPort 1150I : 1 port RS-232/422/485 USB

Re: [PATCH] scsi_sysfs: protect against double execution of __scsi_remove_device()

2015-10-22 Thread Bart Van Assche
On 10/22/2015 10:12 AM, Vitaly Kuznetsov wrote: On some host errors storvsc module tries to remove sdev by scheduling a job which does the following: sdev = scsi_device_lookup(wrk->host, 0, 0, wrk->lun); if (sdev) { scsi_remove_device(sdev); scsi_device_put(sdev); }

Re: [PATCH] mmc: pwrseq: Use highest priority for eMMC restart handler

2015-10-22 Thread Doug Anderson
Hi, On Thu, Oct 22, 2015 at 9:07 AM, Javier Martinez Canillas wrote: >> Note that personally I would only choose the "highest" priority as an >> absolute last resort. Leaving a little extra slack in there means >> that when the next person comes up with a really good reason to run >> before you

Re: [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-10-22 Thread Jean-Francois Moine
On Wed, 21 Oct 2015 18:20:27 +0200 Jens Kuske wrote: > The Allwinner H3 is a home entertainment system oriented SoC with > four Cortex-A7 cores and a Mali-400MP2 GPU. > > Signed-off-by: Jens Kuske > --- > arch/arm/boot/dts/sun8i-h3.dtsi | 499 > > 1 fi

[PATCH] block: genhd: Add disk/partition specific uevent callbacks for partition info

2015-10-22 Thread John Stultz
From: San Mehat This patch has been carried in the Android tree for quite some time and is one of the few patches required to get a mainline kernel up and running with an exsiting Android userspace. So I wanted to submit it for review and consideration if it should be merged. For disk devices, a

Re: [PATCH/RESEND] ARM: Remove __ref on hotplug cpu die path

2015-10-22 Thread Olof Johansson
On Mon, Oct 19, 2015 at 01:05:33PM -0700, Stephen Boyd wrote: > Now that __cpuinit has been removed, the __ref markings on these > functions are useless. Remove them. This also reduces the size of > the multi_v7_defconfig image: > > $ size before after >textdata bss dec hex fil

Re: [RFC][PATCH 1/2] WIP: Devicetree bindings for Ion

2015-10-22 Thread Laura Abbott
On 10/22/15 3:36 AM, and...@ncrmnt.org wrote: 20 октября 2015 г., 19:34, "Mitchel Humpherys" написал: On Tue, Oct 13 2015 at 11:14:23 AM, Andrew wrote: On 2015-10-12 21:39, Mitchel Humpherys wrote: On Tue, Oct 06 2015 at 05:35:41 PM, Rob Herring wrote: On Tue, Oct 6, 2015 at 3:47 PM, Lau

<    1   2   3   4   5   6   7   8   9   >