Hi Arnd,
Arnd Bergmann wrote on Wed, 26 Sep 2018 16:20:16 +0200:
> Recent MTD changes caused a minor build regression on OMAP1:
>
> In file included from arch/arm/mach-omap1/devices.c:31:
> arch/arm/mach-omap1/common.h:85:39: error: 'struct nand_chip' declared inside
> parameter list will not
Hi Arnd,
Arnd Bergmann wrote on Wed, 26 Sep 2018 15:04:39 +0200:
> The platform_nand_data structure definition is required for ixdp425
> but has now moved to a new header file:
>
> arch/arm/mach-ixp4xx/ixdp425-setup.c:98:15: error: variable
> 'ixdp425_flash_nand_data' has initializer but incom
From: Kuninori Morimoto
This patch updates license to use SPDX-License-Identifier instead of verbose
license text.
Signed-off-by: Kuninori Morimoto
Reviewed-by: Simon Horman
Signed-off-by: Daniel Lezcano
---
drivers/clocksource/sh_cmt.c | 10 +-
1 file changed, 1 insertion(+), 9 dele
From: Rob Herring
In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.
Cc: Daniel Lezcano
Cc: Thomas Gleixner
Cc: Michal Simek
Cc: linux-arm-ker...@lists.infradead.org
Signed-off-by: Rob Herring
Signed-off-by: Daniel
From: Dinh Nguyen
Add code to retrieve the reset property from the dw-apb timers and if
the property is available, the safe operation is to assert the timer
into reset, and followed by a deassert of the timer reset (brings the
timer out of reset).
This patch is needed for systems where the bootl
In order to make some housekeeping in the directory, this patch renames
drivers to the timer-* format in order to unify their names.
There is no functional changes.
Acked-by: Uwe Kleine-König
Acked-by: Vladimir Zapolskiy
Acked-by: Liviu Dudau
Signed-off-by: Daniel Lezcano
---
MAINTAINERS
The macro CLOCKSOURCE_OF_DECLARE was renamed more TIMER_OF_DECLARE, and we
kept an alias CLOCKSOURCE_OF_DECLARE in order to smooth the transition for
drivers.
This change was done 1.5 year ago, we can reasonably remove this backward
compatible macro as it is no longer used anywhere.
Signed-off-by
From: Sergei Shtylyov
The driver seems to abuse *unsigned long* not only for the (32-bit)
register values but also for the 'sh_cmt_channel::total_cycles' which
needs to always be 64-bit -- as a result, the clocksource's mask is
needlessly clamped down to 32-bits on the 32-bit machines...
Fixes:
From: Sergei Shtylyov
When trying to use CMT for clockevents on R-Car gen3 SoCs, I noticed
that 'max_delta_ns' for the broadcast timer (CMT) was shown as 1000 in
/proc/timer_list. It turned out that when calculating it, the driver did
1 << 32 (causing what I think was undefined behavior) resultin
From: Sergei Shtylyov
Document support for the R-Car gen3 CMT types 0/1 bindings -- they seem
to be the same CMT types 0/1 as in the R-Car gen2 SoCs.
Also document R8A779{7|8}0 bindings as these are the R-Car gen3 SoCs for
which the initial support was done.
Signed-off-by: Sergei Shtylyov
Revi
From: Sergei Shtylyov
Add support for the R-Car gen3 CMT types 0/1 -- they seem to be the same
CMT types 0/1 as in R-Car gen2 SoCs.
Signed-off-by: Sergei Shtylyov
Reviewed-by: Geert Uytterhoeven
Signed-off-by: Daniel Lezcano
---
drivers/clocksource/sh_cmt.c | 8
1 file changed, 8 in
From: Sergei Shtylyov
There's no good reason for the sh_cmt_of_table[] initializer to
violate the 80-column limit, especially after the commit 8d50e9476bb4
("clocksource/drivers/sh_cmt: Mark "renesas,cmt-48-gen2" deprecated")
partially fixed it -- fix the R-Car gen2 related entries as well.
Sign
From: Kuninori Morimoto
This patch updates license to use SPDX-License-Identifier instead of verbose
license text.
Signed-off-by: Kuninori Morimoto
Reviewed-by: Simon Horman
Signed-off-by: Daniel Lezcano
---
drivers/clocksource/renesas-ostm.c | 11 +--
1 file changed, 1 insertion(+),
Hi Cody,
> drivers/net/wireless/Kconfig | 7 +
> drivers/net/wireless/Makefile| 2 +
> drivers/net/wireless/virt_wifi.c | 618 +++
> 3 files changed, 627 insertions(+)
> create mode 100644 drivers/net/wireless/virt_wifi.c
I did a quick check of your patch
From: Kuninori Morimoto
This patch updates license to use SPDX-License-Identifier instead of verbose
license text.
Signed-off-by: Kuninori Morimoto
Reviewed-by: Simon Horman
Signed-off-by: Daniel Lezcano
---
drivers/clocksource/sh_tmu.c | 10 +-
1 file changed, 1 insertion(+), 9 dele
From: Kuninori Morimoto
This patch updates license to use SPDX-License-Identifier instead of verbose
license text.
Signed-off-by: Kuninori Morimoto
Reviewed-by: Simon Horman
Signed-off-by: Daniel Lezcano
---
drivers/clocksource/sh_mtu2.c | 10 +-
1 file changed, 1 insertion(+), 9 del
On 2018-09-24 10:29:01 [+0200], Kurt Kanzenbach wrote:
> Silence the following gcc warning:
>
> drivers/tty/serial/amba-pl011.c: In function ‘pl011_console_write’:
> ./include/linux/spinlock.h:260:3: warning: ‘flags’ may be used uninitialized
> in this function [-Wmaybe-uninitialized]
>_raw_s
On Fri, Oct 5, 2018 at 4:28 PM Andy Gross wrote:
> On Tue, Oct 02, 2018 at 11:36:11AM +0200, Arnd Bergmann wrote:
> > On Sun, Sep 30, 2018 at 8:38 PM Andy Gross wrote:
> > I also get this one warning (both with and without your patches):
> >
> > arch/arm/boot/dts/qcom-apq8064-arrow-sd-600eval.dtb
On Tue, Oct 02, 2018 at 11:30:29AM +0200, Arnd Bergmann wrote:
> On Sun, Sep 30, 2018 at 8:38 PM Andy Gross wrote:
> >
> > The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3:
> >
> > Linux 4.19-rc1 (2018-08-26 14:11:59 -0700)
> >
> > are available in the git repository a
"Append to the list and do a merge sort" is not really an insertion
sort. While a few more lines of code, we can keep the list sorted doing
at most n comparisons by iterating until we find the first element
strictly greater than gb.
Signed-off-by: Rasmus Villemoes
---
I have no idea if the perfor
gb_loopback_bus_id_compare only has a single caller, and it no longer
needs to have a prototype compatible with being a callback for
list_sort.
Signed-off-by: Rasmus Villemoes
---
drivers/staging/greybus/loopback.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/driver
On Tue, Oct 02, 2018 at 11:36:11AM +0200, Arnd Bergmann wrote:
> On Sun, Sep 30, 2018 at 8:38 PM Andy Gross wrote:
> >
> > The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3:
> >
> > Linux 4.19-rc1 (2018-08-26 14:11:59 -0700)
> >
> > are available in the git repository a
It's not obvious how the code prevents adding more than 31 elements to
the list and thus invoking undefined behaviour in the 1 << new_lbid
expression, and in practice causing ->lbid values to repeat every 32
elements.
But the definition of struct gb_loopback is local to loopback.c, and the
lbid fi
On Sat, 6 Oct 2018 06:22:11 +0800
Peng Hao wrote:
> find_lock_lowest_rq may or not releease rq lock when return
> lowest_rq=NULL, but it is fuzzy.
> If not releasing rq lock, it is unnecessary to re-call
> pick_next_pushable_task.
> When CONFIG_PREEMPT=n, not releasing rq lock and return
> lowest
On 10/5/2018 12:52 AM, Ricardo Ribalda Delgado wrote:
Hi
On Fri, Oct 5, 2018 at 12:26 AM Jeffrey Hugo wrote:
On 10/2/2018 9:21 AM, Jeffrey Hugo wrote:
On 10/2/2018 8:08 AM, Ricardo Ribalda Delgado wrote:
Current code assumes that the direction is input if direction_input
function is set.
Thi
On 05/10/2018 15:42, Marc Zyngier wrote:
> On 05/10/18 13:33, Matthias Brugger wrote:
>>
>>
>> On 05/10/2018 12:55, Marc Zyngier wrote:
>>> Hi Matthias,
>>>
>>> On 04/10/18 23:11, Matthias Brugger wrote:
Friendly reminder, if anyone has any comment on the patch :)
On 9/12/18 11:52
Em Tue, Oct 02, 2018 at 09:39:49AM +0200, Milian Wolff escreveu:
> Signed-off-by: Milian Wolff
> Cc: Arnaldo Carvalho de Melo
> Reported-by: Ravi Bangoria
> # Tested-by:
> # Reviewed-by:
> # Suggested-b:
> Fixes: bfe16b0653 ("perf report: Don't crash on invalid inline debug
> information")
No,
find_lock_lowest_rq may or not releease rq lock when return
lowest_rq=NULL, but it is fuzzy.
If not releasing rq lock, it is unnecessary to re-call
pick_next_pushable_task.
When CONFIG_PREEMPT=n, not releasing rq lock and return
lowest_rq=null frequently happens in a simple test case:
Four differen
On Wed, Jul 18, 2018 at 11:43 AM Joerg Roedel wrote:
> arch/x86/mm/pgtable.c | 100
> --
> 1 file changed, 81 insertions(+), 19 deletions(-)
>
> diff --git a/arch/x86/mm/pgtable.c b/arch/x86/mm/pgtable.c
> index db6fb77..8e4e63d 100644
> --- a/arch
Hi again Boris
On Fri, Oct 5, 2018 at 2:10 PM Boris Brezillon
wrote:
>
> On Fri, 5 Oct 2018 14:04:52 +0200
> Ricardo Ribalda Delgado wrote:
>
> > Hi Boris
> > On Fri, Oct 5, 2018 at 12:12 PM Boris Brezillon
> > wrote:
> > >
> > > On Fri, 5 Oct 2018 11:54:18 +0200
> > > Ricardo Ribalda Delgado
Hi Daniel,
On Fri, Oct 05, 2018 at 03:48:58PM +0200, Daniel Lezcano wrote:
> On 04/10/2018 19:22, Guo Ren wrote:
> > This timer is used by SMP system and use mfcr/mtcr instruction
> > to access the regs.
> >
> > Changelog:
> > - Add rollback for timer_of_cleanup.
> > - Use request_percpu_irq se
On 5 October 2018 at 11:54, Gustavo A. R. Silva wrote:
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
>
> Notice that in this particular case, I replaced the
> "deliberate fall-through" comment with a proper "fall through"
> at the
On 5 October 2018 at 15:22, Ludovic Barre wrote:
> From: Ludovic Barre
>
> Recent versions of checkpatch have a new warning based on a documented
> preference of Linus to not use bool in structures due to wasted space and
> the size of bool is implementation dependent. For more information, see
On 5 October 2018 at 12:09, Gustavo A. R. Silva wrote:
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
>
> Notice that in this particular case, I replaced the "fall-through:"
> comment with a proper "fall through", which is what GCC
Multi AIO trace writing allows caching more kernel data into userspace
memory postponing trace writing for the sake of overall profiling data
thruput increase. It could be seen as kernel data buffer extension into
userspace memory.
With aio-cblocks option value different from 0, current defaul
Trace file offset is calculated and updated linearly after
enqueuing aio write at record__aio_pushfn().
record__aio_sync() blocks till completion of started AIO operation
and then proceeds.
record__mmap_read_sync() implements a barrier for all incomplete
aio write requests.
Signed-off-by: Ale
On Fri, Oct 05, 2018 at 04:39:43PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20181004:
>
> I added a supplied patch to the dma-mapping tree to fix overnight boot
> problems.
>
> I added a supplied patch to the nfs tree to fix an overnight build
> problem.
>
> The nfsd tree gain
On 04/10/2018 19:22, Guo Ren wrote:
> This timer is used by SMP system and use mfcr/mtcr instruction
> to access the regs.
>
> Changelog:
> - Add rollback for timer_of_cleanup.
> - Use request_percpu_irq separate from time_of.
> - Remove #define CPUHP_AP_CSKY_TIMER_STARTING.
> - Add CPUHP_AP_C
Em Wed, Oct 03, 2018 at 09:05:37AM +0530, Ravi Bangoria escreveu:
> LGTM.
> Tested-by: Ravi Bangoria
So, I've added this as a 'git rebase -i' 'fixup', i.e. kept the commit
log message for the patch this patch fixes, and combined the two into
just one patch so that we don't pollute the bisect hi
The map->data buffer is used to preserve map->base profiling data
for writing to disk. AIO map->cblock is used to queue corresponding
map->data buffer for asynchronous writing.
Signed-off-by: Alexey Budankov
---
Changes in v10:
- moved specific code to perf_mmap__aio_mmap(), perf_mmap__aio_mun
On 5 October 2018 at 15:22, Ludovic Barre wrote:
> From: Ludovic Barre
>
> This patch creates a common mmci_dma_setup/release which calls
> dma_setup/release callbacks of mmci_host_ops and manages
> common features like use_dma... If there is a fallbacks to
> pio mode, dma functions must check us
On 05/10/18 13:33, Matthias Brugger wrote:
On 05/10/2018 12:55, Marc Zyngier wrote:
Hi Matthias,
On 04/10/18 23:11, Matthias Brugger wrote:
Friendly reminder, if anyone has any comment on the patch :)
On 9/12/18 11:52 AM, matthias@kernel.org wrote:
From: Matthias Brugger
Some hardwar
Currently in record mode the tool implements trace writing serially.
The algorithm loops over mapped per-cpu data buffers and stores
ready data chunks into a trace file using write() system call.
At some circumstances the kernel may lack free space in a buffer
because the other buffer's half
This patch addes Neutis N5 support.
Emlid Neutis N5 is a SoM based on Allwinner H5.
The patch includes device tree file for Dev board
and dtsi file for SoM needs.
Changes from v1: separate dts file: dtsi for SoM
and motherboard dts file that inlcudes dtsi file.
Changes from v2 (5 oct 2018):
- put
On Fri, Oct 05, 2018 at 01:09:33AM +0530, Ganapatrao Kulkarni wrote:
> On Thu, Oct 4, 2018 at 5:51 PM Will Deacon wrote:
> > On Thu, Oct 04, 2018 at 11:12:09AM +0530, Ganapatrao Kulkarni wrote:
> > > can you please pull this patch?
> >
> > I still don't like the idea of just removing events like t
From: Ludovic Barre
This patch adds dma_finalize callback at mmci_host_ops
to allow to call specific variant.
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.c | 19 ---
drivers/mmc/host/mmci.h | 3 ++-
drivers/mmc/host/mmci_qcom_dml.c | 1 +
3 files
From: Ludovic Barre
The goal of this serie is to add support of sdmmc for stm32.
Be to able to add this new variant it is needed to do some changes in
mmci core:
-Internalize specific needs of legacy dmaengine.
-Create and setup dma_priv pointer.
-Create generic callbacks which share some feature
From: Ludovic Barre
This patch adds get_next_data callback to mmci_host_ops.
Generic mmci_get_next_data factorizes next_cookie check and
the host ops call.
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.c | 16 ++--
drivers/mmc/host/mmci.h | 2 ++
drivers
Emlid Neutis N5 is a SoM based on Allwinner H5, has a WiFi & BT
module, DDR3 RAM and eMMC.
- add neutis n5 dtsi file for SoM needs
- add neutis devboard dts file
- add neutis devboard target to dtb makefile
- new vendor prefix - emlid
Signed-off-by: Aleksandr Aleksandrov
Cc: Maxime Ripard
---
From: Ludovic Barre
This patch allows to define specific pio mask for variants.
Needed to support the STM32 sdmmc variant which has some bits
with different meaning (bits: 21,20,13,12,9)
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.c | 13 +++--
drivers/mmc/host/mmci.h | 5 +
From: Ludovic Barre
This patch adds a optional reset management.
STM32 sdmmc variant needs to reset hardware block
during the power cycle procedure (for re-initialization).
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.c | 7 +++
drivers/mmc/host/mmci.h | 2 ++
2 files changed, 9
From: Ludovic Barre
This patch adds a boolean property to allow to write datactrl
before to send command, whatever the command type (read or write).
Needed to support the STM32 sdmmc variant.
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.c | 6 --
drivers/mmc/host/mmci.h | 2 ++
2
From: Ludovic Barre
This patch adds datactrl variant property to define
dpsm enable bit. Needed to support the STM32 variant
(STM32 has no dpsm enable bit).
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.c | 15 ---
drivers/mmc/host/mmci.h | 2 ++
2 files changed, 14 inser
From: Ludovic Barre
The STM32 sdmmc variant has a different clock divider.
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.c | 2 ++
drivers/mmc/host/mmci.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index 72d16a3..6115c71 10
From: Ludovic Barre
This patch adds a stm32 sdmmc variant, rev 1.1.
Introduces a new Manufacturer id "0x53, ascii 'S' to define
new stm32 sdmmc family with clean range of amba
revision/configurations bits (corresponding to sdmmc_ver
register with major/minor fields).
Add 2 variants properties:
-d
From: Ludovic Barre
This patch adds dma_start callback to mmci_host_ops.
Create a generic mmci_dma_start function which regroup
common action between variant.
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.c | 69 +++-
drivers/mmc/host/mmci.
From: Ludovic Barre
All variants don't pretend to have a startbiterr.
-While data error check, if status register return an error
(like MCI_DATACRCFAIL) we must avoid to check MCI_STARTBITERR
(if not desired).
-expand start_err to MCI_IRQENABLE to avoid to set this bit by default.
Signed-off-by
From: Ludovic Barre
This patch adds command variant properties to define
cpsm enable bit and responses.
Needed to support the STM32 variant (shift of cpsm bit,
specific definition of commands response).
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.c | 47 +
From: Ludovic Barre
This patch adds stm32 sdmmc specific registers.
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.h | 56 +
1 file changed, 56 insertions(+)
diff --git a/drivers/mmc/host/mmci.h b/drivers/mmc/host/mmci.h
index e2ea8a5..a
From: Ludovic Barre
This patch adds set_clkreg and set_pwrreg callbacks
at mmci_host_ops to allow to call specific variant.
extends visibility of mmci_write_clk/pwrreg functions
to be used into specific file variant.
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.c | 16 ---
From: Ludovic Barre
This patch adds properties for stm32 sdmmc variant.
Signed-off-by: Ludovic Barre
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/mmc/mmci.txt | 10 ++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/mmc/mmci.txt
b/Docum
From: Ludovic Barre
This patch adds a boolean property to not read datacnt register.
Needed to support the STM32 sdmmc variant. MMCIDATACNT
register should be read only after the data transfer is completed.
When reading after an error event the read data count value may be
different from the real
From: Ludovic Barre
-Introduces dma_priv pointer to define specific
needs for each dma engine. This patch is needed to prepare
sdmmc variant with internal dma which not use dmaengine API.
-Moves next cookie to mmci host structure to share same cookie
management between all variants.
Signed-off-b
From: Ludovic Barre
This patch creates a common mmci_dma_setup/release which calls
dma_setup/release callbacks of mmci_host_ops and manages
common features like use_dma... If there is a fallbacks to
pio mode, dma functions must check use_dma.
error management:
-mmci_dmae_setup fail if Tx and Rx
From: Ludovic Barre
This patch adds a optional reset management.
Signed-off-by: Ludovic Barre
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/mmc/mmci.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mmc/mmci.txt
b/Documentation/devicetree
From: Ludovic Barre
This patch allows to define a datactrl block size
by variant, requested by STM32 sdmmc variant.
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.c | 13 +++--
drivers/mmc/host/mmci.h | 2 ++
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/driv
From: Ludovic Barre
This patch adds dma_error callback at mmci_host_ops
to allow to call specific variant.
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.c | 26 +++---
drivers/mmc/host/mmci.h | 2 ++
drivers/mmc/host/mmci_qcom_dml.c | 1 +
3 fil
From: Ludovic Barre
This patch adds prepare/unprepare callbacks to mmci_host_ops.
Like this mmci_pre/post_request can be generic, mmci_prepare_data
and mmci_unprepare_data provide common next_cookie management.
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.c | 101 +++
From: Ludovic Barre
This patch adds validate_data callback at mmci_host_ops
to check specific constraints of variant.
Move mmci_validate_data function to regroup mmci_host_ops interfaces.
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.c | 39 +--
dri
From: Ludovic Barre
This patch merges the prepare data functions.
This allows to define a single access to prepare data service.
This prepares integration for mmci host ops.
Signed-off-by: Ludovic Barre
---
drivers/mmc/host/mmci.c | 19 +++
1 file changed, 7 insertions(+), 12 d
From: Ludovic Barre
Recent versions of checkpatch have a new warning based on a documented
preference of Linus to not use bool in structures due to wasted space and
the size of bool is implementation dependent. For more information, see
the email thread at https://lkml.org/lkml/2017/11/21/384
f
On Thu, Oct 04, 2018 at 06:08:08PM +0200, Lubomir Rintel wrote:
> On OLPC XO-1 we're discovering the RTC via device tree from the arch
> initcall. Don't let the PC platform register another one from its
> device initcall, it's not going to work:
Btw, a build fix ontop:
---
From: Borislav Petkov
On Fri, Oct 05, 2018 at 01:13:52PM +0200, Dmitry Vyukov wrote:
> On Fri, Oct 5, 2018 at 12:16 PM, Jan Glauber wrote:
> > Hi,
> >
> > I'm getting below warning when I enable CONFIG_KASAN_EXTRA=y on a arm64
> > ThunderX2 system.
> > As far as I can tell this is present since KASAN_EXTRA was introdu
> On Oct 4, 2018, at 11:00 PM, Thomas Gleixner wrote:
>
>> On Thu, 4 Oct 2018, Andy Lutomirski wrote:
>> index 18c8a78d1ec9..419de7552c2f 100644
>> --- a/arch/x86/entry/vdso/vclock_gettime.c
>> +++ b/arch/x86/entry/vdso/vclock_gettime.c
>> @@ -147,10 +147,9 @@ notrace static int do_hres(clocki
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 1357317 ("Missing break in switch")
Addresses-Coverity-ID: 1460342 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva
---
drivers/memstick/host/tifm_ms.
* Borislav Petkov wrote:
> On Fri, Oct 05, 2018 at 11:31:08AM +0200, Ingo Molnar wrote:
> >
> > * Nadav Amit wrote:
> >
> > > > Are you using defconfig or a reasonable distro-config for your tests?
> > >
> > > I think it is best to take the kernel and run localyesconfig for testing.
> >
>
Currently, if no matching policy node can be found for a trace source,
we'll try to use "default" policy node, then, if that doesn't exist,
we'll pick the first node, in order of creation. If that also fails,
we'll allocate M/C range from the beginning of the device's M/C range.
This makes it diff
Add the SPDX header to the STM class documentation.
Signed-off-by: Alexander Shishkin
Tested-by: Mathieu Poirier
---
Documentation/trace/stm.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/trace/stm.rst b/Documentation/trace/stm.rst
index 944994fd6368..99f99963e5e7 10064
Add a document describing MIPI SyS-T protocol driver usage.
Signed-off-by: Alexander Shishkin
Tested-by: Mathieu Poirier
---
Documentation/trace/sys-t.rst | 62 +++
1 file changed, 62 insertions(+)
create mode 100644 Documentation/trace/sys-t.rst
diff --git a/D
Minor code shortening, no functional changes.
Signed-off-by: Alexander Shishkin
Tested-by: Mathieu Poirier
---
drivers/hwtracing/stm/policy.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/hwtracing/stm/policy.c b/drivers/hwtracing/stm/policy.c
index 530448bd5a
Fix whitespace in the code for better readability, no functional changes.
Signed-off-by: Alexander Shishkin
Tested-by: Mathieu Poirier
---
drivers/hwtracing/stm/heartbeat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwtracing/stm/heartbeat.c
b/drivers/hwtracing
This adds ABI documentation for the new configfs attributes that come
with the MIPI SyS-T protocol driver.
Signed-off-by: Alexander Shishkin
Tested-by: Mathieu Poirier
---
.../ABI/testing/configfs-stp-policy-p_sys-t | 41 +++
1 file changed, 41 insertions(+)
create mode 10064
This adds support for CLOCKSYNC SyS-T packets, that establish correlation
between the transport clock (STP timestamps) and SyS-T timestamps. These
packets are sent periodically to allow the decoder to keep both time
sources in sync.
Signed-off-by: Alexander Shishkin
Tested-by: Mathieu Poirier
--
The rules and order of identification of trace sources against the
"stp-policy" have changed; update the documentation to reflect that.
Signed-off-by: Alexander Shishkin
---
Documentation/trace/stm.rst | 36 +++-
1 file changed, 27 insertions(+), 9 deletions(-)
d
This adds support for MIPI SyS-T protocol as specified in an open
standard [1]. In addition to marking message boundaries, it also
supports tagging messages with the source UUID, to provide better
distinction between trace sources, including payload length and
timestamp in the message's metadata.
This adds a helper to paste 2 pointer arrays together, useful for merging
various types of attribute arrays. There are a few places in the kernel
tree where this is open coded, and I just added one more in the STM class.
The naming is inspired by memset_p() and memcat(), and partial credit for
it
Instead of a local copy, use the memcat_p() helper to merge policy
node attributes.
Signed-off-by: Alexander Shishkin
Tested-by: Mathieu Poirier
---
drivers/hwtracing/stm/policy.c | 29 +
1 file changed, 1 insertion(+), 28 deletions(-)
diff --git a/drivers/hwtracing
Add a helper to write a sequence of bytes as STP data packets. This
is used by protocol drivers to output their metadata, as well as the
actual data payload.
Signed-off-by: Alexander Shishkin
Tested-by: Mathieu Poirier
---
drivers/hwtracing/stm/core.c | 51 +++-
Now that the default framing protocol is factored out into its own driver,
switch over to using the driver for writing data. To that end, make the
policy code require a valid protocol name (or absence thereof, which is
equivalent to "p_basic").
Also, to make transition easier, make stm class reque
The current naming of stp-policy root type and group ops is confusing,
rename them for better readability.
Signed-off-by: Alexander Shishkin
Tested-by: Mathieu Poirier
---
drivers/hwtracing/stm/policy.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/hwt
At the moment, the stm class applies a certain STP framing pattern to
the data as it is written to the underlying STM device. In order to
allow different framing patterns (aka protocols), this patch introduces
the concept of STP protocol drivers, defines data structures and APIs
for the protocol dr
The STP framing pattern that the stm class implicitly applies to the
data payload is, in fact, a protocol. This patch moves the relevant code
out of the stm core into its own driver module.
Signed-off-by: Alexander Shishkin
Tested-by: Mathieu Poirier
---
drivers/hwtracing/stm/Kconfig | 15 +++
following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3:
Linux 4.19-rc1 (2018-08-26 14:11:59 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/ash/stm.git
tags/stm-for-greg-20181005
for you to fetch changes up to
On Fri, Oct 05, 2018 at 01:27:08PM +0100, John Garry wrote:
> On 04/10/2018 13:22, Will Deacon wrote:
> >Hi Ganapat,
> >
> >On Thu, Oct 04, 2018 at 11:12:09AM +0530, Ganapatrao Kulkarni wrote:
> >>can you please pull this patch?
> >
> >I still don't like the idea of just removing events like this,
On Fri, Oct 05, 2018 at 02:35:16PM +0200, Geert Uytterhoeven wrote:
> Hi Wolfram,
>
> On Fri, Oct 5, 2018 at 2:30 PM Wolfram Sang wrote:
> > No activity since late 2017 and I couldn't find a new email address.
> >
> > Signed-off-by: Wolfram Sang
> > ---
> >
> > This patch can be happily dropped,
Hi Wolfram,
On Fri, Oct 5, 2018 at 2:30 PM Wolfram Sang wrote:
> No activity since late 2017 and I couldn't find a new email address.
>
> Signed-off-by: Wolfram Sang
> ---
>
> This patch can be happily dropped, of course, if someone knows a new
> contact (and assuming still interest in this main
On 05/10/2018 12:55, Marc Zyngier wrote:
> Hi Matthias,
>
> On 04/10/18 23:11, Matthias Brugger wrote:
>> Friendly reminder, if anyone has any comment on the patch :)
>>
>> On 9/12/18 11:52 AM, matthias@kernel.org wrote:
>>> From: Matthias Brugger
>>>
>>> Some hardware does not implement t
No activity since late 2017 and I couldn't find a new email address.
Signed-off-by: Wolfram Sang
---
This patch can be happily dropped, of course, if someone knows a new
contact (and assuming still interest in this maintainership).
MAINTAINERS | 1 -
1 file changed, 1 deletion(-)
diff --git a
On 04/10/2018 13:22, Will Deacon wrote:
Hi Ganapat,
On Thu, Oct 04, 2018 at 11:12:09AM +0530, Ganapatrao Kulkarni wrote:
can you please pull this patch?
I still don't like the idea of just removing events like this, especially
when other architectures (including some x86 and Power CPUs afaict
On Fri, 5 Oct 2018 14:04:52 +0200
Ricardo Ribalda Delgado wrote:
> Hi Boris
> On Fri, Oct 5, 2018 at 12:12 PM Boris Brezillon
> wrote:
> >
> > On Fri, 5 Oct 2018 11:54:18 +0200
> > Ricardo Ribalda Delgado wrote:
> >
> > > Hi Boris
> > >
> > > Just seen that you already did the rebase at
> >
401 - 500 of 648 matches
Mail list logo