For generating function formal parameters without debuginfo, add
function to get names and offsets of architecture dependent calling
regs.
Signed-off-by: He Kuang heku...@huawei.com
---
tools/perf/util/include/dwarf-regs.h | 2 ++
tools/perf/util/probe-finder.c | 10 ++
2 files
Hi Guenter,
On 24 May 2015 at 04:01, Guenter Roeck li...@roeck-us.net wrote:
On 05/23/2015 12:40 PM, Timur Tabi wrote:
[ ... ]
I use emergency_restart(), because the watchdog-api.txt documentation says
this:
If userspace fails (RAM error, kernel bug, whatever), the
notifications cease to
Hi Guenter,
On 24 May 2015 at 04:44, Guenter Roeck li...@roeck-us.net wrote:
On 05/23/2015 01:27 PM, Timur Tabi wrote:
Guenter Roeck wrote:
However, the pretimeout concept assumes that there are two timers
which can be set independently. As you had pointed out earlier,
and as the
On Sunday 24 May 2015 07:07:36 valdis.kletni...@vt.edu wrote:
On Sat, 23 May 2015 03:05:50 +0200, Pali Rohár said:
I'm thinking about using symbol_request() in dell-laptop.c (instead
hard=20 dependency) and then not ignoring error here... It could
fix this=20 problem.
That would also
On 05/24/2015 02:58 AM, Fu Wei wrote:
Hi Guenter,
Great thanks for your suggestion and review,
I have some questions below , would you please help me out?
On 24 May 2015 at 03:51, Guenter Roeck li...@roeck-us.net wrote:
On 05/23/2015 11:37 AM, Timur Tabi wrote:
Guenter Roeck wrote:
I
On 15-05-22 08:28:17, Mimi Zohar wrote:
On Fri, 2015-05-22 at 08:48 +0100, David Howells wrote:
Luis R. Rodriguez mcg...@suse.com wrote:
This is similar to what i am doing right now - create CA hierarchy so
we can
have something like:
+-
On 2015/05/24 17:27, He Kuang wrote:
Save reg number in function convert_variable_location() instead of the
register string name, so we can fetch the target register from bpf
context register later.
This is not needed because you can also get reg number from reg string
afterwards.
Thank you,
Guenter Roeck wrote:
Maybe you and/or Timur can test this on the real systems you
have access to. It should be quite straightforward to test -
have the interrupt handler only print a message, program some
values into the watchdog, and see when WS0 and WS1 occur.
I'll try, but on my system,
loop-AES changes since previous release:
- Fixed endianness bug on little-endian PowerPC. More common big-endian
PowerPC was OK. Bug reported by Fernando Seiti Furusato.
- Worked around VFS changes on 4.1-rc kernels.
- Some #ifdef spaghetti removed for 4.x kernels.
bzip2 compressed tarball is
I tried to subscribe to the RaspberryPi Kernel mailing list a few days ago but
I guess that my request has not been accepted as yet. Maybe it was missed so I
re-tried a moment ago. Since I can't get in there I thought I'd try
here. Apologies, bit of a panic.
So I'm trying to make a few changes to
tolga ceylan tolga.cey...@gmail.com writes:
On 05/15/2015 09:22 PM, Tolga Ceylan wrote:
visorchipset_file_init() and visorchipset_file_cleanup() functions
do not seem to be used from anywhere else and now are declared
as static. Sparse emitted not declared warnings for these two
functions.
Why do we even need that? If you take patch that makes ulpi_init a
subsys_initcall you won't have this problem, and no additional weird
hacks and errors will be needed
On Sun, May 24, 2015 at 11:09 AM, Sudip Mukherjee
sudipm.mukher...@gmail.com wrote:
On Sun, May 24, 2015 at 12:19:48AM -0700,
On 2015/05/24 17:28, He Kuang wrote:
When probing at function entry, fallback $params to calling regs if no
debuginfo is provided.
Before this path:
$ perf probe -v --add='generic_perform_write $params'
...
Added new event:
Writing event: p:probe/generic_perform_write
From: Maninder Singh maninder...@samsung.com
So initialize struct pl330_dmac *pl330 after NULL check
of dma_pl330_chan *pch.
Signed-off-by: Maninder Singh maninder...@samsung.com
Reviewed-by: Vaneet Narang v.nar...@samsung.com
---
drivers/dma/pl330.c |4 +++-
1 files changed, 3
On Sun, 24 May 2015, Joe Perches wrote:
On Sun, 2015-05-24 at 10:10 +0200, Nicholas Mc Guire wrote:
On Sun, 24 May 2015, Joe Perches wrote:
On Sun, 2015-05-24 at 09:27 +0200, Nicholas Mc Guire wrote:
On Sat, 23 May 2015, Steven Rostedt wrote:
[]
- return sum;
+
Hi Anda-Maria,
On Fri, May 08, 2015 at 03:57:49PM +0300, Anda-Maria Nicolae wrote:
Based on the datasheet found here:
http://www.richtek.com/download_ds.jsp?p=RT9455
Signed-off-by: Anda-Maria Nicolae anda-maria.nico...@intel.com
---
Updates from v4 version:
When probing at function entry, fallback to generate bpf prologue by
calling args if '$param' is the only args and no debuginfo is provided.
Signed-off-by: He Kuang heku...@huawei.com
---
tools/perf/util/probe-event.c | 54 ++-
1 file changed, 53
Save reg number in function convert_variable_location() instead of the
register string name, so we can fetch the target register from bpf
context register later.
Signed-off-by: He Kuang heku...@huawei.com
---
tools/perf/util/include/dwarf-regs.h | 13 +
tools/perf/util/probe-event.h
Make bpf command support -k option, when inserting probe point which
needs debuginfo, a customized vmlinux path can be specified.
Signed-off-by: He Kuang heku...@huawei.com
---
tools/perf/builtin-bpf.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/perf/builtin-bpf.c
After gethered all vars represented in trace_probe_arg, we can now use
functions in libbpf to generate the args prologue.
Signed-off-by: He Kuang heku...@huawei.com
---
tools/perf/util/probe-finder.c | 83 +-
1 file changed, 81 insertions(+), 2
When probing at function entry, fallback $params to calling regs if no
debuginfo is provided.
Before this path:
$ perf probe -v --add='generic_perform_write $params'
...
Added new event:
Writing event: p:probe/generic_perform_write _stext+1246632 $params
[86152.161204] Parse error at
On Sun, 2015-05-24 at 10:10 +0200, Nicholas Mc Guire wrote:
On Sun, 24 May 2015, Joe Perches wrote:
On Sun, 2015-05-24 at 09:27 +0200, Nicholas Mc Guire wrote:
On Sat, 23 May 2015, Steven Rostedt wrote:
[]
- return sum;
+ return !!sum;
Hmm I wonder if gcc is
Hi Guenter,
Great thanks for your suggestion and review,
I have some questions below , would you please help me out?
On 24 May 2015 at 03:51, Guenter Roeck li...@roeck-us.net wrote:
On 05/23/2015 11:37 AM, Timur Tabi wrote:
Guenter Roeck wrote:
I think it is quite unfortunate that the
Process debuginfo for bpf prologue, the process function is copied and
modified from debuginfo__find_trace_events(), with a different callback
function for generating bpf prologue bytecode.
Signed-off-by: He Kuang heku...@huawei.com
---
tools/perf/util/probe-event.c | 27
When all arguments in bpf config section are collected in register and
offset form, this patch will fetch them from bpf context register and
place them as bpf input parameters.
By bpf calling convention, we restrict the max fetched arg number to 4.
Bpf prologue is generated as the following
Combine pt_regs offset of each registers into arch_regs_table. And add
architecture dependent calling_regs_table.
Signed-off-by: He Kuang heku...@huawei.com
---
tools/perf/arch/x86/util/dwarf-regs.c | 100 +++---
1 file changed, 79 insertions(+), 21 deletions(-)
diff
On Fri, May 22, 2015 at 09:40:39AM -0600, Jonathan Corbet wrote:
On Wed, 13 May 2015 22:01:07 +0200
Christoffer Dall christoffer.d...@linaro.org wrote:
Clearly specify that option 1 is strongly preferred so that developers
understand that option 2 or 3 should only be used when absolutely
On 05/24/2015 03:15 AM, Fu Wei wrote:
Hi Guenter,
On 24 May 2015 at 04:01, Guenter Roeck li...@roeck-us.net wrote:
On 05/23/2015 12:40 PM, Timur Tabi wrote:
[ ... ]
I use emergency_restart(), because the watchdog-api.txt documentation says
this:
If userspace fails (RAM error, kernel bug,
Type-checking coccinelle spatches are being used to locate type mismatches
between function signatures and return values in this case this produced:
./kernel/cgroup.c:2525 WARNING: return of wrong type
ssize_t != size_t,
Returning unsigned types converted to a signed type can be
Fu Wei wrote:
If pretimeout concept assumes that there are two timers, I
misunderstand the pretimeout, then I will delete the pretimeout
immediately.
In my opinion, calling panic() on a pre-timeout is not useful, because
that's really just a normal timeout. If there were a way to warn user
This series introduces initial support for the Ingenic JZ4780 SoC and
the Imagination Technologies MIPS Creator CI20 board which is built
around it. In the process the existing JZ4740 qi_lb60 code gains
initial support for using DeviceTree such that much of the existing
platform code under
Ingenic have actually varied the vendor/company ID of the XBurst cores
across their range of SoCs, whilst keeping the product ID revision
constant... Add definitions for vendor IDs known to be used in some of
Ingenic's newer SoCs, and handle them in the same way as the existing
Ingenic vendor ID
This small patchset declares dir_pages() in pagemap.h and
removes declarations in each filesystems.
Fabian Frederick (9):
pagemap.h: declare dir_pages()
nilfs2: remove dir_pages() declaration
ufs: use dir_pages instead of ufs_dir_pages()
fs/qnx6: remove dir_pages() declaration
ext2:
The debugfs code becomes a nuisance when attempting to avoid globals,
since the interrupt controller probe function run too early for it to be
safe to create the debugfs files. Drop it.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc: Lars-Peter Clausen l...@metafoo.de
Cc: Thomas Gleixner
In preparation for supporting Ingenic SoCs other than the JZ4740,
introduce MACH_INGENIC to Kconfig move MACH_JZ4740 to a separate
entry selected by the board when appropriate. This allows MACH_INGENIC
to be used to enable things generic across Ingenic SoCs.
Signed-off-by: Paul Burton
Define a vendor prefix for Ingenic Semiconductor, a vendor of MIPS-based
SoCs. Simply use 'ingenic'.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Acked-by: Rob Herring r...@kernel.org
Cc: Lars-Peter Clausen l...@metafoo.de
Cc: Ian Campbell ijc+devicet...@hellion.org.uk
Cc: Kumar Gala
When probing the interrupt controller, register an IRQ domain such
that the interrupts can be translated by devicetree code thus used
from devicetree.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc: Lars-Peter Clausen l...@metafoo.de
Cc: Thomas Gleixner t...@linutronix.de
Cc: Jason Cooper
dir_pages() is now declared in pagemap.h
Signed-off-by: Fabian Frederick f...@skynet.be
---
fs/ext2/dir.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c
index 796b491..0c6638b 100644
--- a/fs/ext2/dir.c
+++ b/fs/ext2/dir.c
@@ -70,11 +70,6 @@ static inline
dir_pages() is now declared in pagemap.h
Signed-off-by: Fabian Frederick f...@skynet.be
---
fs/sysv/dir.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/fs/sysv/dir.c b/fs/sysv/dir.c
index 8f3555f..63c1bcb 100644
--- a/fs/sysv/dir.c
+++ b/fs/sysv/dir.c
@@ -33,11 +33,6 @@ static inline
dir_pages() is now declared in pagemap.h
Signed-off-by: Fabian Frederick f...@skynet.be
---
fs/exofs/dir.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/fs/exofs/dir.c b/fs/exofs/dir.c
index 4deb0b0..e5bb2ab 100644
--- a/fs/exofs/dir.c
+++ b/fs/exofs/dir.c
@@ -44,12 +44,6 @@ static
Remove the serial support from arch/mips/jz4740 make use of the new
Ingenic SoC UART driver. This is done for both regular early console
output.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc: Ian Campbell ijc+devicet...@hellion.org.uk
Cc: Kumar Gala ga...@codeaurora.org
Cc: Lars-Peter
Commits ac1d8590d3ae (MIPS: asm: uaccess: Use EVA instructions
wrappers), 05c6516005c4 (MIPS: asm: uaccess: Add EVA support to
copy_{in, to,from}_user) e3a9b07a9caf (MIPS: asm: uaccess: Add EVA
support for str*_user operations) added checks to various user memory
access functions macros in order
Support the Ingenic JZ4780 SoC using the existing code under
arch/mips/jz4740 now that it has been generalised sufficiently.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc: Ian Campbell ijc+devicet...@hellion.org.uk
Cc: Kumar Gala ga...@codeaurora.org
Cc: Lars-Peter Clausen l...@metafoo.de
Allow a devicetree to specify the memory present in the system rather
than probing it from the memory controller. This both saves the probing
for systems where the amount of memory is fixed, and will simplify the
bringup of later Ingenic SoCs where the memory controller register
layout differs.
Add an initial device tree for the Ingenic JZ4780 based MIPS Creator
CI20 board.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc: Ian Campbell ijc+devicet...@hellion.org.uk
Cc: Kumar Gala ga...@codeaurora.org
Cc: Lars-Peter Clausen l...@metafoo.de
Cc: Mark Rutland mark.rutl...@arm.com
Cc:
Add binding documentation for the UARTs found in Ingenic SoCs.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Acked-by: Rob Herring r...@kernel.org
Cc: Ian Campbell ijc+devicet...@hellion.org.uk
Cc: Kumar Gala ga...@codeaurora.org
Cc: Lars-Peter Clausen l...@metafoo.de
Cc: Mark Rutland
Hi Timur,
Sorry, how do you trigger a panic if WS1 ties to reset ?? don't know
what is your question
could you make it simple:
1) calling panic() on pre-timeout (WS0)
2) calling panic() on timeout (WS1)
in first version , I just print the timeleft for WS1 or panic when
WS0 occurs.
Hi Robert,
On Tue, Mar 31, 2015 at 05:05:53PM +0300, Robert Dolca wrote:
On Thu, Mar 26, 2015 at 2:29 AM, Samuel Ortiz sa...@linux.intel.com wrote:
Hi Robert,
On Tue, Feb 24, 2015 at 12:01:47PM +0200, Robert Dolca wrote:
In order to communicate with the device during the setup
phase,
This series already reviewed in public more than six months. In the
early version, 8173 CCF and Pinctrl not be accepted yet, so we don't put
device node with this series. Now both CCF and pinctrl have been
accepted, maybe it's time to add device node.I am glad that if this I2C
version can be
Guenter Roeck wrote:
The pseudo-code in the specification suggests that if WCV is configured,
WS0 = WCV
WS1 = WCV + WOR
Assuming that the implementation follows the pseudo-code in the
specification,
we would have separately programmable values. Since the pretimeout (per
ABI)
is the
On Monday 25 May 2015 01:02:20 Jungseok Lee wrote:
Fork-routine sometimes fails to get a physically contiguous region for
thread_info on 4KB page system although free memory is enough. That is,
a physically contiguous region, which is currently 16KB, is not available
since system memory is
Antoine,
On 05/20/2015 11:43 AM, Antoine Tenart wrote:
[..]
I just had a look on the datasheet, and I you're right, the nand should
support JDEC. However I get a No NAND device found error when
reverting this patch.
It seems nand_flash_detect_jedec() is not reading JDEC and is returning
This driver supports the CGU clocks for Ingenic SoCs. It is generic
enough to be usable across at least the JZ4740 to the JZ4780, and will
be made use of on such devices in subsequent commits. This patch by
itself only adds the SoC-agnostic infrastructure that forms the bulk of
the CGU driver for
Allow the interrupt controllers of the JZ4770, JZ4775 JZ4780 SoCs to
be probed via devicetree, supporting the 64 interrupts they provide.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc: Lars-Peter Clausen l...@metafoo.de
Cc: Thomas Gleixner t...@linutronix.de
Cc: Jason Cooper
Add support for the clocks provided by the CGU in the Ingenic JZ4780
SoC, making use of the SoC-agnostic CGU code to do the heavy lifting.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Co-authored-by: Paul Cercueil p...@crapouillou.net
Cc: Lars-Peter Clausen l...@metafoo.de
Cc: Mike Turquette
The jz4740-cgu driver already has access to the CGU, so it makes sense
to move the few remaining accesses to the CGU from arch/mips/jz4740
there too. Move the jz4740_clock_udc_{dis,en}able_auto_suspend functions
there for such consistency.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc:
The jz4740-cgu driver already has access to the CGU, so it makes sense
to move the few remaining accesses to the CGU from arch/mips/jz4740
there too. Move jz4740_clock_set_wait_mode for such consistency.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc: Lars-Peter Clausen l...@metafoo.de
Cc:
The only thing remaining in arch/mips/jz4740/clock.h is declarations of
the jz4740_clock_{suspend,resume} functions. Move these to
arch/mips/include/asm/mach-jz4740/clock.h for consistency with similar
functions, and remove the redundant arch/mips/jz4740/clock.h header.
Signed-off-by: Paul Burton
Hi Guenter,
Great thanks for your time,
you provide your feedback in your weekend, I am so appreciate that.
my feedback inline below
On 24 May 2015 at 22:06, Guenter Roeck li...@roeck-us.net wrote:
On 05/24/2015 02:58 AM, Fu Wei wrote:
Hi Guenter,
Great thanks for your suggestion and
ARM64 kernel tries to get physically contiguous 16KB for thread_info
when creating a process. The allocation is sometimes failed on low
memory platforms due to memory fragmentation, not a lack of free memory.
The first approach is to improve memory compaction logic, but the work should
consider a
On 15.05.2015 01:01, Andrew Morton wrote:
On Sun, 10 May 2015 09:35:53 +0300 Vasily Averin v...@odin.com wrote:
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -484,11 +484,11 @@ int check_syslog_permissions(int type, bool from_file)
* already done the capabilities checks
On 05/24/2015 09:13 AM, Timur Tabi wrote:
Fu Wei wrote:
in the first timeout, just panic() maybe not enough, in [RFC]
version of my patchset, I offer some option as preaction to use, but
for simplifying the first version of driver, I have deleted them.
but at least, panic() is far more useful
On Sun, May 24, 2015 at 10:13:07AM +0200, Nicholas Mc Guire wrote:
On Sat, 23 May 2015, Michael Welling wrote:
If a valid GPIO is specified but cannot be requested by the driver, print a
message and error out of omap2_mcspi_setup.
Signed-off-by: Michael Welling mwell...@ieee.org
---
Hi Timur
On 25 May 2015 at 00:44, Timur Tabi ti...@codeaurora.org wrote:
Guenter Roeck wrote:
The current watchdog API suggests that the pretimeout allows Linux
to record useful information (like panic information and kernel
coredumps) before it resets. The call to panic() would be the
On Thu, May 21, 2015 at 01:35:49PM +0300, Tomas Winkler wrote:
HBM version 2.0 and above allows ME clients in the system to
register/unregister after the system is fully initialized.
Clients may be added or removed after enum_resp message was
received
1. To preserve backward compatibility
On Sat, 23 May 2015 10:07:05 +0200
Ingo Molnar mi...@kernel.org wrote:
This seems to have slowed down a bit; I've taken the liberty of
pulling it into the docs tree. [...]
Please don't, I've got a different structure for it, so that the Git
log becomes a lot more usable. I'll post it
On Fri, May 15, 2015 at 08:01:18AM +, He Kuang wrote:
SNIP
:1049 1049 [000] 9666.754487: ftrace:function: 8118bc50
-- 8118c5b3
:1049 1049 [000] 9666.754487: ftrace:function: 818e2440
-- 8118bc75
:1049 1049 [000]
That function was declared in a lot of filesystems to calculate
directory pages.
Signed-off-by: Fabian Frederick f...@skynet.be
---
include/linux/pagemap.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index 7c37907..0ec1a22 100644
dir_pages was declared in a lot of filesystems.
Use newly dir_pages() from pagemap.h
Signed-off-by: Fabian Frederick f...@skynet.be
---
fs/ufs/dir.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/fs/ufs/dir.c b/fs/ufs/dir.c
index 1bfe8ca..6f44a8b 100644
---
Call jz4740_clock_init before any uses of jz4740_clock_bdata occur. This
is in preparation for replacing uses of that struct with calls to
clk_get_rate, which will allow the clocks to be migrated towards common
clock framework devicetree.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc:
Replace uses of the jz4740_clock_bdata struct with calls to clk_get_rate
for the appropriate clock. This is in preparation for migrating the
clocks towards common clock framework devicetree.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc: Lars-Peter Clausen l...@metafoo.de
Cc: Ralf Baechle
Move the driver for Ingenic SoC interrupt controllers into
drivers/irqchip where it belongs.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc: Lars-Peter Clausen l...@metafoo.de
Cc: Thomas Gleixner t...@linutronix.de
Cc: Jason Cooper ja...@lakedaemon.net
Cc: Ralf Baechle r...@linux-mips.org
Hi Guenter,
Thanks for your feedback
On 24 May 2015 at 22:15, Guenter Roeck li...@roeck-us.net wrote:
On 05/24/2015 03:15 AM, Fu Wei wrote:
Hi Guenter,
On 24 May 2015 at 04:01, Guenter Roeck li...@roeck-us.net wrote:
On 05/23/2015 12:40 PM, Timur Tabi wrote:
[ ... ]
I use
Hi Timur,
I have said this before:
in the first timeout, just panic() maybe not enough, in [RFC]
version of my patchset, I offer some option as preaction to use, but
for simplifying the first version of driver, I have deleted them.
but at least, panic() is far more useful than a simple reset.
Hi Dan,
On Thu, 2015-05-21 at 22:39 +0800, Daniel Kurtz wrote:
On Thu, May 21, 2015 at 4:53 PM, Eddie Huang eddie.hu...@mediatek.com wrote:
This series is for Mediatek SoCs I2C controller common bus driver.
Earlier MTK SoC (for example, MT6589, MT8135) I2C HW has some limitations.
New
Hello.
On 05/24/2015 06:11 PM, Paul Burton wrote:
Use the generic irqchip_init function to probe irqchip drivers using DT,
and add the appropriate node to the JZ4740 devicetree in place of the
call to mips_cpu_irq_init.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc: Ian Campbell
Hi Guenter,
On 22 May 2015 at 23:05, Guenter Roeck li...@roeck-us.net wrote:
On Fri, May 22, 2015 at 10:38:32PM +0800, Fu Wei wrote:
Hi Guenter.
Sorry for my poor English .
let me explain this :
On 22 May 2015 at 21:23, Guenter Roeck li...@roeck-us.net wrote:
On 05/22/2015 03:46 AM, Fu
On Thu, May 21, 2015 at 08:11:27PM -0700, David Cohen wrote:
On Thu, May 21, 2015 at 08:09:54PM -0700, David Cohen wrote:
Hi,
On Fri, May 22, 2015 at 10:07:05AM +0800, Lu Baolu wrote:
Many drivers and modules depend on ULPI bus registeration to
register ULPI interfaces and drivers.
Hi Guenter
On 25 May 2015 at 00:29, Guenter Roeck li...@roeck-us.net wrote:
On 05/24/2015 09:13 AM, Timur Tabi wrote:
Fu Wei wrote:
in the first timeout, just panic() maybe not enough, in [RFC]
version of my patchset, I offer some option as preaction to use, but
for simplifying the first
On Wed, May 20, 2015 at 08:41:40PM +0530, Kishon Vijay Abraham I wrote:
Hi Greg,
On Tuesday 12 May 2015 09:29 PM, Kishon Vijay Abraham I wrote:
Hi Greg,
Please find the pull request for 4.1 -rc cycle.
This includes a couple of fixes in Kconfig, one to fix randconfig error
and the other
Hi all,
I noticed a regression on my arm64 APM X-Gene system a couple
of weeks back. I would occassionally see the system lock up and see RCU
stalls during the caching phase of kernbench. I then wrote a small
script that does nothing but cache the files
(http://paste.ubuntu.com/11324767/) and
Use the generic irqchip_init function to probe irqchip drivers using DT,
and add the appropriate node to the JZ4740 devicetree in place of the
call to mips_cpu_irq_init.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc: Ian Campbell ijc+devicet...@hellion.org.uk
Cc: Kumar Gala
Make use of the generic plat_irq_dispatch function introduced by commit
85f7cdacbb81 MIPS: Provide a generic plat_irq_dispatch, in order to
reduce unnecessary code duplication.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc: Lars-Peter Clausen l...@metafoo.de
Cc: Ralf Baechle
Rather than hardcoding the IRQ number used to cascade interrupts from
the SoC interrupt controller to the CPU interrupt controller, read that
IRQ number from the DT describing the system.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc: Lars-Peter Clausen l...@metafoo.de
Cc: Thomas Gleixner
Add binding documentation for Ingenic SoC interrupt controllers.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Acked-by: Rob Herring r...@kernel.org
Cc: Ian Campbell ijc+devicet...@hellion.org.uk
Cc: Jason Cooper ja...@lakedaemon.net
Cc: Kumar Gala ga...@codeaurora.org
Cc: Lars-Peter Clausen
Require a DT for JZ4740 based systems, and add a stub one for the
qi_lb60 (Ben NanoNote) board. Devices will be migrated to being probed
via this DT over time.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc: Ian Campbell ijc+devicet...@hellion.org.uk
Cc: Kumar Gala ga...@codeaurora.org
Cc:
Allow the MIPS CPU interrupt controller to be probed from DT using the
generic __irqchip_of_table for platforms which use irqchip_init. This
will avoid such platforms needing to duplicate the compatible string
init function pointer.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc:
Introduce a driver suitable for use with the UARTs present in
Ingenic SoCs such as the JZ4740 JZ4780. These are described as being
ns16550 compatible but aren't quite - they require the setting of an
extra bit in the FCR register to enable the UART module. The serial_out
implementation is the
The jz4740-cgu driver already has access to the CGU, so it makes sense
to move the few remaining accesses to the CGU from arch/mips/jz4740
there too. Move the jz4740_clock_{suspend,resume} functions there for
such consistency. The arch/mips/jz4740/clock.c file now contains nothing
more of use so
Fork-routine sometimes fails to get a physically contiguous region for
thread_info on 4KB page system although free memory is enough. That is,
a physically contiguous region, which is currently 16KB, is not available
since system memory is fragmented.
This patch tries to solve the problem as
A current implementation assumes thread_info address is always correctly
calculated via virt_to_page. It restricts a different approach, such as
thread_info allocation from vmalloc space.
This patch, thus, introduces an independent function to calculate page
address from thread_info one.
On 05/24/2015 08:50 AM, Fu Wei wrote:
[ ...]
Actually, I have added my thought at the head of sbsa_gwdt.c as a comment :
*
* Note: This SBSA Generic watchdog driver is compatible with
* the pretimeout concept of Linux kernel.
* The timeout and pretimeout are set by the
Guenter Roeck wrote:
The current watchdog API suggests that the pretimeout allows Linux
to record useful information (like panic information and kernel
coredumps) before it resets. The call to panic() would be the
means to make this happen.
Now that I think about it, that does make sense.
Hi Robert,
On Tue, Mar 31, 2015 at 05:03:42PM +0300, Robert Dolca wrote:
On Thu, Mar 26, 2015 at 2:29 AM, Samuel Ortiz sa...@linux.intel.com wrote:
Hi Robert,
On Tue, Feb 24, 2015 at 12:01:45PM +0200, Robert Dolca wrote:
By calling __nci_request instead of nci_request allows the driver
Hi Robert,
On Wed, Apr 01, 2015 at 06:35:31PM +0300, Robert Dolca wrote:
On Thu, Mar 26, 2015 at 2:30 AM, Samuel Ortiz sa...@linux.intel.com wrote:
+ /* If a patch was applied the new version is checked */
+ if (patched) {
+ r = nci_init(ndev);
+ if (r)
On 05/24/2015 10:19 AM, Timur Tabi wrote:
Fu Wei wrote:
I don't know why you want to do this tricky way. you can always
register the interrupt handler,
if pre-timeout is 0, system will just trigger WS1 right after WS0
But that only works if the pre-timeout and timeout can be programmed to
On Thu, May 07, 2015 at 03:54:08PM +0300, Tomas Winkler wrote:
MEI bus was designed around nfc and was hard to extend.
Instead of hard coded way of adding the devices on the mei bus
we scan whole me client list and create a device for each
eligible me client; currently we support only clients
On 05/23, Nicholas Mc Guire wrote:
On Wed, 20 May 2015, Oleg Nesterov wrote:
On 05/19, Nicholas Mc Guire wrote:
I assumed it would not matter but did not see a simple way of getting it
type clean with unsigned either mainly due to the atomic_t being int and
val in
So this fix is wrong.
But you know, even if it was correct... IMO, the fixes like this can
only make sense as a while at it part of the meaningful change.
On 05/23, Shailendra Verma wrote:
Signed-off-by: Shailendra Verma shailendra.capric...@gmail.com
---
kernel/ptrace.c |2 +-
1 file
For interrupts numbered after those of the interrupt controller, define
their numbers based upon the number of interrupts provided by the SoC
interrupt controller. This is in preparation for supporting newer
Ingenic SoCs which provide more interrupts.
Signed-off-by: Paul Burton
1 - 100 of 520 matches
Mail list logo