Turn a kmalloc/memset into an equivalent kzalloc.
Doing so also move the zero'ing of the memory outside of a mutex.
Signed-off-by: Christophe Jaillet
---
A simililar patch has already been applied against
arch/cris/arch-v32/drivers/mach-fs/gpio.c
---
arch/cris/arch-v32/drivers/mach-a3/gpio.c |
Hi all,
[These will be easier in the future as I have now scripted this message]
As usual, the executive friendly graph is at
http://neuling.org/linux-next-size.html :-)
(No merge commits counted, next-20150623 was the first linux-next after
the merge window opened.)
Commits in v4.2-rc1
From: Ian Munsie
It was discovered that if a process mmaped their problem state area they
were able to access one page more than expected, potentially allowing
them to access the problem state area of an unrelated process.
This was due to a simple off by one error in the mmap fault handler
From: Ian Munsie
This patch makes the mmap call fail outright if the requested region is
larger than the problem state area assigned to the context so the error
is reported immediately rather than waiting for an attempt to access an
address out of bounds.
Although we never expect users to map
Stop comparing the strings as soon as we know that they don't match.
Signed-off-by: Christophe JAILLET
---
drivers/scsi/FlashPoint.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c
index 5c74e4c..24a4d1a 100644
---
Use module_platform_driver for drivers whose init and exit functions
only register and unregister, respectively.
A simplified version of the Coccinelle semantic patch that performs
this transformation is as follows:
@a@
identifier f, x;
@@
-static f(...) { return platform_driver_register(); }
From: Byungchul Park
decaying time happens on every period boundary. if it does not reach
the period boundary yet, the partial time needs to be kept so that
the time can be decayed on exactly period boundary at next update.
sa->avg_period is not appropriate for getting partial delta_w because
We want the hover event like BTN_LEFT, even no contract object,
it still can be reported to upper OS system.
Signed-off by: Duson Lin
---
drivers/input/mouse/elan_i2c_core.c | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/drivers/input/mouse/elan_i2c_core.c
I had a single, non-reproducible case of the same lock-up happening on
my other machine running the Linus git head kernel in 64-bit mode.
The kernel was built very similarly to the 32-bit mode kernel, using:
CONCURRENCY_LEVEL=4 MAKEFLAGS="CC=gcc-5 LD=ld.gold
KCFLAGS=-march=athlon64" \
Use module_platform_driver for drivers whose init and exit functions
only register and unregister, respectively.
A simplified version of the Coccinelle semantic patch that performs
this transformation is as follows:
@a@
identifier f, x;
@@
-static f(...) { return platform_driver_register(); }
On Mon, Jul 6, 2015 at 5:03 PM, Leo Yan wrote:
> Hi all,
>
> i'm working with one clock driver, which will invoke mailbox API to
> request the mailbox channel and send message.
>
> Usually clock driver will init with devicetree, below is the example:
> CLK_OF_DECLARE(hi6220_clk_power,
It is to fix:
hv_kvp_daemon.c:705:2: warning: format not a string literal and no format
arguments [-Wformat-security]
Signed-off-by: Dexuan Cui
---
tools/hv/hv_kvp_daemon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_daemon.c
Hello Stefan,
On 15-07-06 12:16:34, Stefan Wahren wrote:
> Hi Sanchayan,
>
> > Sanchayan Maity hat am 29. Juni 2015 um 13:22
> > geschrieben:
> >
> >
> > The patch adds support for the On Chip One Time Programmable Peripheral
> > (OCOTP) on the Vybrid platform.
>
> please provide a changelog
Hi Felipe,
> -Original Message-
> From: Felipe Balbi [mailto:ba...@ti.com]
> Sent: Monday, July 06, 2015 10:38 PM
> To: Subbaraya Sundeep Bhatta
> Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org;
> linux-kernel@vger.kernel.org; sta...@vger.kernel.org
> Subject: Re:
On Mon, 2015-07-06 at 17:49 +0200, Marcus Gelderie wrote:
> A while back, the message queue implementation in the kernel was
> improved to use btrees to speed up retrieval of messages (commit
> d6629859b36). The patch introducing the improved kernel handling of
> message queues (using btrees) has,
Hi Dinh,
On Mon, Jul 06, 2015 at 10:59:05PM -0500, dingu...@opensource.altera.com wrote:
> From: Dinh Nguyen
>
> Use of_clk_parent_fill to fill in the parent clock names' array.
>
> Signed-off-by: Dinh Nguyen
> Cc: Maxime Ripard
> Cc: "Emilio López"
Acked-by: Maxime Ripard
Thanks!
Hi Stephen,
On Mon, 6 Jul 2015 14:32:10 -0700
Stephen Boyd wrote:
> On 07/06, Boris Brezillon wrote:
> > Clock rates are stored in an unsigned long field, but ->determine_rate()
> > (which returns a rounded rate from a requested one) returns a long
> > value (errors are reported using negative
On Mon, 2015-07-06 at 19:36 -0700, Greg KH wrote:
> On Fri, Jun 26, 2015 at 11:04:49PM -0700, Joe Perches wrote:
> > On Sat, 2015-06-27 at 06:36 +0100, Vasiliy Korchagin wrote:
[]
> > > Here is another version with macro expansion. Inline function
> > > expansion doesn't
> > > seem like a
On Wed, Jul 01 2015 at 12:57pm -0400,
Mike Snitzer wrote:
> bio_integrity_alloc() and bio_integrity_free() assume that if a bio was
> allocated from a bioset that that bioset also had its bio_integrity_pool
> allocated using bioset_integrity_create(). This is a very bad
> assumption given that
On Mon, Jul 6, 2015 at 10:57 PM, Sören Brinkmann
wrote:
> On Mon, 2015-07-06 at 10:16AM -0700, Moritz Fischer wrote:
>> Signed-off-by: Moritz Fischer
>> Acked-by: Michal Simek
>> ---
>> .../devicetree/bindings/mailbox/xilinx-mailbox.txt | 44
>> ++
>> 1 file changed, 44
From: Byungchul Park
__sched_period() returns a period which a rq can have. the period has to be
stretched by the number of task *the rq has*, when nr_running > nr_latency.
otherwise, task slice can be very smaller than sysctl_sched_min_granularity
depending on the position of tg hierarchy when
From: Gioh Kim
Add framework to register callback functions and check page mobility.
There are some modes for page isolation so that isolate interface
has arguments of page address and isolation mode while putback
interface has only page address as argument.
Signed-off-by: Gioh Kim
---
From: Gioh Kim
The anon_inodes has already complete interfaces to create manage
many anonymous inodes but don't have interface to get
new inode. Other sub-modules can create anonymous inode
without creating and mounting it's own pseudo filesystem.
Signed-off-by: Gioh Kim
---
fs/anon_inodes.c
From: Gioh Kim
Migration is completely generalized so that migrating mobile page
is processed with lru-pages in move_to_new_page.
Signed-off-by: Gioh Kim
---
mm/balloon_compaction.c | 8
mm/migrate.c| 13 -
2 files changed, 21 deletions(-)
diff --git
From: Gioh Kim
Hello,
This series try to enable migration of non-LRU pages, such as driver's page.
My ARM-based platform occured severe fragmentation problem after long-term
(several days) test. Sometimes even order-3 page allocation failed. It has
memory size 512MB ~ 1024MB. 30% ~ 40% memory
From: Gioh Kim
Apply mobile page migration into balloon driver.
The balloong driver has an anonymous inode that manages
address_space_operation for page migration.
Signed-off-by: Gioh Kim
---
drivers/virtio/virtio_balloon.c| 3 ++
include/linux/balloon_compaction.h | 15 +++--
From: Gioh Kim
Compaction calls interfaces of mobile page migration
instead of calling balloon migration directly.
Signed-off-by: Gioh Kim
---
mm/compaction.c | 8
mm/migrate.c| 19 ++-
2 files changed, 14 insertions(+), 13 deletions(-)
diff --git
From: Rohit Thapliyal
On 64bit kernel, the dump_mem gives 32 bit addresses
on the stack dump. This gives unorganized information regarding
the 64bit values on the stack. Hence, modified to get a complete
64bit memory dump.
With patch:
[ 93.534801] Process insmod (pid: 1587, stack limit =
2015-07-07 12:56 GMT+09:00 Maninder Singh :
> From: Rohit Thapliyal
>
> V1 = added new function dump_mem64
> v1->v2
> Removed the separate function dump_mem64 and accommodated
> a field width based on which the dump shall be created of
> width either 4 or 8 as suggested by Catalin.
Hi,
Please
I ran some tests and after setting the "ip route change quickack 1"
knob there were still many delayed ACKs sent. This occured
because when icsk_ack.quick=0 the !icsk_ack.pingpong value is
subsequently ignored as tcp_in_quickack_mode() checks both these
values. The condition for a quick ack to
On Tue, Jun 23, 2015 at 04:42:54PM +0800, Shengjiu Wang wrote:
> +static void sdma_set_watermarklevel_for_p2p(struct sdma_channel *sdmac)
> +{
> + struct sdma_engine *sdma = sdmac->sdma;
> +
> + int lwml = sdmac->watermark_level & 0xff;
> + int hwml = (sdmac->watermark_level >> 16) &
Mam prospesne resení pro nas oba. byste mi mel odpovedet na nize pro
vysvetlení na e-mailovou adresu.
E-mail: jgg.c...@gmail.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at
Hi
On Mon, Jul 6, 2015 at 8:09 PM, Felipe Balbi wrote:
> On Mon, Jul 06, 2015 at 08:06:17PM +0200, Michael Trimarchi wrote:
>> Hi
>>
>> On Jul 6, 2015 8:01 PM, "Felipe Balbi" wrote:
>> >
>> > on a first call to dev_pm_attach_wake_irq(), if it
>> > fails, it will leave dev->power.wakeirq set to
Hi All,
I have been exploring ARM reference manual about ARM weak memory model
and mmu page table setting from some time.
I think i understand different memory types, mmu settings for
page/section, TEX, AP, B, C, S bits well.
My target is to to dig further and fully understand setting of all
From: Dinh Nguyen
Use of_clk_parent_fill to fill in the parent clock names' array.
Signed-off-by: Dinh Nguyen
Cc: Tero Kristo
---
drivers/clk/ti/apll.c |4 +---
drivers/clk/ti/composite.c |4 +---
drivers/clk/ti/dpll.c |4 +---
drivers/clk/ti/fapll.c |3 +--
From: Dinh Nguyen
Hello,
This is v2 of the patchset that makes use of of_clk_parent_fill helper function
on various platforms.
Thanks,
Dinh Nguyen (6):
clk: at91: make use of of_clk_parent_fill helper function
clk: qoriq: make use of of_clk_parent_fill helper function
clk: keystone:
From: Dinh Nguyen
Use of_clk_parent_fill to fill in the parent clock names' array.
Signed-off-by: Dinh Nguyen
Cc: Boris Brezillon
---
drivers/clk/at91/clk-main.c |7 +--
drivers/clk/at91/clk-master.c |7 +--
drivers/clk/at91/clk-programmable.c |7 +--
From: Dinh Nguyen
Use of_clk_parent_fill to fill in the parent clock names' array.
Signed-off-by: Dinh Nguyen
Tested-by Gabriel Fernandez
Cc: Peter Griffin
---
drivers/clk/st/clk-flexgen.c |6 ++
drivers/clk/st/clkgen-mux.c |7 ++-
2 files changed, 4 insertions(+), 9
From: Dinh Nguyen
Use of_clk_parent_fill to fill in the parent clock names' array.
Signed-off-by: Dinh Nguyen
Cc: Maxime Ripard
Cc: "Emilio López"
---
v2: Add if (of_clk_parent_fill(node, parents, 2) != 2) to clk-a20-gmac.c
---
drivers/clk/sunxi/clk-a20-gmac.c|4 +---
From: Dinh Nguyen
Use of_clk_parent_fill to fill in the parent clock names' array.
Signed-off-by: Dinh Nguyen
Acked-by: Santosh Shilimkar
---
drivers/clk/keystone/pll.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/clk/keystone/pll.c
From: Dinh Nguyen
Use of_clk_parent_fill to fill in the parent clock names' array.
Signed-off-by: Dinh Nguyen
---
drivers/clk/clk-qoriq.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c
index cda90a9..d3f4570 100644
On Mon, Jul 06, 2015 at 09:53:26PM -0400, Sreenath Madasu wrote:
> When the checkpatch.pl script was run, it showed lines with length
> more than 80 characters in rtw_ap.c file. Fixed line number 382 by
> breaking it up into two lines within 80 characters.
>
> Signed-off-by: Sreenath Madasu
>
On Mon, 2015-07-06 at 10:59 -0700, Andy Lutomirski wrote:
> On Mon, Jul 6, 2015 at 10:40 AM, Ingo Molnar wrote:
> >
> > * Andy Lutomirski wrote:
> >
> >> > My reasoning: on modern uarchs there's no penalty for 32-bit
> >> > misalignment of
> >> > 64-bit variables, only if they cross 64-byte
On Sat, Jun 27, 2015 at 04:36:14PM +0200, SF Markus Elfring wrote:
> From: Markus Elfring
> Date: Sat, 27 Jun 2015 15:56:57 +0200
Why is this in the body of the email? Please fix your email client or
just use git send-email properly.
--
To unsubscribe from this list: send the line "unsubscribe
On Mon, 2015-07-06 at 15:41 -0400, Josef Bacik wrote:
> So the NO_WAKE_WIDE_IDLE results are very good, almost the same as the
> baseline with a slight regression at lower RPS and a slight improvement
> at high RPS.
Good. I can likely drop the rest then (I like dinky, so do CPUs;). I'm
not
On Fri, Jun 26, 2015 at 11:04:49PM -0700, Joe Perches wrote:
> On Sat, 2015-06-27 at 06:36 +0100, Vasiliy Korchagin wrote:
> > This patch fixes the checkpatch.pl error:
> >
> > ERROR: Macros with complex values should be enclosed in parentheses
> > +#define CONSUME(val, ptr) (val) =
On Sat, Jun 27, 2015 at 04:37:24PM +0200, SF Markus Elfring wrote:
> From: Markus Elfring
> Date: Sat, 27 Jun 2015 16:00:59 +0200
Again, please fix.
>
> The kfree() function was called in two cases by the mac_ioctl() function
> during error handling even if the passed variable did not contain
On Thu, Jul 02, 2015 at 06:23:59PM -0400, Kris Borer wrote:
> Fix four occurrences of checkpatch.pl error:
>
> ERROR: do not use assignment in if condition
>
> Signed-off-by: Kris Borer
> ---
> drivers/usb/core/hcd.c | 19 +--
> 1 file changed, 13 insertions(+), 6 deletions(-)
On Mon, Jun 15, 2015 at 11:00:09PM +0900, Krzysztof Kozlowski wrote:
> When pl330 driver was used during sound playback, after some time or
> after a number of plays the sound became choppy or totally noisy. For
> example on Odroid XU3 board the first four executions of aplay with
> small WAVE
Hi Max,
We could probably still use NMI with a separate stack. However, for
exception handling while in NMI, we might have to implement something
similar to x86_64 (https://lwn.net/Articles/484932/).
Cheers!
-Chris
On Mon, Jul 6, 2015 at 7:22 AM, Max Filippov wrote:
> On Mon, Jul 6, 2015 at
From: Rohit Thapliyal
V1 = added new function dump_mem64
v1->v2
Removed the separate function dump_mem64 and accommodated
a field width based on which the dump shall be created of
width either 4 or 8 as suggested by Catalin.
On 64bit kernel, the dump_mem gives 32 bit addresses
on the stack
On Mon, Jun 15, 2015 at 05:25:16PM +0900, Krzysztof Kozlowski wrote:
> During memcpy operations the residue was always set to an u32 overflowed
> value.
>
> In pl330_tx_status() function number of currently transferred bytes was
> subtracted from internal "bytes_requested" field. However this
>
On Tue, 7 Jul 2015, Masami Hiramatsu wrote:
> On 2015/07/07 6:27, Vince Weaver wrote:
> > Hello
> >
> > I've been working on trying to get the perf_fuzzer to start fuzzing the
> > PERF_EVENT_IOC_SET_BPF so I've added some really hackish kprobe support.
> >
> > However before I can get to the
On Mon, 6 Jul 2015, Steven Rostedt wrote:
> On Mon, 6 Jul 2015 17:27:04 -0400 (EDT)
> Vince Weaver wrote:
> > [ 3521.650521] ---[ end trace a413501925547ed5 ]---
> > [ 3521.655960] ftrace failed to modify []
> > handle_mm_fault+0x0/0x1750
> > [ 3521.664767] actual: e8:cb:18:ef:1e
>
> Hmm, it
On Mon, Jul 6, 2015 at 7:00 PM, Andrew Lunn wrote:
> On Tue, Jul 07, 2015 at 01:38:04AM +0200, Andrew Lunn wrote:
>> On Sun, Jul 05, 2015 at 10:14:50PM -0400, Vivien Didelot wrote:
>> > Hi all,
>> >
>> > This patchset brings full support for hardware VLANs in DSA, and the
>> > Marvell
>> >
This patch allows passing perf's own PID to '--filter' by using
'$PERFPID'. This should be useful when system-widely capturing
tracepoints events.
Before this patch, when doing something like:
# perf record -a -e syscalls:sys_enter_write
One could easily get result like this:
# perf report
Since ctxt is kzalloc'd there is no need to call a memset for
ctxt->fpu_ctxt.
Signed-off-by: Boris Ostrovsky
---
arch/x86/xen/smp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c
index ca7ee1f..7cf0765 100644
--- a/arch/x86/xen/smp.c
+++
Signed-off-by: Boris Ostrovsky
---
arch/x86/xen/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig
index e88fda8..891031e 100644
--- a/arch/x86/xen/Kconfig
+++ b/arch/x86/xen/Kconfig
@@ -48,5 +48,5 @@ config XEN_DEBUG_FS
x86-64 ABI requires that functions preserve %rbx. When
xen_pvh_early_cpu_init() is executed on boot cpu it is invoked as a
function and 'cpuid' instruction will clobber %rbx. (This is not a
concern on secondary processors since there xen_pvh_early_cpu_init() is
the entry point and thus does not
A set of PVH-related patches.
The first patch is x86-64 ABI fix for PVH guests. The second is a small update
that removes redundant memset (both on PV and PVH code paths)
The rest is to enable non-privileged 32-bit PVH guests. This requires hypervisor
patches from
Signed-off-by: Boris Ostrovsky
---
arch/x86/xen/enlighten.c | 16
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 0b95c9b..7953e68 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@
32-bit PVH guests don't want to write-protect/pin page tables.
Signed-off-by: Boris Ostrovsky
---
arch/x86/xen/mmu.c | 22 +-
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c
index dd151b2..b473df8 100644
---
Signed-off-by: Boris Ostrovsky
---
arch/x86/xen/enlighten.c | 4
arch/x86/xen/smp.c | 17 ++---
arch/x86/xen/xen-head.S | 17 +++--
3 files changed, 25 insertions(+), 13 deletions(-)
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index
(please ignore the last email which contain HTML format and was rejected, sorry
for the inconvenience caused)
This patch aims to fix an issue when using the regmap function in different
drivers.
I describe the issue here:
We want to use the the same regmap handler to access the same hardware
Hi,
On Tue, Jul 07, 2015 at 02:10:26AM +, John Youn wrote:
> On 7/1/2015 8:00 PM, Felipe Balbi wrote:
> > On Thu, Jul 02, 2015 at 02:03:14AM +, John Youn wrote:
> >> On 6/29/2015 2:48 PM, Felipe Balbi wrote:
> >>> Hi again,
> >>>
> >>> On Mon, Jun 29, 2015 at 04:47:01PM -0500, Felipe
On Mon, 2015-07-06 at 18:39 +0200, Matthias Brugger wrote:
> On Monday, July 06, 2015 03:43:57 PM Eddie Huang wrote:
> > On Mon, 2015-06-22 at 21:19 +0800, Henry Chen wrote:
> > > From: Eddie Huang
> > >
[...]
> > > diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> > >
Hi all,
Now that -rc1 is out, please clean up your trees if necessary.
Changes since 20150706:
My fixes tree contains:
Merge branch 'perf-urgent-for-linus' of ../../tip
The device-mapper tree lost its build failure.
Non-merge commits (relative to Linus' tree): 676
725 files changed, 51320
Hi all,
We're pleased to announce a public update to Intel Graphics Virtualization
Technology(Intel GVT-g, formerly known as XenGT).
Intel GVT-g is a full GPU virtualization solution with mediated pass-through,
starting from 4th generation Intel Core(TM) processors with Intel Graphics
On 2015/7/6 23:40, Arnaldo Carvalho de Melo wrote:
Em Mon, Jul 06, 2015 at 11:00:10PM +0800, pi3orama escreveu:
发自我的 iPhone
在 2015年7月6日,下午9:56,Arnaldo Carvalho de Melo 写道:
I.e. having something in the filter expression that gets transformed
into the tools' pid, I have no problem with
On 2015/07/07 6:27, Vince Weaver wrote:
> Hello
>
> I've been working on trying to get the perf_fuzzer to start fuzzing the
> PERF_EVENT_IOC_SET_BPF so I've added some really hackish kprobe support.
>
> However before I can get to the BPF testing the kprobe code generates a
> constant stream
From: Matteo Croce
Date: Mon, 6 Jul 2015 21:44:06 +0200
> 2015-07-06 12:49 GMT+02:00 :
>> On Thu, 02 Jul 2015 10:56:01 +0200, Matteo Croce said:
>>> Add option to disable any reply not related to a listening socket,
>>> like RST/ACK for TCP and ICMP Port-Unreachable for UDP.
>>> Also disables
> +static int _mv88e6xxx_vtu_getnext(struct dsa_switch *ds, u16 vid,
> + struct mv88e6xxx_vtu_entry *entry)
> +{
> + int ret, i;
> +
> + ret = _mv88e6xxx_vtu_wait(ds);
> + if (ret < 0)
> + return ret;
> +
> + ret = _mv88e6xxx_reg_write(ds,
On 7/1/2015 8:00 PM, Felipe Balbi wrote:
> On Thu, Jul 02, 2015 at 02:03:14AM +, John Youn wrote:
>> On 6/29/2015 2:48 PM, Felipe Balbi wrote:
>>> Hi again,
>>>
>>> On Mon, Jun 29, 2015 at 04:47:01PM -0500, Felipe Balbi wrote:
On Thu, May 21, 2015 at 03:46:48PM +0530, Subbaraya Sundeep
On Tue, Jul 07, 2015 at 01:38:04AM +0200, Andrew Lunn wrote:
> On Sun, Jul 05, 2015 at 10:14:50PM -0400, Vivien Didelot wrote:
> > Hi all,
> >
> > This patchset brings full support for hardware VLANs in DSA, and the Marvell
> > 88E6xxx compatible switch chips.
>
> Hi Vivien
>
> I just booted
On Tue, Jul 07, 2015 at 09:53:39AM +0900, Simon Horman wrote:
> On Tue, Jun 09, 2015 at 01:26:38PM -0500, Rob Herring wrote:
> > set_irq_flags is ARM specific with custom flags which have genirq
> > equivalents. Convert drivers to use the genirq interfaces directly, so we
> > can kill off
When the checkpatch.pl script was run, it showed lines with length
more than 80 characters in rtw_ap.c file. Fixed line number 382 by
breaking it up into two lines within 80 characters.
Signed-off-by: Sreenath Madasu
---
drivers/staging/rtl8188eu/core/rtw_ap.c | 3 ++-
1 file changed, 2
2015-06-30 9:56 GMT+09:00 Krzysztof Kozlowski :
> On 29.06.2015 22:22, Robert Baldyga wrote:
>> Enable DMA transfers for serial ports.
>>
>> Signed-off-by: Robert Baldyga
>> ---
>> arch/arm/boot/dts/exynos4.dtsi | 8
>> 1 file changed, 8 insertions(+)
>
> Reviewed-by: Krzysztof
On 2015/7/6 22:03, PINTU KUMAR wrote:
> Hi,
>
>> -Original Message-
>> From: Xishi Qiu [mailto:qiuxi...@huawei.com]
>> Sent: Monday, July 06, 2015 3:53 PM
>> To: Pintu Kumar
>> Cc: cor...@lwn.net; a...@linux-foundation.org; vba...@suse.cz;
>> gorcu...@openvz.org; mho...@suse.cz;
On Jul 6, 2015, at 4:49 AM, Zidan Wang wrote:
> +static bool fsl_ssi_readable_reg(struct device *dev, unsigned int reg)
> +{
> + switch (reg) {
> + case CCSR_SSI_STX0:
> + case CCSR_SSI_STX1:
> + case CCSR_SSI_SRX0:
> + case CCSR_SSI_SRX1:
> + case CCSR_SSI_SCR:
> +
On Jul 6, 2015, at 4:49 AM, Zidan Wang wrote:
> The register SFCSR is volatile, but some bits in it need to be
> recovered after suspend/resume.
>
> Signed-off-by: Zidan Wang
Shouldn't this be part of patch #1?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the
We can simplify uprobe_free_utask() and handle_uretprobe_chain()
if we add a simple helper which does put_uprobe/kfree and returns
the ->next return_instance.
Signed-off-by: Oleg Nesterov
Acked-by: Srikar Dronamraju
---
kernel/events/uprobes.c | 27 +--
1 files
No functional changes, preparation.
Add the new helper, find_next_ret_chain(), which finds the first !chained
entry and returns its ->next. Yes, it is suboptimal. We probably want to
turn ->chained into ->start_of_this_chain pointer and avoid another loop.
But this needs the boring changes in
Test-case:
#include
#include
jmp_buf jmp;
void func_2(void)
{
longjmp(jmp, 1);
}
void func_1(void)
{
if (setjmp(jmp))
return;
func_2();
Add the new "weak" helper, arch_uretprobe_is_alive(), used by the next
patches. It should return true if this return_instance is still valid.
The arch agnostic version just always returns true.
The patch exports "struct return_instance" for the architectures which
want to override this hook. We
arch/x86 doesn't care (so far), but as Pratyush Anand pointed out
other architectures might want why arch_uretprobe_is_alive() was
called and use different checks depending on the context. Add the
new argument to distinguish 2 callers.
Signed-off-by: Oleg Nesterov
---
arch/x86/kernel/uprobes.c
The previous change documents that cleanup_return_instances() can't
always detect the dead frames, the stack can grow. But there is one
special case which imho worth fixing: arch_uretprobe_is_alive() can
return true when the stack didn't actually grow, but the next "call"
insn uses the already
Change prepare_uretprobe() to flush the !arch_uretprobe_is_alive()
return_instance's. This is not needed correctness-wise, but can help
to avoid the failure caused by MAX_URETPROBE_DEPTH.
Note: in this case arch_uretprobe_is_alive() can be false positive,
the stack can grow after longjmp().
1. It doesn't make sense to continue if handle_trampoline() fails,
change handle_swbp() to always return after this call.
2. Turn pr_warn() into uprobe_warn(), and change handle_trampoline()
to send SIGILL on failure. It is pointless to return to user mode
with the corrupted
Cosmetic. Add the new trivial helper, get_uprobe(). It matches
put_uprobe() we already have and we can simplify a couple of its
users.
Signed-off-by: Oleg Nesterov
Acked-by: Srikar Dronamraju
---
kernel/events/uprobes.c | 39 ---
1 files changed, 20
Add the x86-specific version of arch_uretprobe_is_alive() helper.
It returns true if the stack frame mangled by prepare_uretprobe()
is still on stack. So if it returns false, we know that the probed
function has already returned.
We add the new return_instance->stack member and change the generic
Turn the last pr_warn() in uprobes.c into uprobe_warn().
While at it:
- s/kzalloc/kmalloc, we initialize every member of ri
- remove the pointless comment above the obvious code
Signed-off-by: Oleg Nesterov
Acked-by: Srikar Dronamraju
---
kernel/events/uprobes.c | 10 +++---
1
Sorry for delay,
Currently ret-probes can't work (the application will likely crash)
if the probed function does not return, and this is even documented
in handle_trampoline().
This series tries to make the first step to fix the problem, assuming
that the probed functions use the same stack.
Hi Paul
2015-07-07 4:25 GMT+09:00 Paul Gortmaker :
> [[PATCH v2] mm: nommu: fix typos in comment blocks] On 06/07/2015 (Mon 13:01)
> Masahiro Yamada wrote:
>
>> continguos -> contiguous
>>
>> Signed-off-by: Masahiro Yamada
>
> I'd suggested this go via the trivial tree, but instead I see it is
On Mon, Jul 06, 2015 at 03:52:25PM +0200, Rafael J. Wysocki wrote:
> On Monday, July 06, 2015 10:06:14 AM Dave Chinner wrote:
> > On Sat, Jul 04, 2015 at 03:03:46AM +0200, Rafael J. Wysocki wrote:
> > > > No, your observation was that "sync is slow". Your *solution* is "we
> > > > need to remove
On 07/07/2015 05:52 AM, Michael Ellerman wrote:
> On Tue, 2015-07-07 at 01:39 +0530, Shreyas B. Prabhu wrote:
>> Signed-off-by: Shreyas B. Prabhu
>> Fixes: 7b54e9f213f76 'powernv/powerpc: Add winkle support for offline
>> cpus'
>
> The sha is wrong, it should be 77b54e9f213f.
>
Argh! Sorry
>
Looks like the word "contiguous" is often mistyped.
Signed-off-by: Masahiro Yamada
---
Hi Jiri,
Please consider applying this into your trivial.git tree
Thanks,
arch/mips/kernel/setup.c | 2 +-
drivers/gpio/gpiolib-acpi.c | 2 +-
From: Byungchul Park
manipulating rq->cfs_tasks and numa-accounting are not meaningless on !SMP.
separate the operations from account_entity_en(de)queue.
Signed-off-by: Byungchul Park
---
kernel/sched/fair.c | 40 +++-
1 file changed, 27 insertions(+), 13
Assign pm_power_off() if we have the PS_HOLD functionality so
that we can properly shutdown the SoC. Otherwise, shutdown won't
do anything besides put the CPU into a tight loop. Unfortunately,
we have to use a singleton here because pm_power_off() doesn't
take any arguments. Fortunately there's
On pm8xxx PMICs, shutdown and restart are signaled to the PMIC
via a pin called PS_HOLD. When this pin goes low, the PMIC
performs a configurable power sequence. Add a .shutdown hook so
that we can properly configure this power sequence for shutdown
or restart depending on the system state.
Currently, per-blkcg data is freed each time a policy is deactivated,
that is also upon scheduler switch. However, when switching from a
scheduler implementing a policy which requires per-blkcg data to
another one, that same policy might be active on other devices, and
therefore those same
1 - 100 of 2060 matches
Mail list logo