On Wed, Dec 6, 2017 at 3:15 PM, Arnd Bergmann wrote:
> This changes the type to u64 in the architecture-independent dummy,
> and to pteval_t in the x86 specific portion that is used when KAISER
> is enabled, ensuring that the flags can always fit. Unfortunately,
> pteval_t is not provided by most
Disable the clocks in rk_spdif_probe when an error occurs after one
of the clocks has been enabled previously.
Found by Linux Driver Verification project (linuxtesting.org).
Fixes: f874b80e1571 ASoC: rockchip: Add rockchip SPDIF transceiver driver
Signed-off-by: Stefan Potyra
---
sound/soc/roc
From: Colin Ian King
There are several places where the source is not indented correctly
with either too many or too few levels of intentation. Fix these.
Signed-off-by: Colin Ian King
---
drivers/message/fusion/mptbase.c | 57
1 file changed, 29 insert
On Wed, 6 Dec 2017, Joe Perches wrote:
> On Wed, 2017-12-06 at 15:13 +0100, Rolf Evers-Fischer wrote:
> > Hello,
> > I've just checked the file drivers/tty/serial/8250/8250_omap.c, using
> > checkpatch.pl, but I forgot the '-f' option (for file).
> >
> > Surprisingly the checkpatch script repo
The TCP/IP transition from TCP_LISTEN to TCP_SYN_RECV and some other
transitions are not traced with tcp_set_state tracepoint.
In order to trace the whole tcp lifespans, two helpers are introduced,
void sk_set_state(struct sock *sk, int state);
void sk_state_store(struct sock *sk, int newstate);
On Tue, Dec 5, 2017 at 6:12 PM, Chris Wilson wrote:
> Quoting Sean Paul (2017-12-05 05:15:03)
>> In preparation for implementing HDCP in i915, add some HDCP related
>> register offsets and defines. The dpcd register offsets will go in
>> drm_dp_helper.h whereas the ddc offsets along with generic H
On Mon, Dec 04, 2017 at 09:40:10PM +0100, Tomas Marek wrote:
> This patch fix several brace on next line, braces not necessary, space
> around =/<, and space before/after open/close parenthesis coding style
> errors find by checkpatch in pi433_if.c.
>
> In addition, the interrupt routine DIO0_irq_
According databook in Buffer and External DMA mode
non-split periodic channels can't be halted.
Signed-off-by: Minas Harutyunyan
---
drivers/usb/dwc2/hcd.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c
index 614bb9603def.
On 12/6/2017 8:37 AM, Rafael J. Wysocki wrote:
> On Wed, Dec 6, 2017 at 2:24 PM, Sinan Kaya wrote:
>> On 12/5/2017 5:18 PM, Rafael J. Wysocki wrote:
>>> On Tue, Dec 5, 2017 at 10:01 PM, Sinan Kaya wrote:
Some GED interrupts could be pending by the time we are doing a reboot.
>
> [cut]
>
>>
Certain Kernel preemption models are using threaded interrupt handlers,
which is in general quite beneficial. However, threaded handlers
introducing additional scheduler overhead, when the bottom-half thread
should be woken up and scheduled for execution. This can result is
additional latency, whic
On Sat, Dec 02, 2017 at 07:00:17PM +0200, Marcus Wolf wrote:
> Am 02.12.2017 um 17:00 schrieb Greg KH:
> > On Sat, Dec 02, 2017 at 01:45:50PM +0200, Marcus Wolf wrote:
> > > Since dev_dbg already depends on define DEBUG, there was no sense, to
> > > enclose
> > > dev_dbg lines with #ifdef DEBUG.
>
On Wed, Nov 29, 2017 at 02:58:53PM -0200, Victor Carvalho wrote:
> staging: pi433: fix include asm/compat.h to linux/compat.h
That just repeats what you said in the subject line :(
Please fix up and cc: the correct people as well.
thanks,
greg k-h
On Sun, Dec 03, 2017 at 01:52:43PM -0200, Victor Carvalho wrote:
> fix indentation in commit:
>
> - 928150e1dbb8638f309493b7dc72d56c20896704 staging: pi433: fix coding style
> in function rf69_set_rx_cfg()
There is no such commit in the kernel tree :(
Also, no need for [FIX] in the subject lin
It's not correct to return NULL when that is actually an error and
function returns errors in any other wrong case. In the same time,
the cpsw driver and davinci emac doesn't check error case while
creating channel and it can miss actual error. Correct this mess.
Signed-off-by: Ivan Khoronzhuk
--
It was <2017-12-06 śro 15:05>, when Krzysztof Kozlowski wrote:
> On Wed, Dec 6, 2017 at 2:42 PM, Łukasz Stelmach
> wrote:
>> It was <2017-12-05 wto 14:34>, when Krzysztof Kozlowski wrote:
>>> On Tue, Dec 5, 2017 at 1:35 PM, Łukasz Stelmach
>>> wrote:
Add support for PRNG in Exynos5250+ SoC
On Wed, 6 Dec 2017, David Howells wrote:
> James Morris wrote:
>
> > I think a general cleanup in that function to make all of these follow the
> > pattern:
> >
> > if (something) {
> > key_ref = ERR_PTR(-error);
> > goto error;
> > }
> >
> > rather than uncondit
From: Thomas Richter
The s390x CPU sampling and measurement facilities do not support perf
events of type PERF_TYPE_BREAKPOINT. The test cases are executed and
fail with -ENOENT due to missing hardware support.
Disable the execution of both test cases based on a
platform check. This is the same
On Wed, 2017-12-06 at 15:13 +0100, Rolf Evers-Fischer wrote:
> Hello,
> I've just checked the file drivers/tty/serial/8250/8250_omap.c, using
> checkpatch.pl, but I forgot the '-f' option (for file).
>
> Surprisingly the checkpatch script reported a misspelling:
>
> "WARNING: 'additionaly' may b
On Mon, Dec 04, 2017 at 11:45:16PM +0200, Marcus Wolf wrote:
> To increase the readability of the register accesses, the abstraction
> of the helpers was increased from simple read and write to set bit,
> clear bit and read modify write bit.
>
> Annotation: This patch contains a lot of long lines
From: Andi Kleen
Synthesize the per attr thread maps and cpu maps in 'perf record'.
This allows code from 'perf stat' called from 'perf script' to access
this information.
Committer testing:
Please see the PERF_RECORD_THREAD_MAP and PERF_RECORD_CPU_MAP records,
added by this patch:
$ perf r
Hi Greg,
On 5 December 2017 at 11:54, Greg Kroah-Hartman
wrote:
> On Mon, Dec 04, 2017 at 03:12:45PM -0600, Tom Gall wrote:
>>
>>
>> > On Dec 4, 2017, at 9:59 AM, Greg Kroah-Hartman
>> > wrote:
>> >
>> > This is the start of the stable review cycle for the 4.14.4 release.
>> > There are 95 patc
From: Arnaldo Carvalho de Melo
The PERF_RECORD_USER_ events are synthesized by the tool to assist in
processing the PERF_RECORD_ ones generated by the kernel, the printing
of that information doesn't come with a perf_sample structure, so, when
dumping the event fields using 'perf report -D' there
From: Andi Kleen
Add support for computing 'perf stat' style metrics in 'perf script'.
When using leader sampling we can get metrics for each sampling period
by computing formulas over the values of the different group members.
This allows things like fine grained IPC tracking through sampling,
From: Davidlohr Bueso
It was reported that the whole futex bench breaks when dealing with
non-contiguously numbered cpus.
$ echo 0 | sudo tee /sys/devices/system/cpu/cpu3/online
$ ./perf bench futex all
perf: pthread_create: Operation not permitted
Run summary [PID 14934]: 7 threads, each
James Morris wrote:
> I think a general cleanup in that function to make all of these follow the
> pattern:
>
> if (something) {
> key_ref = ERR_PTR(-error);
> goto error;
> }
>
> rather than unconditionally setting the error first, would be better, but
From: Adrian Hunter
Print file names of files that differ. For example, instead of:
Warning: Intel PT: x86 instruction decoder differs from kernel
print:
Warning: Intel PT: x86 instruction decoder header at
'tools/perf/util/intel-pt-decoder/inat.h' differs from latest version at
'arch/x8
On Mon, Dec 04, 2017 at 12:50:45PM +1100, Stephen Rothwell wrote:
> Hi Greg,
>
> Today's linux-next merge of the staging tree got a conflict in:
>
> drivers/iio/adc/meson_saradc.c
>
> between commit:
>
> d85eed9f5763 ("iio: adc: meson-saradc: initialize the bandgap correctly on
> older SoC
From: James Yang
Waker threads in the futex wake-parallel benchmark are started by a loop
using pthread_create(). However, there is no synchronization for when
the waker threads wake the waiting threads. Comparison of the waker
threads' measurement timestamps show they are not all running
concu
From: Thomas Richter
The command 'perf annotate' parses the output of objdump and also
investigates the comments produced by objdump. For example the
output of objdump produces (on x86):
23eee: 4c 8b 3d 13 01 21 00 mov 0x210113(%rip),%r15
# 234008
and the funct
From: Thomas Richter
This patch fixes a bug introduced with commit d9f8dfa9baf9 ("perf
annotate s390: Implement jump types for perf annotate").
'perf annotate' displays annotated assembler output by reading output of
command objdump and parsing the disassembled lines. For each shown
mnemonic thi
On 12/6/2017 9:47 AM, Arnd Bergmann wrote:
> On Wed, Dec 6, 2017 at 3:41 PM, Sinan Kaya wrote:
>> On 12/6/2017 9:17 AM, Arnd Bergmann wrote:
>>
>> I thought Bjorn merged a similar patch yesterday with subject
>>
>> "[PATCH -next] pci: add function stub for pci_get_domain_bus_and_slot()"
>
> It wa
On 06/12/2017 13:38, Jiri Olsa wrote:
On Wed, Dec 06, 2017 at 12:13:15AM +0800, John Garry wrote:
SNIP
diff --git a/tools/perf/pmu-events/jevents.c b/tools/perf/pmu-events/jevents.c
index b578aa2..a0d489e 100644
--- a/tools/perf/pmu-events/jevents.c
+++ b/tools/perf/pmu-events/jevents.c
@@ -58
From: Arnaldo Carvalho de Melo
Reusing the thread_map__new_by_uid() proc scanning already in place to
return a map with all threads in the system.
Based-on-a-patch-by: Jin Yao
Acked-by: Jiri Olsa
Cc: Alexander Shishkin
Cc: Andi Kleen
Cc: Kan Liang
Cc: Peter Zijlstra
Link: https://lkml.kern
From: Jin Yao
In current stat-shadow.c, the rbtree deleting is ignored.
The patch adds the implementation to node_delete method of rblist.
Signed-off-by: Jin Yao
Acked-by: Jiri Olsa
Cc: Alexander Shishkin
Cc: Andi Kleen
Cc: Kan Liang
Cc: Peter Zijlstra
Link:
http://lkml.kernel.org/r/1512
From: Hendrik Brueckner
On s390, object files must be compiled with position-indepedent code in
order to be incrementally linked or linked to shared libraries.
Therefore, add -fPIC to the CFLAGS for s390 to ensure each object file
is built properly.
Reported-by: Jonathan Hermann
Signed-off-by:
On Wed, Dec 6, 2017 at 3:41 PM, Sinan Kaya wrote:
> On 12/6/2017 9:17 AM, Arnd Bergmann wrote:
>
> I thought Bjorn merged a similar patch yesterday with subject
>
> "[PATCH -next] pci: add function stub for pci_get_domain_bus_and_slot()"
It was probably just a bit too late to make it into today's
This patch enables support to read the ECC strength and size from the
NAND flash using Toshiba Memory SLC NAND extended-ID. This patch is
based on the information of the 6th ID byte of the Toshiba Memory SLC
NAND.
Signed-off-by: KOBAYASHI Yoshitake
---
drivers/mtd/nand/nand_toshiba.c | 28 ++
From: Ganapatrao Kulkarni
This is not a full event list, but a short list of useful events.
Signed-off-by: Ganapatrao Kulkarni
Acked-by: Will Deacon
Cc: Alexander Shishkin
Cc: Catalin Marinas
Cc: Ganapatrao Kulkarni
Cc: Jayachandran C
Cc: Jonathan Cameron
Cc: Mark Rutland
Cc: Peter Zijls
From: Ganapatrao Kulkarni
On some platforms(arm/arm64) which uses cpus map to get corresponding
cpuid string, cpuid can be NULL for PMUs other than CORE PMUs. Adding
check for NULL cpuid in function perf_pmu__find_map to avoid
segmentation fault.
Signed-off-by: Ganapatrao Kulkarni
Cc: Alexande
From: Wang Nan
Now all perf_evlist__mmap's users doesn't set 'overwrite'. Remove it
from arguments list.
Signed-off-by: Wang Nan
Acked-by: Namhyung Kim
Cc: Jiri Olsa
Cc: Kan Liang
Link: http://lkml.kernel.org/r/20171203020044.81680-2-wangn...@huawei.com
Signed-off-by: Arnaldo Carvalho de Mel
mclk and hclk need to be disabled explicitly since pm_runtime_disable does
not disable the clocks.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Takuo Koguchi
---
drivers/spi/spi-sun4i.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/spi/spi-sun
From: Wang Nan
evlist->overwrite is set to false in all users. It can be removed.
Signed-off-by: Wang Nan
Acked-by: Namhyung Kim
Cc: Jiri Olsa
Cc: Kan Liang
Link: http://lkml.kernel.org/r/20171203020044.81680-4-wangn...@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/buil
From: Wang Nan
All perf_mmap__read_forward() read from read-write ring buffer, so no
need check_messup. Reading from backward ring buffer doesn't require
check_messup because it never mess up. Cleanup arguments lists.
Signed-off-by: Wang Nan
Acked-by: Namhyung Kim
Cc: Jiri Olsa
Cc: Kan Liang
From: Wang Nan
'perf record' backward recording doesn't work as we expected: it never
overwrites when ring buffer gets full.
Test:
Run a busy python printing task background like this:
while True:
print 123
send SIGUSR2 to perf to capture snapshot, then:
# ./perf record --overwrite -e
From: Arnaldo Carvalho de Melo
Up to f5caf621ee35 ("x86/asm: Fix inline asm call constraints for Clang")
we were able to use x86 headers to build to the 'bpf' clang target, as
done by the BPF code in tools/perf/.
With that commit, we ended up with following failure for 'perf test LLVM', this
is
From: Wang Nan
Remove the backward/forward concept to make it uniform with user
interface (the '--overwrite' option).
Signed-off-by: Wang Nan
Acked-by: Namhyung Kim
Cc: Jiri Olsa
Cc: Kan Liang
Cc: Mengting Zhang
Link: http://lkml.kernel.org/r/20171204165107.95327-4-wangn...@huawei.com
Signe
From: Wang Nan
'perf record' can switch its output data file. The new output should
only store the data after switching. However, in overwrite backward
mode, the new output still can have data from before switching. That
also brings extra overhead.
At the end of mmap_read(), the position of the
From: Seokho Song <0xdev...@gmail.com>
There are codes that print messages to the screen between assignment of
the use_browser variable and setup_browser().
But since the GUI browser is not initialized during that period, all
messages fail to show if the user passed the --gtk option to perf as GT
From: William Cohen
The powerpc cpuid information includes chip revision information.
Changes between chip revisions are usually minor bug fixes and usually
do not affect the operation of the performance monitoring hardware.
The original mapfile.csv matching requires enumerating every possible
c
From: Sangwon Hong
Signed-off-by: Sangwon Hong
Cc: Jiri Olsa
Cc: Namhyung Kim
Link:
http://lkml.kernel.org/r/1512188201-14109-1-git-send-email-qpa...@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/Documentation/tips.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/t
From: Wang Nan
'overwrite' argument is always 'false'. Remove it from arguments list of
perf_mmap__push().
Signed-off-by: Wang Nan
Acked-by: Namhyung Kim
Cc: Jiri Olsa
Cc: Kan Liang
Link: http://lkml.kernel.org/r/20171203020044.81680-5-wangn...@huawei.com
Signed-off-by: Arnaldo Carvalho de M
From: Ganapatrao Kulkarni
On some platforms, PMU core devices sysfs name is not cpu.
Adding function is_pmu_core to detect PMU core devices using
core device specific hints in sysfs.
For arm64 platforms, all core devices have file "cpus" in sysfs.
Signed-off-by: Ganapatrao Kulkarni
Tested-by:
From: Jiri Olsa
On Fedora systems the perl and python CFLAGS/LDFLAGS include the
hardened specs from redhat-rpm-config package. We apply them only for
perl/python objects, which makes them not compatible with the rest of
the objects and the build fails with:
/usr/bin/ld: perf-in.o: relocation
From: Wang Nan
All users of perf_evlist__mmap_ex set !overwrite. Remove it from its
arguments list.
Signed-off-by: Wang Nan
Acked-by: Namhyung Kim
Cc: Jiri Olsa
Cc: Kan Liang
Link: http://lkml.kernel.org/r/20171203020044.81680-3-wangn...@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo
--
This patch enables support for Toshiba Memory BENAND. This checks
internal ECC status in read operation when using BENAND and selecting
ECC mode as on-die.
Signed-off-by: KOBAYASHI Yoshitake
---
drivers/mtd/nand/nand_toshiba.c | 89 +
1 file changed, 89 in
From: Ganapatrao Kulkarni
The get_cpuid_str function returns the MIDR string of the first online
cpu from the range of cpus associated with the PMU CORE device.
Signed-off-by: Ganapatrao Kulkarni
Acked-by: Will Deacon
Cc: Alexander Shishkin
Cc: Catalin Marinas
Cc: Ganapatrao Kulkarni
Cc: Ja
From: Ganapatrao Kulkarni
The cpuid string will not be same on all CPUs on heterogeneous platforms
like ARM's big.LITTLE, adding provision(using pmu->cpus) to find cpuid
string from associated CPUs of PMU CORE device.
Also optimise arguments to function pmu_add_cpu_aliases.
Signed-off-by: Ganap
From: Arnaldo Carvalho de Melo
As 'perf bench futex wake-parallel" will use this, which is not
available in older systems such as versions of the android NDK used in
my container build tests (r12b and r15c at the moment).
Cc: Adrian Hunter
Cc: David Ahern
Cc: Davidlohr Bueso
Cc: James Yang
C
From: Jin Yao
Currently we have a rblist__delete() which is used to delete a rblist.
While rblist__delete() will free the pointer of rblist at the end.
It's an inconvenience for the user to delete a rblist which is not
allocated by something like malloc(). For example, the rblist is
embedded in
From: Arnaldo Carvalho de Melo
Add my name to the list.
Signed-off-by: Arnaldo Carvalho de Melo
---
Documentation/process/kernel-enforcement-statement.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/process/kernel-enforcement-statement.rst
b/Documentation/process/kernel-
From: Hansuk Hong
Add a tip for Node.js USDT(User-Level Statically Defined Tracing) probes
in tips.txt
Signed-off-by: Hansuk Hong
Cc: Jiri Olsa
Cc: Namhyung Kim
Link: http://lkml.kernel.org/r/20171123160546.9722-1-flavono...@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo
---
tools/perf/D
From: Andi Kleen
Move the code to synthesize event updates for scale/unit/cpus to a
common utility file, and use it both from stat and record.
This allows to access scale and other extra qualifiers from perf script.
Signed-off-by: Andi Kleen
Acked-by: Jiri Olsa
Link: http://lkml.kernel.org/r/
From: Ingo Molnar
Remove this from check-headers.sh:
opts="--ignore-blank-lines --ignore-space-change"
as the easiest policy is to just follow the upstream UAPI header version 100%.
Pure space-only changes are comparatively rare.
Signed-off-by: Ingo Molnar
Cc: Adrian Hunter
Link: http://lk
In some cases device sending ZLP IN on non EP0 which
reassigning EP0 OUT descriptor pointer to that EP.
Dedicated for EP0 OUT descriptor multiple time re-used by
other EP while that descriptor already in use by EP0 OUT
for SETUP transaction. As result when SETUP packet received
BNA interrupt assert
If rate is the same as set it's correct case.
Signed-off-by: Ivan Khoronzhuk
---
Based on net-next/master
drivers/net/ethernet/ti/davinci_cpdma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c
b/drivers/net/ethernet/ti/davinci_cpdma.
On 06.12.2017 12:59, Wanpeng Li wrote:
> From: Wanpeng Li
>
> *** Guest State ***
> CR0: actual=0x0030, shadow=0x6010,
> gh_mask=fff7
> CR4: actual=0x2050, shadow=0x,
> gh_mask=e871
> CR3 = 0xfffbc000
> RSP
On 12/6/2017 9:17 AM, Arnd Bergmann wrote:
> When CONFIG_PCI is disabled, we still provide a pci_get_bus_and_slot()
> function that always returns NULL, but do not provide the same helper
> for pci_get_domain_bus_and_slot():
>
> Replacing pci_get_bus_and_slot with pci_get_domain_bus_and_slot now c
On Wed, Dec 06, 2017 at 10:17:06AM +, Patrick Brünn wrote:
> >From: Sascha Hauer [mailto:s.ha...@pengutronix.de]
> >Sent: Mittwoch, 6. Dezember 2017 09:36
> >On Tue, Dec 05, 2017 at 03:06:46PM +0100, linux-kernel-...@beckhoff.com
> >wrote:
> >> +static int mxc_rtc_wait_for_flag(void *__iomem io
On 06/12/2017 13:37, Jiri Olsa wrote:
On Wed, Dec 06, 2017 at 12:13:16AM +0800, John Garry wrote:
SNIP
---
tools/perf/pmu-events/jevents.c | 215
1 file changed, 198 insertions(+), 17 deletions(-)
diff --git a/tools/perf/pmu-events/jevents.c b/tools/p
On Wed, Dec 06, 2017 at 07:32:43AM -0600, Pierre-Louis Bossart wrote:
> On 12/5/17 11:58 PM, Vinod Koul wrote:
> >On Tue, Dec 05, 2017 at 08:48:03AM -0600, Pierre-Louis Bossart wrote:
> >>On 12/5/17 7:43 AM, Pierre-Louis Bossart wrote:
> >>>On 12/5/17 12:31 AM, Vinod Koul wrote:
> On Sun, Dec 0
On Wed, Dec 06, 2017 at 03:25:37PM +0100, Stefan Agner wrote:
> On 2017-12-06 15:11, Mark Brown wrote:
> > Please don't send content free pings and please allow a reasonable time
> > for review. People get busy, go on holiday, attend conferences and so
> > on so unless there is some reason for u
Current Ping Pong driver can't truly work with multi-port devices.
Additionally it requires the Scratchpad registers being available
on NTB device. This patches rewrites the driver so one would
perform the cyclic Ping-Pong algorithm around all the available
NTB peers and makes it working with NTB h
Former NTB Debugging tool driver supported only the limited
functionality of the recently updated NTB API, which is now available
to work with the truly NTB multi-port devices and devices, which
got NTB Message registers instead of Scratchpads. This patch
fully rewrites the driver so one would full
Multi-port interface is now available in ntb_tool driver. According
to the new NTB API, there might be more than two devices connected over
NTB. It means each device can have multiple freely enumerated ports.
Each port got index assigned by NTB hardware driver. This test is
performed to determine t
If some of variables like LOC/REM or LOCAL_*/REMOTE_* got
whitespaces, the script may fail with syntax error.
Signed-off-by: Serge Semin
Acked-by: Logan Gunthorpe
Fixes: a9c59ef77458 ("ntb_test: Add a selftest script for the NTB subsystem")
---
tools/testing/selftests/ntb/ntb_test.sh | 62 +
Please note that I haven't checked any code in this patch series. I've
just started here to see how the thing is supposed to work and what is
the overall design
On Tue 05-12-17 14:52:14, Daniel Jordan wrote:
[...]
> +Resource Limits and Auto-Tuning
> +===
> +
> +ktask h
Former NTB Performance driver could only work with NTB devices, which
got Scratchpads available and had just two ports. Since there are
devices, which don't have Scratchpads and got more than two peer
ports, the performance measuring tool needs to be rewritten. This
patch adds the ability to test a
There is a common methods signature form used over all the NTB API
like functions naming scheme, arguments names and order, etc.
Recently added NTB messaging API IO callbacks were named a bit
different so should be renamed to be in compliance with the rest
of the API.
Signed-off-by: Serge Semin
-
Scratchpad NTB API has changed so has the ntb_tool driver. Outbound
Scratchpad DebugFS files have been moved to peer specific directories.
Each scratchpad is now available via separate file. The test code
has been accordingly altered.
Signed-off-by: Serge Semin
---
tools/testing/selftests/ntb/nt
DB interface of ntb_tool driver hasn't been changed much, but
db_valid_mask DebugFS file has still been added. In this case
it's much better to test all valid DB bits instead of using
the predefined mask, which may be incorrect in general.
Signed-off-by: Serge Semin
---
tools/testing/selftests/n
Link Up and Down methods are used to change NTB link settings on
local side only for multi-port devices. Link is considered up
only if both sides local and peer set it up. Intel/AMD hardware
acts a bit different by assigning the Primary and Secondary roles,
so Primary device only is able to change
Hi Peter,
On Wed, Dec 06, 2017 at 02:47:06PM +0100, Peter Zijlstra wrote:
> On Tue, Dec 05, 2017 at 11:47:18PM +0900, Namhyung Kim wrote:
> > Sure, I mean the following code:
> >
> > mutex_lock(&callchain_mutex);
> >
> > count = atomic_inc_return(&nr_callchain_events);
> > if (WARN_O
ntb_perf driver has been also updated so to have the multi-port
interface support. User now must specify what peer port is going
to be used to perform the test.
Signed-off-by: Serge Semin
---
tools/testing/selftests/ntb/ntb_test.sh | 13 +++--
1 file changed, 7 insertions(+), 6 deletions
On Wed, Dec 06, 2017 at 12:35:30PM +, Will Deacon wrote:
> The exception entry trampoline needs to be mapped at the same virtual
> address in both the trampoline page table (which maps nothing else)
> and also the kernel page table, so that we can swizzle TTBR1_EL1 on
> exceptions from and retu
Since Switchtec patch there has been a new topology added to
the NTB API. It's called NTB_TOPO_SWITCH and dedicated for
PCIe switch chips. Even though topo field isn't used within the
IDT driver much, lets set it for the sake of unification.
Signed-off-by: Serge Semin
---
drivers/ntb/hw/idt/ntb_
Messages NTB API is now available. ntb_tool driver has been altered
to perform messages send and receive operation. The test of messages
read/write to/from peer device has been added to the script.
Signed-off-by: Serge Semin
---
tools/testing/selftests/ntb/ntb_test.sh | 37 ++
On Wed, Nov 29, 2017 at 02:48:24PM +0200, Volodymyr Babchuk wrote:
> From: Volodymyr Babchuk
>
> Hello all,
>
> This is resend of OP-TEE dynamic SHM series. No changes
> from last time. Correct version is used in the subject.
>
> ---
> Changes from v1:
>
> * Added support for 16K and 64K page
Simple (1 << pidx) operation causes undefined behaviour when
pidx >= 32. It must be casted to u64 to match the actual return
value of ntb_link_is_up() method, so to have all the possible
peer indexes covered and to get rid of undefined behaviour.
Additionally there are special macros in "linux/bito
There are devices (like IDT PCIe switches), which outbound MWs xlat address
is setup on peer side. In this case local side is supposed to allocate
a memory buffer and somehow deliver the xlat DMA address to peer so one
could set the outbound MW up. The MW test is altered so to support both
previous
The multi-port NTB API was introduced in kernel 4.13 as well as the
first driver for the true multi-port devices of IDT PCIe-switches
series. But the test drivers still were left almost unchanged. Yes,
they didn't fail being used with new NTB API, but they only worked
with two-ports NTB devices. Th
The dma_mask and dma_coherent_mask fields of the NTB struct device
weren't initialized in hardware drivers. In fact it should be done
instead of PCIe interface usage, since NTB clients are supposed to
use NTB API and left unaware of real hardware implementation.
In addition to that ntb_device_regis
Hi Trond. Anna,
On Tue, Dec 5, 2017 at 5:02 PM, Geert Uytterhoeven wrote:
> During a failed write to a virtual sysfs file (root fs is NFS), I got:
>
> Unable to handle kernel NULL pointer dereference at virtual address 0020
> pgd = c448bb15
> [0020] *pgd=69c9c003, *pmd=69d55003, *pte=
On 2017-12-06 15:11, Mark Brown wrote:
> On Wed, Dec 06, 2017 at 02:53:39PM +0100, Stefan Agner wrote:
>> On 2017-08-07 09:08, Nicolin Chen wrote:
>> > On Sun, Aug 06, 2017 at 11:36:57PM -0700, Stefan Agner wrote:
>
>> Mark, you seem to have merged other patches for this driver, can you
>> merge t
2017-12-06 14:40 GMT+01:00 Peter Rosin :
> Hi!
>
> Some nits...
>
> On 2017-12-06 14:01, Bartosz Golaszewski wrote:
>> There are a couple symbols defined in the driver source file which are
>> missing the at24_ prefix. This patch fixes that.
>>
>> For module params: use module_param_named() in orde
We have a use case in the at24 EEPROM driver (recently converted to
using regmap instead of raw i2c/smbus calls) where we read from/write
to the regmap in a loop, while protecting the entire loop with
a mutex.
Currently this implicitly makes us use two mutexes - one in the driver
and one in regmap
Benjamin,
The patch is fine for me:
Acked-by: Vincent Abriou
Vincent
On 12/06/2017 12:29 PM, Benjamin Gaignard wrote:
> Add SPDX identifiers to files under sti directory
>
> Signed-off-by: Benjamin Gaignard
> ---
> drivers/gpu/drm/sti/sti_awg_utils.c| 2 +-
> drivers/gpu/drm/sti/s
Benjamin,
The patch is fine for me:
Acked-by: Vincent Abriou
Vincent
On 12/06/2017 12:29 PM, Benjamin Gaignard wrote:
> Add SPDX identifiers to files under stm directory
>
> Signed-off-by: Benjamin Gaignard
> ---
> drivers/gpu/drm/stm/drv.c | 3 +--
> drivers/gpu/drm/stm/dw_mi
In devm_of_phy_provider_register, the previously enabled clock rphy->clk
is now disabled, if devm_of_phy_provider_register() failed.
Found by Linux Driver Verification project (linuxtesting.org).
Fixes: e08d2a727e6 phy: rockchip-inno-usb2: add a new driver for Rockchip
usb2phy
Signed-off-by: Ste
On Wed, Dec 06, 2017 at 03:18:14PM +0100, Arnd Bergmann wrote:
> The return value of sizeof() is of type size_t, so we must print it
> using the %z format modifier rather than %l to avoid this warning
> on some architectures:
>
> fs/btrfs/tree-checker.c: In function 'check_dir_item':
> fs/btrfs/tr
From: Rafael J. Wysocki
Update the ACPICA information in MAINTAINERS to reflect recent
maintainership changes.
Signed-off-by: Rafael J. Wysocki
---
MAINTAINERS |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-pm/MAINTAINERS
801 - 900 of 1246 matches
Mail list logo