ster 19 in remote 'g' packet"
>
> This also causes the register serialization/deserialization logic to
> overflow gdb_regs[], overwriting whatever follows.
>
> Fixes: 834b2964b7ab ("kgdb,arm: fix register dump")
> Cc: # 2.6.37+
> Signed-off-by: David Rivshin
Acked-by: Rabin Vincent
From: Rabin Vincent
softirq time accounting is broken on v4.9.x if ksoftirqd runs.
With
CONFIG_IRQ_TIME_ACCOUNTING=y
# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
this test code:
struct tasklet_struct tasklet;
static void delay_tasklet(unsigned long data
On Tue, Aug 22, 2017 at 10:45:24AM +0100, Will Deacon wrote:
> On Mon, Aug 21, 2017 at 02:42:03PM +0100, Mark Rutland wrote:
> > On Tue, Jul 11, 2017 at 03:58:49PM +0100, Will Deacon wrote:
> > > On Tue, Jul 11, 2017 at 03:19:22PM +0100, Mark Rutland wrote:
> > > > When there's a fatal signal pendi
From: Rabin Vincent
When a CIFS filesystem is mounted with the forcemand option and the
following command is run on it, lockdep warns about a circular locking
dependency between CifsInodeInfo::lock_sem and the inode lock.
while echo foo > hello; do :; done & while touch -c hello; do
On Thu, May 18, 2017 at 07:21:49AM +0200, Marc Burkhardt wrote:
> tonight my dmesg was flooded with mesages like
>
> vmscan: shrink_slab: ext4_es_scan+0x0/0x150 negative objects to delete
> nr=-2147483624
>
> Is that an integer overflow happening in ext4?
>
> It's the first time I see this mes
From: Rabin Vincent
There currently appears to be no way for userspace to find out the
underlying volume number for a mounted ubifs file system, since ubifs
uses anonymous block devices. The volume name is present in
/proc/mounts but UBI volumes can be renamed after the volume has been
mounted
t; valid volume name, anyway? That would seem to be the obvious approach...
The following patch works for me, if it's OK to show options that can't
actually be used when mounting:
8<---
>From 19797334f9c87a2e0c90fe2c93f29cce397b6230 Mon Sep 17 00:00:00 2001
Fro
From: Rabin Vincent
There currently appears to be no way for userspace to find out the
underlying volume number for a mounted ubifs file system, since ubifs
uses anonymous block devices. The volume name is present in
/proc/mounts but UBI volumes can be renamed after the volume has been
mounted
From: Rabin Vincent
There currently appears to be no way for userspace to find out the
underlying volume number for a mounted ubifs file system, since ubifs
uses anonymous block devices. The volume name is present in
/proc/mounts but UBI volumes can be renamed after the volume has been
mounted
From: Rabin Vincent
When the final cifsFileInfo_put() is called from cifsiod and an oplock
break work is queued, lockdep complains loudly:
=
[ INFO: possible recursive locking detected ]
4.11.0+ #21 Not tainted
From: Rabin Vincent
cifs_relock_file() can perform a down_write() on the inode's lock_sem even
though it was already performed in cifs_strict_readv(). Lockdep complains
about this. AFAICS, there is no problem here, and lockdep just needs to be
told that this nesting
2 119 sched:sched_process_exec
+ 1 878 sched:sched_process_exec
- 1,238817018 seconds time elapsed
+ 0,971020553 seconds time elapsed
Signed-off-by: Rabin Vincent
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 779302695453..c78a
From: Rabin Vincent
Commit 6afcf8ef0ca0 ("mm, compaction: fix NR_ISOLATED_* stats for pfn
based migration") moved the dec_node_page_state() call (along with the
page_is_file_cache() call) to after putback_lru_page(). But
page_is_file_cache() can change after putback_lru_page() is cal
From: Rabin Vincent
kmsg_dump_get_buffer() selects the youngest log messages which fit into
the provided buffer. When that function determines the correct start
index, by looping and calling msg_print_text() with a NULL buffer, it
allows the youngest log messages to completely fill the provided
From: Rabin Vincent
mipsxx_pmu_handle_shared_irq() calls irq_work_run() while holding the
pmuint_rwlock for read. irq_work_run() can, via perf_pending_event(),
call try_to_wake_up() which can try to take rq->lock.
However, perf can also call perf_pmu_enable() (and thus take the
pmuint_rwl
rride out of that ifdef and into the CONFIG_DYNAMIC_FTRACE
> ifdef where it belongs.
>
> Fixes: 80d6b0c2eed2a ("ARM: mm: allow text and rodata sections to be
> read-only")
>
> Suggested-by: Nicolai Stange
> Suggested-by: Rabin Vincent
> Signed-off-by: Abel Vesa
Acked-by: Rabin Vincent
On Sat, Mar 04, 2017 at 12:51:12AM +, Abel Vesa wrote:
> diff --git a/arch/arm/kernel/entry-ftrace.S b/arch/arm/kernel/entry-ftrace.S
> index c73c403..93f9abb 100644
> --- a/arch/arm/kernel/entry-ftrace.S
> +++ b/arch/arm/kernel/entry-ftrace.S
> @@ -92,12 +92,78 @@
> 2: mcount_exit
> .endm
On Thu, Mar 02, 2017 at 02:36:23PM +0100, Rafał Miłecki wrote:
> I just updated kernel on my SmartRG SR400ac (bcm4708-smartrg-sr400ac.dts) from
> 4.4 to 4.9 and noticed that this part of the log:
> [0.020820] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
> (...)
> [0.190806] Brou
On Fri, Jan 27, 2017 at 07:19:30PM +0100, Borislav Petkov wrote:
> On Fri, Jan 27, 2017 at 04:42:30PM +0100, Rabin Vincent wrote:
> > proc_dostring() eats the '\n' and stops
>
> Not a problem, see diff below.
Would it be possible for you to please submit it as a patch y
On Fri, Jan 27, 2017 at 04:01:41PM +0100, Borislav Petkov wrote:
> On Fri, Jan 27, 2017 at 02:11:46PM +0100, Rabin Vincent wrote:
> > @@ -177,7 +177,7 @@ int devkmsg_sysctl_set_loglvl(struct ctl_table *table,
> > int write,
> > * Do not accept an unknown string O
From: Rabin Vincent
The comment says that it doesn't want to accept trailing crap but that's
just what it allows:
# echo -n offX > /proc/sys/kernel/printk_devkmsg
#
while at the same time it rejects legitimate uses:
# echo -n off > /proc/sys/kernel/printk_devkmsg
-sh: e
On Fri, Nov 18, 2016 at 02:20:27PM +, Joao Pinto wrote:
> For now we are interesting in improving the synopsys QoS driver under
> /nect/ethernet/synopsys. For now the driver structure consists of a single
> file
> called dwc_eth_qos.c, containing synopsys ethernet qos common ops and platform
>
On Mon, Nov 14, 2016 at 10:40:08AM -0500, Steven Rostedt wrote:
> On Mon, 14 Nov 2016 13:40:17 +
> Russell King - ARM Linux wrote:
> > On Mon, Nov 14, 2016 at 02:03:45PM +0100, Rabin Vincent wrote:
> > > +static inline bool arch_syscall_match_sym
Commit-ID: c56cb33b56c13493eeb95612f80e4dd6e35cd109
Gitweb: http://git.kernel.org/tip/c56cb33b56c13493eeb95612f80e4dd6e35cd109
Author: Rabin Vincent
AuthorDate: Wed, 10 Aug 2016 15:52:28 +0200
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 7 Nov 2016 22:13:47 -0300
perf
From: Rabin Vincent
ARM has a few system calls (most notably mmap) for which the names of
the functions which are referenced in the syscall table do not match the
names of the syscall tracepoints. As a consequence of this, these
tracepoints are not made available. Implement
From: Rabin Vincent
ARM has a few system calls (most notably mmap) for which the names of
the functions which are referenced in the syscall table do not match the
names of the syscall tracepoints. As a consequence of this, these
tracepoints are not made available. Implement
From: Rabin Vincent
As the documentation for kthread_stop() says, "if threadfn() may call
do_exit() itself, the caller must ensure task_struct can't go away".
dm-crypt does not ensure this and therefore crashes when crypt_dtr()
calls kthread_stop(). The crash is trivially reprodu
On Mon, Sep 19, 2016 at 12:15:42PM -0700, Linus Torvalds wrote:
> Hmm. Would you mind if I change the
>
> addr2line -fpie $objfile $hexaddr | sed "s;$dir_prefix;;"
>
> into
>
> addr2line -fpie $objfile $hexaddr |
> sed "s; at $dir_prefix\(\./\)*; at ;"
>
> instea
On Fri, Sep 16, 2016 at 04:26:56PM -0500, Josh Poimboeuf wrote:
> + addr2line -ie $objfile $hexaddr
Could you pass in -f and -p too to addr2line?
Before:
$ scripts/faddr2line ~/dev/kvm2/vmlinux free_reserved_area+0x90
/home/rabin/dev/linux/include/linux/compiler.h:222
/home/rabin/dev/linu
ed-off-by: Sebastian Andrzej Siewior
Tested-by: Rabin Vincent
This patch is needed for pstore to work on (most?) ARMv7 chips. See
this thread for details:
https://lkml.kernel.org/g/CABXOdTfT7xMfiBvRuUS1hsVs=q5q2wy1x1z8ocyyjnfckm0...@mail.gmail.com
On Sat, Aug 27, 2016 at 09:07:28AM +0200, Vegard Nossum wrote:
> I got this with syzkaller:
>
> general protection fault: [#1] PREEMPT SMP KASAN
> Dumping ftrace buffer:
>(ftrace buffer empty)
> CPU: 0 PID: 11941 Comm: syz-executor Not tainted 4.8.0-rc2+ #169
> Hardwar
From: Rabin Vincent
Since 841e3558b2d ("perf callchain: Recording 'dwarf' callchains do not need
DWARF unwinding support"), --call-graph dwarf is allowed in perf record
even without unwind support. A couple of other places don't reflect
this yet though: the help te
From: Rabin Vincent
When using split debug info, the file without debug info may not have a
.debug_frame section, so we need to check the symsrc ELF also, since
that's the file we actually read the unwind information from.
Signed-off-by: Rabin Vincent
---
tools/perf/util/unwind-libu
On Thu, Jul 28, 2016 at 01:20:22PM +0100, Russell King - ARM Linux wrote:
> To me, what this means is that the DT parsing of linux,stdout is
> broken - while it may look nice from a design point of view, the
> design is wrong and fails to take account of non-UART consoles in
> the system.
Note tha
On Tue, Jun 28, 2016 at 03:33:18PM +0900, Namhyung Kim wrote:
> On Tue, Jun 28, 2016 at 3:25 PM, Namhyung Kim wrote:
> > I'm running some guest machines for kernel development. For debugging
> > purpose, I use lots of trace_printk() since it's faster than normal
> > printk(). When kernel crash h
Ninja is a small build system with a focus on speed. More details at
https://ninja-build.org/.
I made an experimental Ninja build file generator for the kernel. The
purpose was to see how much we could decrease compile times (especially
to detect errors) for single file changes. Results on my m
rsion && perf stat -r5 make kernelversion
Before: 0,252219929 seconds time elapsed ( +- 0,39% )
After: 0,008607464 seconds time elapsed ( +- 0,50% )
Signed-off-by: Rabin Vincent
---
Makefile | 15 ---
scripts/Kbuild
)
After: 0,864487173 seconds time elapsed ( +- 0,35% )
Signed-off-by: Rabin Vincent
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 6471f20ca400..91baa282f3fa 100644
--- a/Makefile
+++ b/Makefile
@@ -814,7 +814,7 @@ KBUILD_AFLAGS += $(ARC
On Tue, Apr 26, 2016 at 09:14:47PM +0200, Arnd Bergmann wrote:
> On Tuesday 26 April 2016 21:04:42 Rabin Vincent wrote:
> > The support is added via and as such is only
> > available on the archs which use that header.
>
> Why that limitation? I think only few architectur
Instead, tracing must be
explicitly enabled in the required driver source files by #defining
TRACE_MMIO_HELPERS at the top of the file.
The support is added via and as such is only
available on the archs which use that header.
Signed-off-by: Rabin Vincent
---
include/asm-generic/io.h | 4 ++
i
Commit-ID: fb90a6e93c0684ab2629a42462400603aa829b9c
Gitweb: http://git.kernel.org/tip/fb90a6e93c0684ab2629a42462400603aa829b9c
Author: Rabin Vincent
AuthorDate: Mon, 4 Apr 2016 15:42:02 +0200
Committer: Ingo Molnar
CommitDate: Wed, 13 Apr 2016 11:23:21 +0200
sched/debug: Don't
From: Rabin Vincent
sysrq_sched_debug_show() can dump a lot of information. Don't print out
all that if we're just trying to get a list of blocked tasks (SysRq-W).
The information is still accessible with SysRq-T.
Signed-off-by: Rabin Vincent
---
kernel/sched/core.c | 3 ++-
1 fi
On Tue, Mar 29, 2016 at 05:13:05PM +0100, Marc Zyngier wrote:
> - What if my timer is not connected to a controller that implements this
> API? Something that is not a GIC, for example?
As you know irq_set_irqchip_state() does nothing in that case, and the erratum
is thus presumably not worked aro
On Tue, Mar 29, 2016 at 04:21:03PM +0200, Daniel Lezcano wrote:
> On 03/29/2016 10:08 AM, Rabin Vincent wrote:
> > -0 [001] d.h2 99.850527: irq_handler_entry: irq=16 name=gt
> > -0 [001] d.h2 99.850538: irq_handler_exit: irq=16 ret=handled
> > -0 [001] d.H2 99.850540: irq_
From: Rabin Vincent
According to the errata document for the Cortex A9 MPCore, the correct
code sequence in the interrupt handler to workaround erratum 740657
"Global Timer can send two interrupts for the same event" is:
(1) Read the ICCIAR (Interrupt Acknowledge) register
(2)
r unhappy.
>
> Signed-off-by: Alexandre Courbot
> Cc: Rabin Vincent
> ---
> Changes since v1:
> - Filter flags that may cause problem instead of forcing GFP_KERNEL
> (and risk sleeping in atomic context), as suggested by Rabin.
Acked-by: Rabin Vincent
Thanks.
On Fri, Mar 18, 2016 at 11:12:26AM +0900, Alexandre Courbot wrote:
> Commit 19e6e5e5392b ("ARM: 8547/1: dma-mapping: store buffer
> information") allocates a structure meant for internal buffer management
> with the GFP flags of the buffer itself. This can trigger the following
> safeguard in the s
(fixed Jens' address)
On Thu, Mar 10, 2016 at 06:37:27PM +0100, Jan Kara wrote:
> On Thu 10-03-16 13:26:03, Rabin Vincent wrote:
> > If a block device is closed while iterate_bdevs() is handling it, the
> > following NULL pointer dereference occurs because bdev-&g
acefully.
Cc: sta...@vger.kernel.org
Signed-off-by: Rabin Vincent
---
fs/splice.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/fs/splice.c b/fs/splice.c
index 82bc0d64fc38..19e0b103d253 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -185,6 +185,9 @@ ssize_t splice_to_pipe(struct pip
From: Rabin Vincent
If a block device is closed while iterate_bdevs() is handling it, the
following NULL pointer dereference occurs because bdev->b_disk is NULL
in bdev_get_queue(), which is called from blk_get_backing_dev_info() (in
turn called by the mapping_cap_writeback_dirty() call
On Fri, Feb 19, 2016 at 02:50:52PM +0100, Michal Nazarewicz wrote:
> I haven’t looked closely at the code, but why not:
>
> struct cma *cma =
> if (!cma_release(dev_get_cma_area(dev), page, size >> PAGE_SHIFT)) {
> // ... do whatever other non-CMA free
> }
The p
On Fri, Feb 19, 2016 at 02:06:00PM +, Russell King - ARM Linux wrote:
> On Fri, Feb 19, 2016 at 09:12:04AM +0100, Rabin Vincent wrote:
> > Given a device which uses arm_coherent_dma_ops and on which
> > dev_get_cma_area(dev) returns non-NULL, the following usage of the DMA
>
Don't print out an error with the driver sees EPROBE_DEFER when
attempting to get the gpio. These errors are usually transient; the
probe will be retried later.
Signed-off-by: Rabin Vincent
---
drivers/regulator/gpio-regulator.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
Split out the logic in cma_release() which checks if the page is in the
contiguous area to a new function which can be called separately. ARM
will use this.
Signed-off-by: Rabin Vincent
---
include/linux/cma.h | 12
mm/cma.c| 27 +++
2 files
the free
function, so fix it by using the new in_cma() function to determine if a
buffer was allocated with CMA, similar to how we check for
__in_atomic_pool().
Fixes: 21caf3a7 ("ARM: 8398/1: arm DMA: Fix allocation from CMA for coherent
DMA")
Signed-off-by: Rabin Vincent
---
arch/arm/mm
On Thu, Aug 20, 2015 at 09:03:04PM +0200, Daniel Lezcano wrote:
> On 08/19/2015 03:43 PM, Rabin Vincent wrote:
> > Provide a delay timer using the lower 32-bits of the global timer so
> > that we can use that instead of having to calibrating delays.
> >
> > S
On Mon, Feb 01, 2016 at 11:44:32AM -0800, Stephen Boyd wrote:
> On 01/30, Rabin Vincent wrote:
> > For __gnu_mcount_nc, wouldn't it be better to replace both the push {lr}
> > and the bl with nop instructions, instead of keeping a (useless) push +
> > pop sequence?
>
On Mon, Feb 01, 2016 at 04:06:23PM -0800, Stephen Boyd wrote:
> In similar spirit to x86 and arm64 support, add a make_nop_arm()
> to replace calls to mcount with nops in sections that aren't
> traced.
>
> Cc: Russell King
> Cc: Rabin Vincent
> Signed-off-by: Stephe
On Fri, Jan 29, 2016 at 05:18:06PM -0800, Stephen Boyd wrote:
> diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c
> index e167592793a7..0b16d14c54fb 100644
> --- a/scripts/recordmcount.c
> +++ b/scripts/recordmcount.c
> @@ -206,6 +206,52 @@ static int make_nop_x86(void *map, size_t const
On Tue, Jan 05, 2016 at 08:00:45AM -0800, Eric Dumazet wrote:
> On Tue, 2016-01-05 at 16:23 +0100, Rabin Vincent wrote:
> > The SKF_AD_ALU_XOR_X ancillary is not like the other ancillary data
> > instructions since it XORs A with X while all the others replace A with
> > so
helper to determine if A needs to be cleared given the first
instruction in a filter, and use this in the JITs. Except for ARM, the
rest have only been compile-tested.
Fixes: 3480593131e0 ("net: filter: get rid of BPF_S_* enum")
Signed-off-by: Rabin Vincent
---
arch/arm/net/bpf_jit_32.c
On Mon, Jan 04, 2016 at 11:24:14AM -0700, Mathieu Poirier wrote:
> On 20 December 2015 at 08:29, Rabin Vincent wrote:
> > This patch introduces a use-after-free/double kfree() if the sink is
> > disabled after the source.
> >
> > With this command sequence:
> >
On Mon, Dec 28, 2015 at 12:11:17PM -0700, Jens Axboe wrote:
> On 12/28/2015 12:07 PM, Rabin Vincent wrote:
> >On Mon, Dec 28, 2015 at 11:52:24AM -0700, Jens Axboe wrote:
> >>Something like this should work, can you test it?
> >
> >Spits out a bunch of the f
On Mon, Dec 28, 2015 at 11:52:24AM -0700, Jens Axboe wrote:
> Something like this should work, can you test it?
Spits out a bunch of the following. It's this assertion:
static inline void queue_lockdep_assert_held(struct request_queue *q)
{
if (q->queue_lock)
lockdep_asse
rform_write+0x14c/0x1c0
[] __generic_file_write_iter+0x190/0x1f0
[] blkdev_write_iter+0x7b/0x100
[] __vfs_write+0xaa/0xe0
[] vfs_write+0x95/0x100
[] ? __fget_light+0x6f/0x90
[] SyS_pwrite64+0x77/0x90
[] entry_SYSCALL_64_fastpath+0x12/0x76
---[ end trace 39b7df36fb237be1 ]---
Signe
On Wed, Dec 23, 2015 at 09:27:28AM -0700, Mathieu Poirier wrote:
> On 19 December 2015 at 10:13, Rabin Vincent wrote:
> > It should presumably be using pm_runtime_put() instead.
>
> That's a first - what platform did you test on? If I send you fixes
> will you be a
On Fri, Dec 18, 2015 at 01:58:58PM -0700, Mathieu Poirier wrote:
> When using the Coresight framework from the sysFS interface a
> tracer is always handling a single session and as such, a path
> can be associated with a tracer. But when supporting multiple
> session per tracer there is no guarant
On Fri, Dec 18, 2015 at 01:58:56PM -0700, Mathieu Poirier wrote:
> This patchset aims to integrate configuration and control of
> the Coresight tracers with the perf sub-system.
>
> The goal is to use PMUs to represent tracers and the auxiliary
> buffer enhancement to collect processor traces. As
On Fri, Dec 18, 2015 at 01:59:20PM -0700, Mathieu Poirier wrote:
> +struct auxtrace_record
> +*auxtrace_record__init(struct perf_evlist *evlist, int *err)
> +{
> + struct perf_pmu *cs_etm_pmu;
> + struct perf_evsel *evsel;
> + bool found_etm = false;
> +
> + cs_etm_pmu = perf_pmu__f
On Fri, Dec 18, 2015 at 01:59:13PM -0700, Mathieu Poirier wrote:
> +static void etb_update_buffer(struct coresight_device *csdev,
> + struct perf_output_handle *handle,
> + void *sink_config)
> +{
> + int i, cur;
> + u32 *buf_ptr;
...
>
On Fri, Dec 18, 2015 at 01:59:00PM -0700, Mathieu Poirier wrote:
> @@ -415,9 +418,13 @@ struct list_head *coresight_build_path(struct
> coresight_device *csdev)
> */
> void coresight_release_path(struct list_head *path)
> {
> + struct coresight_device *csdev;
> struct coresight_node
On Thu, Oct 29, 2015 at 10:46:49AM +0100, Ingo Molnar wrote:
> Would it be possible to add a gcc and glibc building portion as well? That
> would
> make it entirely self-hosting.
Yes, but:
- Those that intend to run the built binary on a target would presumably
already have a cross-compiler l
Commit-ID: 3af6ed84eb43c587beb5f325e39e65d08c61
Gitweb: http://git.kernel.org/tip/3af6ed84eb43c587beb5f325e39e65d08c61
Author: Rabin Vincent
AuthorDate: Thu, 29 Oct 2015 08:49:37 +0100
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 29 Oct 2015 17:46:35 -0300
tools build
Commit-ID: 7ed4915ad60788d6b846e2cd034f49ee15698143
Gitweb: http://git.kernel.org/tip/7ed4915ad60788d6b846e2cd034f49ee15698143
Author: Rabin Vincent
AuthorDate: Thu, 29 Oct 2015 08:49:36 +0100
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 29 Oct 2015 17:48:38 -0300
perf unwind
libdw-dwarf-unwind: [ OFF ]
... zlib: [ on ]
... lzma: [ on ]
... get_cpuid: [ OFF ]
Signed-off-by: Rabin Vincent
---
v2: expand commit message, add comments in Makefile, rename to Makefile.cross
tools/p
ction `bfd_errmsg':
bfd.c:(.text+0x168): undefined reference to `xstrerror'
bbfd.a(opncls.o): In function `_bfd_new_bfd':
opncls.c:(.text+0xe8): undefined reference to `objalloc_create'
...
Signed-off-by: Rabin Vincent
---
v2: rewrite commit message
tools/build/featur
Even if --symfs is used to point to the debug binaries, we send in the
non-debug filenames to libunwind, which leads to libunwind not finding
the debug frame. Fix this by preferring the file in --symfs, if it is
available.
Signed-off-by: Rabin Vincent
---
v2: fall back to ->name
-by: Geert Uytterhoeven
Since both DEBUG_SET_MODULE_RONX and DEBUG_RODATA depend on MMU, we'll
never get to this code on !MMU so this ifdef build fix should be ok.
Acked-by: Rabin Vincent
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the
kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN'
> > undeclared (first use in this function): => 39:2
> > + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_YOUNG'
> > undeclared (first use in this function): => 39:2
>
&g
On Mon, Oct 26, 2015 at 12:33:18AM +0530, Afzal Mohammed wrote:
> On Sun, Oct 25, 2015 at 06:38:18PM +0100, Geert Uytterhoeven wrote:
> > I think we should have at least one arm-nommu platform in the upstream
> > kernel,
> > with a suitable defconfig, so 0build will catch regressions.
>
> afaik,
Commit-ID: 8eac1d5e9256260b9cc3bfcdd9b8b995990950f5
Gitweb: http://git.kernel.org/tip/8eac1d5e9256260b9cc3bfcdd9b8b995990950f5
Author: Rabin Vincent
AuthorDate: Sun, 27 Sep 2015 20:37:57 +0200
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 12 Oct 2015 23:25:25 -0300
perf
Commit-ID: 186c6cfb32beae66140bc3c3fe4a519ee0234e33
Gitweb: http://git.kernel.org/tip/186c6cfb32beae66140bc3c3fe4a519ee0234e33
Author: Rabin Vincent
AuthorDate: Sun, 27 Sep 2015 20:37:55 +0200
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 12 Oct 2015 23:27:40 -0300
perf
On Mon, Oct 12, 2015 at 01:35:02PM +0200, Jiri Olsa wrote:
> We have FEATURE_CHECK_CFLAGS/FEATURE_CHECK_LDFLAGS variables
> to pass CFLAGS/LDFLAGS to feature detection build
>
> Could you also be more specific on what is missing
> to make the libiberty check compile?
We don't need any special CFL
On Mon, Oct 12, 2015 at 02:35:08PM +0200, Namhyung Kim wrote:
> On Mon, Oct 12, 2015 at 8:24 PM, Jiri Olsa wrote:
> > On Sun, Sep 27, 2015 at 08:37:56PM +0200, Rabin Vincent wrote:
> >> Even if --symfs is used to point to the debug binaries, we send in the
> >> non-d
On Mon, Oct 12, 2015 at 01:42:29PM +0200, Jiri Olsa wrote:
> On Sun, Sep 27, 2015 at 08:37:59PM +0200, Rabin Vincent wrote:
> > In order to make it easier for people to qucikly get up and running with
> > a fairly full featured cross-compiled mainline perf, provide a
> > Mak
Hi Arnaldo,
Do you have any comments on this patch set?
Thanks.
On Sun, Sep 27, 2015 at 08:37:55PM +0200, Rabin Vincent wrote:
> unw_word_t is uint64_t even on 32-bit MIPS. Cast it to uintptr_t before
> the cast to void *p to get rid of the following errors:
>
> util/unwind-lib
libslang: [ on ]
... libunwind: [ on ]
...libdw-dwarf-unwind: [ OFF ]
... zlib: [ on ]
... lzma: [ on ]
Signed-off-by: Rabin Vincent
---
tools/perf/Makef
inter-cast]
util/unwind-libunwind.c:475:2: error: cast to pointer from integer of different
size [-Werror=int-to-pointer-cast]
cc1: all warnings being treated as errors
make[3]: *** [util/unwind-libunwind.o] Error 1
Signed-off-by: Rabin Vincent
---
tools/perf/util/unwind-libunwind.c |4 ++
0x168): undefined reference to `xstrerror'
bbfd.a(opncls.o): In function `_bfd_new_bfd':
opncls.c:(.text+0xe8): undefined reference to `objalloc_create'
...
Signed-off-by: Rabin Vincent
---
tools/build/feature/Makefile |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
When NO_LIBUNWIND_DEBUG_FRAME=0, use the .debug_frame if the .eh_frame
doesn't contain the approprate unwind tables.
Signed-off-by: Rabin Vincent
---
tools/perf/util/unwind-libunwind.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/tools/perf/util/u
Even if --symfs is used to point to the debug binaries, we send in the
non-debug filenames to libunwind, which leads to libunwind not finding
the debug frame. Fix this.
Signed-off-by: Rabin Vincent
---
tools/perf/util/unwind-libunwind.c |2 +-
1 file changed, 1 insertion(+), 1 deletion
On Wed, Apr 08, 2015 at 01:58:45AM +0200, Ralf Baechle wrote:
> This is a refresh of a David Daney's patch set to implement MIPS support
> for perf. It has been posted before but not received any comments or
> (N)Acks.
>
> This series depends on
>
> http://patchwork.linux-mips.org/patch/5246/
On Wed, Aug 26, 2015 at 09:24:26AM +0800, yalin wang wrote:
> A little change to patch_map() function,
> use set_fixmap_offset() to make code more clear.
>
> Signed-off-by: yalin wang
> ---
> arch/arm/kernel/patch.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/a
Provide a delay timer using the lower 32-bits of the global timer so
that we can use that instead of having to calibrating delays.
Signed-off-by: Rabin Vincent
---
drivers/clocksource/arm_global_timer.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/clocksource
On Wed, Aug 12, 2015 at 11:27:35AM +0200, Christian Ascheberg wrote:
> Is there any documentation regarding limitations of perf/ftrace support on
> ARM (compared to x86)?
There's Documentation/features/ which lists the status of architecture
support for various kernel options. I don't know of any
Hi,
I received some reports of mkfs.ext4 on an SD card triggering the OOM
killer on a swapless system with a low amount of free memory. I have
made a reproducible setup of this by using null_blk with a large
completion delay. The problem appears to be that we do not throttle to
the level of vm_d
The initial value of global_wb_domain.dirty_limit set by
writeback_set_ratelimit() is zeroed out by the memset in
wb_domain_init().
Signed-off-by: Rabin Vincent
---
mm/page-writeback.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/page-writeback.c b/mm/page
Add a device tree for the Axis P1343 with the ARTPEC-3 SoC and on-board
LEDs and RTC.
Signed-off-by: Rabin Vincent
---
arch/cris/boot/dts/artpec3.dtsi | 46 +
arch/cris/boot/dts/p1343.dts| 76 +
2 files changed, 122 insertions
Increase NR_IQRS so we can fit in GPIO interrupts.
Signed-off-by: Rabin Vincent
---
arch/cris/arch-v32/kernel/irq.c | 4 ++--
arch/cris/include/arch-v32/arch/irq.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/cris/arch-v32/kernel/irq.c b/arch/cris/arch-v32
Now that we have a gpiolib GPIO driver, the generic i2c-gpio driver
provides this functionality.
Signed-off-by: Rabin Vincent
---
arch/cris/arch-v32/drivers/Kconfig | 18 -
arch/cris/arch-v32/drivers/Makefile | 1 -
arch/cris/arch-v32/drivers/i2c.c| 751
1 - 100 of 269 matches
Mail list logo