Make modifications to comment style
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_driver.h | 170 -
1 file changed, 73 insertions(+), 97 deletions(-)
diff --git a/drivers/staging/dgnc/d
Make Linux kernel coding style modifications for dgnc_driver.h to include:
Spelling correction
Comment style modifications
Align columns
Walt Feasel (3):
staging: dgnc: dgnc_driver.h Comment style modifications
staging: dgnc: dgnc_driver.h Align columns
staging: dgnc: dgnc_driver.h Spelling
Make modifications to align columns
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_driver.h | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.h
b/dr
at91ether_start_xmit() does not check for dma mapping errors.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov
---
drivers/net/ethernet/cadence/macb.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/ethernet/cadence/macb.c
b
readlines() conses whole list before doing anything which is slower
for big object files. Use per line iterator.
Speed up is ~2% on "allyesconfig" type of kernel.
$ perf stat -r 16 taskset -c 15 ./scripts/bloat-o-meter ../vmlinux-000
../obj/vmlinux >/dev/null
...
Before:
Every often used regex is better be compiled in Python.
Speedup is about ~9.8% (whee!)
$ perf stat -r 16 taskset -c 15 ./scripts/bloat-o-meter ../vmlinux-000
../obj/vmlinux >/dev/null
7.091202853 seconds time elapsed
( +- 0.15% )
On 11/15/2016 10:28 AM, Axel Haslam wrote:
Card detect and write protect are currently not working on a DT
boot, and the driver relies on polling to get the state
of the card. The current code depends on platform data callbacks
to register and get the state of the gpios.
mmc core provides a gene
On 11/15/2016 10:28 AM, Axel Haslam wrote:
Request card detect and write protect gpios using the provided API
by mmc core.
If a gpio is provided for card detect, we don't need to poll.
So only use polling when a gpio is not provided.
Once all pdata users register the gpios using gpio descriptor
On 11/18/2016 05:27 PM, Hugh Dickins wrote:
> On Fri, 18 Nov 2016, Boris Ostrovsky wrote:
>> On 11/18/2016 04:51 PM, Hugh Dickins wrote:
>>> Hmm, sorry, but this seems overcomplicated to me: ingenious, but an
>>> unusual use of the ->get_policy method, which is a little worrying,
>>> since it has o
Make modifications for comment style
Signed-off-by: Walt Feasel
---
drivers/staging/dgnc/dgnc_mgmt.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_mgmt.c b/drivers/staging/dgnc/dgnc_mgmt.c
index 683c098..9d9b15d 100644
--- a/drivers/staging/d
Since commit 0d35773979b9 ("spi: spi-topcliff-pch: Remove deprecated
create_singlethread_workqueue"), 'retval' is no more used in this function.
So some now dead code can be removed.
Also axe a debug message which looks useless now.
Signed-off-by: Christophe JAILLET
---
drivers/spi/spi-topcliff
Dave Chinner wrote:
> And when we start thinking in those timeframes, an
> increase in timestamp resoultion of at least another 10e-3 is
> likely
Is it, though? To be useful, surely you have to be able to jam quite a few
instructions into a 1ns block, including memory accesses.
Rather than
From: "Steven Rostedt (Red Hat)"
Instead of using 100, define a USECS_PER_SEC macro and use that instead.
Link: http://lkml.kernel.org/r/20160209204237.006667...@goodmis.org
Signed-off-by: Steven Rostedt
---
tools/lib/traceevent/event-parse.c | 4 ++--
tools/lib/traceevent/event-parse.h |
I noticed that I have these in my trace-cmd repo. I would like to sync
this up to the kernel tools directory.
Steven Rostedt (Red Hat) (2):
tools lib traceevent: Add retrieval of preempt count and latency flags
tools lib traceevent: Use USECS_PER_SEC instead of hardcoded number
From: "Steven Rostedt (Red Hat)"
Add a way to retrieve the preempt count as well as the latency flags from a
pevent_record.
int pevent_data_pc(pevent, record);
returns the preempt count of a record.
int pevent_data_flags(pevent, record);
returns the latency flags for a record.
Signed-off-b
On Thu, Nov 17, 2016 at 6:59 PM, Bjorn Helgaas wrote:
> Add a writeup about how PCI host bridges should be described in ACPI
> using PNP0A03/PNP0A08 devices, PNP0C02 devices, and the MCFG table.
>
> Signed-off-by: Bjorn Helgaas
Looks great overall, but I have a few comments (below).
> ---
> Do
Make modifications for comment style
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_neo.c | 111 +++-
1 file changed, 54 insertions(+), 57 deletions(-)
diff --git a/drivers/staging/dgnc/
On Fri, Nov 18, 2016 at 12:33:00PM -0800, Lance Roy wrote:
> On Fri, 18 Nov 2016 06:08:45 -0800
> "Paul E. McKenney" wrote:
> > However, let's first take a look at the overflow issue.
> >
> > If a given program could have ULONG_MAX or more readers at any given
> > time, there would of course be o
From: Fenghua Yu
When removing a sub directory/rdtgroup by rmdir or umount, closid in a
task in the sub directory is set to default rdtgroup's closid which is 0.
If the task is running on a CPU, the PQR_ASSOC MSR is only updated
when the task runs through a context switch. Up to the context switc
From: Fenghua Yu
There was a cut & paste error when adding code to update the per-cpu
closid when changing the bitmask of CPUs to an rdt group. CPUs removed
from the group were correctly given back to the default group. But
CPUs added to the group should be given the closid of their new group,
no
This patch series is to publish a number of enhancements
we have been carrying for a while.
A number of bug fixes and feature enhancements have been
included.
We also need to prepare the way for the introduction of
the VIP (Video Input Port) driver (coming soon) which
has internal IP module in co
The VPDMA (Video Port DMA) as found in devices such as DRA7xx is
used for both the Video Processing Engine (VPE) and the Video Input
Port (VIP).
In preparation for this we need to turn vpdma into its own
kernel module.
Signed-off-by: Benoit Parrot
---
drivers/media/platform/Kconfig | 6
From: Nikhil Devshatwar
The video source can generate the data in the SEQ_TB buffer format.
In the case of TI SoC, the IVA_HD can generate the interlaced content in
the SEQ_TB buffer format. This is the format where the top and bottom field
data can be contained in a single buffer. For example, f
Make spelling correction for 'control'
Signed-off-by: Walt Feasel
---
drivers/staging/dgnc/dgnc_neo.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_neo.h b/drivers/staging/dgnc/dgnc_neo.h
index 1aa9325..77ecd9b 100644
--- a/drivers/staging/dgnc/dgn
The VPE was restricting the number of plane per buffer based on
the fact that if a particular format had color separation it was
meant to need 2 planes.
However NV12/NV16 are color separate format which are meant to be
presented in a single contiguous buffer/plane.
It could also be presented in a
When stop_streaming is called we need to cleanup the queued
vb2 buffers properly.
This was not previously being done which caused kernel
warning when the application using the resources was killed.
Kernel warnings were also generated on successful completion
of a de-interlacing case as well as upon
Add RAW8 and RAW16 data type to VPDMA.
To handle RAW format we are re-using the YUV CBY422
vpdma data type so that we use the vpdma to re-order
the incoming bytes, as the VIP parser assumes that the
first byte presented on the bus is the MSB of a 2
bytes value.
RAW8 handles from 1 to 8 bits.
RAW16
Since there might be more then one instance it is better to
show the base address when dumping registers to help
with debugging.
Signed-off-by: Benoit Parrot
Acked-by: Hans Verkuil
---
drivers/media/platform/ti-vpe/csc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/media/platfo
Allow VPE to be able to export DMA buffer.
Signed-off-by: Benoit Parrot
Acked-by: Hans Verkuil
---
drivers/media/platform/ti-vpe/vpe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/platform/ti-vpe/vpe.c
index 608d11344147..1d780ac7ff82
From: Nikhil Devshatwar
Whenever VPDMA processes a data descriptor of a list, it processes it
and sets up the channel for the DMA transaction. List manager holds the
descriptor in the list until the DMA is complete. If sync_on_channel
descriptor, or another descriptor for the same channel is pres
From: Nikhil Devshatwar
Current scaler library implementation of sc_set_hs_coeffs and
sc_set_vs_coeffs tries to return immediately if the calculated
coefficient index is already being used.
As the same scaler block is going to be used for all the VPE contexts,
even if the calculated index is sam
Make modifications for comment style
Signed-off-by: Walt Feasel
---
drivers/staging/dgnc/dgnc_neo.h | 24 +++-
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_neo.h b/drivers/staging/dgnc/dgnc_neo.h
index 97f0386..1aa9325 100644
--- a
In preparation to add scaler support into VIP we need to
turn sc.c into its own kernel module.
Add support for multiple SC memory block as VIP contains
2 scaler instances.
This is done by passing the resource name to sc_create() and
modify the vpe invocation accordingly.
Signed-off-by: Benoit Par
In preparation to add colorspace conversion support to VIP,
we need to turn csc.c into its own kernel module.
Signed-off-by: Benoit Parrot
Acked-by: Hans Verkuil
---
drivers/media/platform/Kconfig | 4
drivers/media/platform/ti-vpe/Makefile | 4 +++-
drivers/media/platform/ti-vpe
When scaler is to be used we need to make sure that the input and
output frame size do not exceed the maximum frame sizes that the
scaler h/w can handle otherwise streaming stall as the scaler
cannot proceed.
The scaler buffer is limited to 2047 pixels (i.e. 11 bits) when
attempting anything large
From: Nikhil Devshatwar
VPDMA buffer will be used by CPU as well as by the VPDMA.
CPU will write/update the VPDMA descriptors containing data
about the video buffer DMA addresses.
VPDMA will write the "write descriptor" containing the
data about the DMA operation.
When mapping/unmapping the buff
Make Linux kernel coding style modifications for dgnc_neo.h to include:
Spelling correction
Comment style modifications
Walt Feasel (2):
staging: dgnc: dgnc_neo.h Comment style modifications
staging: dgnc: dgnc_neo.h Spelling correction
drivers/staging/dgnc/dgnc_neo.h | 26 -
From: Nikhil Devshatwar
VPDMA IRQs are registered for multiple lists
When clearing an IRQ for a list interrupt, all the
IRQs for the individual lists are to be cleared separately.
Signed-off-by: Nikhil Devshatwar
Signed-off-by: Benoit Parrot
Acked-by: Hans Verkuil
---
drivers/media/platform/
From: Nikhil Devshatwar
vpdma_create API is supposed to allocated the struct vpdma_data and
return it to the driver. Also, it would call the callback function
when the VPDMA firmware is loaded.
Typically, VPE driver have following function call:
dev->vpdma = vpdma_create(pdev, firmware_load_
Since there might be more then one instance it is better to
show the base address when dumping registers to help
with debugging.
Signed-off-by: Benoit Parrot
Acked-by: Hans Verkuil
---
drivers/media/platform/ti-vpe/sc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/media/platfor
From: Nikhil Devshatwar
For deinterlacing operation, each operation needs 2 fields in the
history. This is achieved by holding three buffers in
ctx->src_vbs[0,1,2] (f,f-1,f-2)
This is achieved by using the ctx->sequence which gets reset via the
s_fmt ioctl.
These buffers are dequeued in stream
From: Nikhil Devshatwar
VPE hardware can generate output in RGB565 or in RGB5551 format.
Add these formats in the supported format list for CAPTURE stream.
Also, for RGB5551 format, the alpha component is not processed,
so the alpha value is taken from the default color.
Set the default color to
From: Nikhil Devshatwar
For deinterlacing operation, VPE hardware uses motion vectors.
MV calculated in the previous iteration are used for next interation.
Therefore driver allocates two motion vectors in ping-pong fashion.
For every transaction, one MV is DMAed in and one is DMAed out.
All the
The VPDMA RGB data type definition have been updated
to match with Errata i839.
But some of the ARGB definition appeared to be wrong
in the document also. As they would yield RGBA instead.
They have been corrected based on experimentation.
Signed-off-by: Benoit Parrot
Acked-by: Hans Verkuil
---
From: Nikhil Devshatwar
vpe_irq checks for the possible interrupt sources and prints the
errors for the DEI_ERROR and DS_UV interrupts. But it also post the
next descriptor list irrespective of whichever interrupt has occurred.
Because of this, driver may release the buffers even before DMA is
c
On Thu, 10 Nov 2016 06:36:06 -0500 Alexander Duyck
wrote:
> This patch adds a function that allows us to batch free a page that has
> multiple references outstanding. Specifically this function can be used to
> drop a page being used in the page frag alloc cache. With this drivers can
> make u
From: Nikhil Devshatwar
VPDMA block used in ti-vip and ti-vpe modules have support for
up to 8 hardware descriptor lists. A descriptor list can be
submitted to any of the 8 lists (as long as it's not busy).
When multiple clients want to transfer data in parallel, its easier
to allocate one list
From: Nikhil Devshatwar
Writing to the "VPDMA list attribute" register is considered as a list
post. This informs the VPDMA firmware to load the list from the address
which should be taken from the "VPDMA list address" register.
As these two register writes are dependent, it is important that th
The YUV data type definition below are taken from
both the TRM and i839 Errata information.
Use the correct data type considering byte
reordering of components.
Added the 2 missing YUV422 variant.
Also since the single use of "C" in the 422 case
to mean "Cr" (i.e. V component). It was decided
to e
ti_vpe module currently does not get loaded automatically.
Added MODULE_DEVICE_TABLE hint to the driver to assist.
Signed-off-by: Benoit Parrot
Acked-by: Hans Verkuil
Reviewed-by: Javier Martinez Canillas
---
drivers/media/platform/ti-vpe/vpe.c | 1 +
1 file changed, 1 insertion(+)
diff --git
From: Nikhil Devshatwar
Add a helper function to be able to set the maximum
VPDMA transfer size to limit potential buffer overrun.
Added enums for max_width and max_height fields of the
outbound data descriptor.
Changed vpdma_add_out_dtd to accept two more arguments
for max width and height.
M
On Fri, 18 Nov 2016, Boris Ostrovsky wrote:
> On 11/18/2016 05:27 PM, Hugh Dickins wrote:
> > On Fri, 18 Nov 2016, Boris Ostrovsky wrote:
> >> On 11/18/2016 04:51 PM, Hugh Dickins wrote:
> >>> Hmm, sorry, but this seems overcomplicated to me: ingenious, but an
> >>> unusual use of the ->get_policy
From: Nikhil Devshatwar
Current VPE driver does not start the job until all the buffers for
a transaction are queued. When running in multiple context, this might
increase the processing latency.
Alternate solution would be to try to continue the same context as long as
buffers for the transacti
From: Harinarayan Bhatta
Free vpdma buffers in vpe_release. Otherwise it was generating random
backtrace.
Signed-off-by: Harinarayan Bhatta
Signed-off-by: Somnath Mukherjee
Signed-off-by: Nikhil Devshatwar
Signed-off-by: Benoit Parrot
Acked-by: Hans Verkuil
---
drivers/media/platform/ti-vp
From: Harinarayan Bhatta
Increasing max buffer height and width to allow for padded buffers.
Signed-off-by: Harinarayan Bhatta
Signed-off-by: Nikhil Devshatwar
Signed-off-by: Benoit Parrot
Acked-by: Hans Verkuil
---
drivers/media/platform/ti-vpe/vpe.c | 4 ++--
1 file changed, 2 insertions(
From: Nikhil Devshatwar
Current driver configures the line mode of the DEI clients
from the open function directly. Even if the newly created context
is not yet scheduled, it updates some of the VPDMA registers.
This causes a problem in multi instance use case where just opening
the m2m device se
The VPDMA (Video Port DMA) as found in devices such as DRA7xx is
used for both the Video Processing Engine (VPE) and the Video Input
Port (VIP). Some devices may have multiple VIP instances each with
its own VPDMA engine. Within VIP two slices can use a single VPDMA
engine simultaneously. So suppor
On DRA7 since l3_noc event are being reported it was found that
when the write descriptor was being written it was consistently
causing bus error events.
The write address was improperly programmed.
Signed-off-by: Benoit Parrot
Acked-by: Hans Verkuil
---
drivers/media/platform/ti-vpe/vpdma_pri
From: Nikhil Devshatwar
get_q_data can be called with different values for type
e.g. vpe_try_crop calls it with the buffer type which gets passed
from user space
Framework doesn't check wheather its correct type or not
If user space passes wrong type, kernel should not crash.
Return NULL when th
Add a helper to set the background color during vpdma transfer.
This is needed when VPDMA is generating 32 bits RGB format
to have the Alpha channel set to an appropriate value.
Signed-off-by: Benoit Parrot
Acked-by: Hans Verkuil
---
drivers/media/platform/ti-vpe/vpdma.c | 10 ++
driver
From: Archit Taneja
The motion detection block requires 3 fields to create the motion vector
data. This means that using the default method the first progressive
frame is only generated after 3rd field is consumed.
Hence by default for N input field we would generate N - 2 progressive
frames.
In
Make modification to remove extra blank line
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_sysfs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_sysfs.c
b/drivers/staging/dgnc/dgnc_sysfs.c
i
Make Linux kernel coding style modifications for dgnc_sysfs.c to include:
Comment style modifications
Remove blank line
Walt Feasel (2):
staging: dgnc: dgnc_sysfs.c Comment style modifications
staging: dgnc: dgnc_sysfs.c Delete blank line
drivers/staging/dgnc/dgnc_sysfs.c | 4 ++--
1 file
Make modifications to comment style
Signed-off-by: Walt Feasel
---
v2 makes changes to correct for email format patch submission
drivers/staging/dgnc/dgnc_sysfs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_sysfs.c
b/drivers/staging/dgnc/dgnc
Em Fri, Nov 18, 2016 at 05:54:01PM -0500, Steven Rostedt escreveu:
> From: "Steven Rostedt (Red Hat)"
>
> Instead of using 100, define a USECS_PER_SEC macro and use that instead.
We already have it in tools/include/linux/time64.h :-)
- Arnaldo
> Link: http://lkml.kernel.org/r/201602092042
On Mon, 14 Nov 2016 09:01:13 +0100
Takashi Iwai wrote:
> > In this case, I would have liked the chance to comment. This
> > documentation belongs in the driver-api document, not the top-level one.
> > So, in an ideal world, I'd like to see this stuff moved there, preferably
> > with the patches
On 2016-11-18 00:04, maitysancha...@gmail.com wrote:
> On 16-11-17 17:03:19, Stefan Agner wrote:
>> On 2016-11-17 04:16, Sanchayan Maity wrote:
>> > Currently dmaengine_prep_slave_single was being called with length
>> > set to the complete DMA buffer size. This resulted in unwanted bytes
>> > bein
These error messages don't give much information about what went wrong.
It would be nice, for one, to see what invalid temperature was being
requested when conversion fails. It's also good to return an error when
we can't handle a conversion properly.
While we're at it, fix the grammar too.
Signe
If using CONFIG_THERMAL_EMULATION, there's a corner case where we might
get an error from the zone's get_temp() callback, but we'll ignore that
and keep using its value. Let's just error out properly instead.
Signed-off-by: Brian Norris
---
drivers/thermal/thermal_core.c | 3 +++
1 file changed,
This driver passes struct chip_tsadc_table by value throughout; this is
inefficient, and AFAICT, there is no reason for it. Let's pass pointers
instead.
Signed-off-by: Brian Norris
---
drivers/thermal/rockchip_thermal.c | 80 +++---
1 file changed, 40 insertions(+
On Fri, 2016-11-18 at 22:12 +0800, Geliang Tang wrote:
> Use builtin_platform_driver() helper to simplify the code.
>
> Signed-off-by: Geliang Tang
> ---
> drivers/pinctrl/mediatek/pinctrl-mt6397.c | 6 +-
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/drivers/pinctrl/med
During a "perf buildid-cache --add" command, the section
".note.stapsdt" of the "added" binary is scanned in order to list the
available SDT markers available in a binary. The parts containing the
probes arguments were left unscanned.
The whole section is now parsed; the probe arguments are extrac
Hi Hemant,
Many thanks for your answer.
Here is another proposal in which the x86 register renaming table has
been moved into the x86-specific part.
Thanks,
Alexis.
Alexis Berlemont (2):
perf sdt: add scanning of sdt probles arguments
perf probe: add sdt probes arguments into the uprobe cm
An sdt probe can be associated with arguments but they were not passed
to the user probe tracing interface (uprobe_events); this patch adapts
the sdt argument descriptors according to the uprobe input format.
As the uprobe parser does not support scaled address mode, perf will
skip arguments which
On Fri, Nov 18, 2016 at 04:33:12PM -0700, Jonathan Corbet wrote:
> On Mon, 14 Nov 2016 09:01:13 +0100
> Takashi Iwai wrote:
>
> > > In this case, I would have liked the chance to comment. This
> > > documentation belongs in the driver-api document, not the top-level one.
> > > So, in an ideal wo
As part of the ongoing mission to get rid of the DocBook templates, convert
the debugobjects and tracepoint API templates to RST and add them to the
core-api manual.
Jonathan Corbet (3):
doc: Convert the debugobjects DocBook template to sphinx
doc: debugobjects: actually pull in the kerneldoc
Convert the tracepoint docbook template to RST and add it to the core-api
manual. No changes to the actual text beyond the mechanical formatting
conversion.
Cc: Jason Baron
Cc: William Cohen
Signed-off-by: Jonathan Corbet
---
Documentation/DocBook/Makefile| 3 +-
Documentation/DocBo
A couple of the most minor heading tweaks, otherwise no changes to the text
itself beyond the mechanical conversion.
Note that the inclusion of the kerneldoc comments from the source has never
worked, since exported symbols were asked for and none of those functions
are exported to modules. It do
Add the appropriate markup to get the kerneldoc comments out of
lib/debugobjects.c that have never seen the light of day until now.
A logical next step, left for the reader at the moment, is to move the
function descriptions *out* of debug-objects.rst and into the kerneldoc
comments themselves.
S
From: Andi Kleen
Add generic infrastructure to perf stat to output ratios for "DividedBy"
entries in the event lists. Many events are more useful as ratios
than in raw form, typically some count in relation to total ticks.
Transfer the dividedby information from the alias to the evsel.
We mark
From: Andi Kleen
Add support for parsing the DividedBy header in the JSON event lists and
storing them in the alias structure.
Used in the next patch.
Signed-off-by: Andi Kleen
---
tools/perf/pmu-events/jevents.c| 18 ++
tools/perf/pmu-events/jevents.h| 2 +-
tools/pe
This adds uncore support on top of the recently merged JSON event list
infrastructure for core events. Uncore is everything outside the core,
including memory controllers, PCI, interconnect etc.
Uncore is more complicated to handle than core events because it uses
many duplicated PMUs, which leads
From: Andi Kleen
The uncore PMU has a lot of duplicated PMUs for different subsystems.
When expanding an uncore alias we usually end up with a large
number of identically named aliases, which makes perf stat
output difficult to read.
Automatically sum them up in perf stat, unless --no-merge is s
From: Andi Kleen
The code for handling pmu aliases without specifying
the PMU hardcoded only supported the cpu PMU.
This patch extends it to work for all PMUs. We always
duplicate the event for all PMUs that have an matching alias.
This allows to automatically expand an alias for all instances
o
From: Andi Kleen
Add support for registering json aliases per PMU. Any alias
with an unit matching the prefix is registered to the PMU.
Uncore has multiple instances of most units, so all
these aliases get registered for each individual PMU
(this is important later to run the event on every insta
From: Andi Kleen
For debugging and testing it is useful to see the converted
alias string. Add support to perf stat/record and perf list to print
the alias conversion. The text string is saved in the alias structure.
For perf stat/record it is folded into the normal -v. For perf list
-v was taken
From: Andi Kleen
When the user specifies a pmu directly, expand it automatically
with a prefix match, similar as we do for the normal aliases now.
This allows to specify attributes for duplicated boxes quickly.
For example uncore_cbox_{0,6}/.../ can be now specified as cbox/.../
and it gets auto
From: Andi Kleen
Move the scale factor parsing code to an own function
to reuse it in an upcoming patch.
v2: Return error in case strdup returns NULL.
Signed-off-by: Andi Kleen
squash! perf, tools: Factor out scale conversion code
---
tools/perf/util/pmu.c | 70 ++-
> On Nov 14, 2016, at 3:09 PM, Eric Dumazet wrote:
>
> On Mon, 2016-11-14 at 14:46 -0800, Eric Dumazet wrote:
>> On Mon, 2016-11-14 at 16:12 -0600, Eric W. Biederman wrote:
>>
>>> synchronize_rcu_expidited is not enough if you have multiple network
>>> devices in play.
>>>
>>> Looking at the c
From: Andi Kleen
Handle the Unit field, which is needed to find the right PMU for
an event. We call it "pmu" and convert it to the perf pmu name
with an uncore prefix.
Handle the ExtSel field, which just extends the event mask with
an additional bit.
Handle the Filter field which adds parameter
From: Andi Kleen
The next patch needs to modify event code. Previously eventcode was just
passed through as a string. Now parse it as a number.
Signed-off-by: Andi Kleen
---
tools/perf/pmu-events/jevents.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/tools/
On Fri, 18 Nov 2016 16:22:18 -0800
Jarkko Sakkinen wrote:
> Given that there is now a directory for TPM rst documentation do you
> still want all changes to your tree or is it sufficient to just cc
> linux-doc?
For stuff in security/tpm? It makes my life easier if documentation
patches come thr
On Fri, 2016-11-18 at 16:38 -0800, Jarno Rajahalme wrote:
> This fixes the problem for me, so for whatever it’s worth:
>
> Tested-by: Jarno Rajahalme
>
Thanks for testing !
https://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=e88a2766143a27bfe6704b4493b214de4094cf29
On Fri, 18 Nov 2016, Jérôme Glisse wrote:
> Cliff note: HMM offers 2 things (each standing on its own). First
> it allows to use device memory transparently inside any process
> without any modifications to process program code. Second it allows
> to mirror process address space on a device.
>
>
No longer fall through into the error case that prints out
an error if no error (err = 0) occurred.
Fixes d9181b20a83(of: Add back an error message, restructured)
Signed-off-by: Moritz Fischer
Reviewed-by: Frank Rowand
---
Hi Rob,
this is Frank's suggestion. I don't have a strong preference one
On Fri, 18 Nov 2016 15:13:45 -0800
"Paul E. McKenney" wrote:
> On Fri, Nov 18, 2016 at 12:33:00PM -0800, Lance Roy wrote:
> > The trouble is that disabling preemption is not enough to ensure that there
> > is at most one srcu_read_lock() call per CPU that missed the srcu_flip().
> >
> > Define
Many Motorola phones like droid 4 are using a custom PMIC called CPCAP
or 6556002. We can support it's core features quite easily with regmap_spi
and regmap_irq.
The children of cpcap, such as regulators, ADC and USB, can be just regular
device drivers and defined in the dts file. They get probed
On Thu, Nov 17, 2016 at 05:20:26PM +0200, Georgi Djakov wrote:
> Enable support for clocks, controlled by the RPM processor on
> Qualcomm platforms.
>
> Signed-off-by: Georgi Djakov
Hi,
Please send patches like these to the platform maintainer (i.e. Andy
Gross), and leave a...@kernel.org off of
On 11/18/2016 12:06 PM, Bjorn Andersson wrote:
The SMEM state property name changes between the integration branch and
mainline, update to use the correct one.
Fixes: 2f45d9fcd531 ("arm64: dts: msm8996: Add SMP2P and APCS nodes")
Signed-off-by: Bjorn Andersson
Thanks for the change and sorry
On Fri, 18 Nov 2016 12:24:37 +0100, Dmitry Vyukov said:
> WARNINGs mean kernel bugs.
> The one in ucma_write() points to user programming error
> or a malicious attempt. This is not a kernel bug, remove it.
> - if (WARN_ON_ONCE(!ib_safe_file_access(filp)))
> + if (!ib_safe_file_access(filp
701 - 800 of 837 matches
Mail list logo