On Fri, Mar 27, 2015 at 12:30 PM, Andrew Morton
wrote:
> On Fri, 27 Mar 2015 08:58:54 -0700 Jeremy Allison wrote:
>
>> On Fri, Mar 27, 2015 at 02:01:59AM -0700, Andrew Morton wrote:
>> > On Fri, 27 Mar 2015 01:48:33 -0700 Christoph Hellwig
>> > wrote:
>> >
>> > > On Fri, Mar 27, 2015 at
On 2015/3/31 0:31, Tony Lindgren wrote:
> * Wang Long [150327 02:43]:
>> If we set ramoops.mem_type=1 in command line, the current
>> code can not change mem_type to 1, because it is assigned
>> to 0 in function ramoops_register_dummy.
>>
>> This patch make it possible to change mem_type
On 03/30/15 17:15, Andrew Bresticker wrote:
> On Mon, Mar 30, 2015 at 4:59 PM, Stephen Boyd wrote:
>> On 02/24/15 19:56, Andrew Bresticker wrote:
>>> +
>>> +void pistachio_clk_force_enable(struct pistachio_clk_provider *p,
>>> + unsigned int *clk_ids, unsigned int num)
Quoting Sascha Hauer (2015-03-30 10:40:41)
> +static void mtk_pll_set_rate_regs(struct clk_hw *hw, u32 pcw,
> + int postdiv)
> +{
> + struct mtk_clk_pll *pll = to_mtk_clk_pll(hw);
> + u32 con1, pd, val;
> + int pll_en;
> +
> + /* set postdiv */
> + pd =
On Thu, Mar 26, 2015 at 10:29:27PM -0300, Marcelo Tosatti wrote:
> On Thu, Mar 26, 2015 at 11:38:59AM -0700, Vikas Shivappa wrote:
> >
> > Hello Marcelo,
>
> Hi Vikas,
>
> > On Wed, 25 Mar 2015, Marcelo Tosatti wrote:
> >
> > >On Thu, Mar 12, 2015 at 04:16:07PM -0700, Vikas Shivappa wrote:
> >
On Sun, Feb 08, 2015 at 11:37:33AM -0500, Nicholas Mc Guire wrote:
> return type of wait_for_completion_timeout is unsigned long not int. The
> return variable is renamed to reflect its use and the type adjusted to
> unsigned long.
>
> Signed-off-by: Nicholas Mc Guire
Pushed to l2-mtd.git.
> -Original Message-
> From: Marcelo Tosatti [mailto:mtosa...@redhat.com]
> Sent: Tuesday, March 31, 2015 7:56 AM
> To: Wu, Feng
> Cc: h...@zytor.com; t...@linutronix.de; mi...@redhat.com; x...@kernel.org;
> g...@kernel.org; pbonz...@redhat.com; dw...@infradead.org;
> j...@8bytes.org;
On Tue, Feb 10, 2015 at 10:00:01PM -0600, Han Xu wrote:
> On Sun, Feb 1, 2015 at 5:15 AM, Nicholas Mc Guire wrote:
> > return type of wait_for_completion_timeout is unsigned long not int, this
> > patch uses the return value of wait_for_completion_timeout in the condition
> > directly rather than
On Thu, Mar 26, 2015 at 06:18:12PM +0800, chenhui zhao wrote:
> Various e500 core have different cache architecture, so they
> need different cache flush operations. Therefore, add a callback
> function cpu_flush_caches to the struct cpu_spec. The cache flush
> operation for the specific kind of
On 31/03/15 01:48, Namhyung Kim wrote:
> Hi Steve,
>
> On Mon, Mar 30, 2015 at 05:15:11PM -0400, Steven Rostedt wrote:
>> On Thu, 26 Mar 2015 09:32:23 +0900
>> Namhyung Kim wrote:
>>
>>> The usleep is only provided on distros from Redhat so running ftracetest
>>> on other distro resulted in
On Mon, Mar 30, 2015 at 3:54 PM, David Ahern wrote:
> On 3/29/15 2:07 PM, Yinghai Lu wrote:
>>
>> [ 286.647560] PCI: scan_bus[/pci@300/pci@1/pci@0/pci@6] bus no 8
>> [ 286.921232] PCI: Claiming :00:01.0: Resource 15:
>> 8001..8004afff [220c]
>> [ 287.229190] PCI:
On Tue, 31 Mar 2015 09:48:55 +0900
Namhyung Kim wrote:
> I understand your point. But this is not just cat, it needs grep and
> wc also. So I think there should be scheduler event(s).
>
Yes, and cat opens 'trace', which will disable tracing, and if that
happens before grep and wc, then those
On Mon, Mar 09, 2015 at 11:10:41AM -0700, Dmitry Torokhov wrote:
> Even if bus is not hot-pluggable, the devices can be unbound from the
> driver via sysfs, so we should not be using __exit annotations on
> remove() methods. The only exception is drivers registered with
> platform_driver_probe()
Hi Steve,
On Mon, Mar 30, 2015 at 05:15:11PM -0400, Steven Rostedt wrote:
> On Thu, 26 Mar 2015 09:32:23 +0900
> Namhyung Kim wrote:
>
> > The usleep is only provided on distros from Redhat so running ftracetest
> > on other distro resulted in failures due to the missing usleep.
> >
> > The
On Thu, Mar 12, 2015 at 04:24:04PM +0100, Christophe Leroy wrote:
> Two config options exist to define powerpc MPC8xx:
> * CONFIG_PPC_8xx
> * CONFIG_8xx
> In addition, CONFIG_PPC_8xx also defines CONFIG_CPM1 as
> communication co-processor
>
> arch/powerpc/platforms/Kconfig.cputype has contained
Hi,
On 03/31/2015 09:31 AM, Alexandre Belloni wrote:
> Hi,
>
> On 31/03/2015 at 08:38:30 +0900, Chanwoo Choi wrote :
>>> diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.txt
>>> b/Documentation/devicetree/bindings/rtc/s3c-rtc.txt
>>> index ab757b84daa7..ac2fcd6ff4b8 100644
>>> ---
Em Tue, Mar 31, 2015 at 09:27:30AM +0900, Namhyung Kim escreveu:
> On Mon, Mar 30, 2015 at 12:13:03PM -0300, Arnaldo Carvalho de Melo wrote:
> > Em Mon, Mar 30, 2015 at 11:58:05AM -0300, Arnaldo Carvalho de Melo escreveu:
> > > Em Mon, Mar 30, 2015 at 09:48:52PM +0900, Namhyung Kim escreveu:
> > >
On Mon, Feb 23, 2015 at 05:26:39PM +0200, Roger Quadros wrote:
> If a NAND device is not really present or pin muxes are not correctly
> configured we can lock up the kernel waiting infinitely for NAND_STATUS
> to be ready.
>
> This can be easily reproduced on TI's DRA7-evm board by booting it
>
On Fri, 27 Mar 2015, Sergei Shtylyov wrote:
> Hello.
>
> On 03/20/2015 10:47 AM, Nicholas Mc Guire wrote:
>
>Sorry for late reply, I'm pretty busy these days.
no hurry on this - this is cleanup work only
>
wait_for_completion_timeout return 0 (timeout) or >=1 (completion) so the
On Mon, Mar 30, 2015 at 12:13:03PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Mon, Mar 30, 2015 at 11:58:05AM -0300, Arnaldo Carvalho de Melo escreveu:
> > Em Mon, Mar 30, 2015 at 09:48:52PM +0900, Namhyung Kim escreveu:
> > > But this makes every sample processing grabs and releases the lock so
Add #defines for the event types (EV_KEY, EV_SW, etc.) to the input DT
bindings header so that they can be used in device-tree source files.
Signed-off-by: Andrew Bresticker
---
New for v2.
---
include/dt-bindings/input/input.h | 14 ++
1 file changed, 14 insertions(+)
diff --git
On Fri, 27 Mar 2015 07:09:56 -0400 Peter Hurley
wrote:
> On 03/25/2015 05:17 PM, NeilBrown wrote:
> > On Wed, 25 Mar 2015 12:30:00 -0400 Peter Hurley
> > wrote:
> >
> >> On 03/18/2015 01:58 AM, NeilBrown wrote:
> >>
> >>> + * A "tty-slave" is a device permanently attached to a particularly
>
On 03/30/15 11:57, Andy Shevchenko wrote:
> This patch converts the code to use rational best approximation algorithm
> which
> is more precise.
>
> Suggested-by: Stephen Boyd
> Signed-off-by: Andy Shevchenko
> ---
> drivers/clk/Kconfig | 3 +--
>
Hi,
On 31/03/2015 at 08:38:30 +0900, Chanwoo Choi wrote :
> > diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.txt
> > b/Documentation/devicetree/bindings/rtc/s3c-rtc.txt
> > index ab757b84daa7..ac2fcd6ff4b8 100644
> > --- a/Documentation/devicetree/bindings/rtc/s3c-rtc.txt
> > +++
Add a polled input driver for a keypad in which the buttons are connected
in resistor ladders to an ADC. The IIO framework is used to claim and
read the ADC channels.
Signed-off-by: Andrew Bresticker
Cc: Jonathan Cameron
---
Changes from v1:
- Made linux,input-type a required property.
---
Add a binding document for a generic ADC keypad. Buttons on an ADC
keypad are connected in a resistor ladder to an ADC. The binding
describes the mapping of ADC channel and voltage ranges to buttons.
Note that this binding only describes simple ADC keypads where only
a single button press can be
nitpick: I would prefer rtc: rtc-s3c instead of drivers/rtc/rtc-s3c.c
On 30/03/2015 at 17:19:32 +0200, Krzysztof Kozlowski wrote :
> There are now no differences between RTC on Exynos3250 and S3C6410.
> Merge everything into one so duplicated code could be removed.
>
> Signed-off-by: Krzysztof
Hi Arnaldo,
On Mon, Mar 30, 2015 at 11:02:39AM -0300, Arnaldo Carvalho de Melo wrote:
> Em Mon, Mar 30, 2015 at 10:06:35PM +0900, Namhyung Kim escreveu:
> > On Mon, Mar 30, 2015 at 9:56 PM, Jiri Olsa wrote:
> > > On Mon, Mar 30, 2015 at 09:48:52PM +0900, Namhyung Kim wrote:
> > >> > @@ -380,10
On Mon, 30 Mar 2015 09:31:19 -0500 (CDT)
Christoph Lameter wrote:
> After all of the earlier discussions I thought it would be better to
> first get agreement on the basic way to allow implementation of the
> bulk alloc in the common slab code. So this is a revision of the initial
> proposal and
On Mon, Mar 30, 2015 at 4:59 PM, Stephen Boyd wrote:
> On 02/24/15 19:56, Andrew Bresticker wrote:
>> +
>> +void pistachio_clk_force_enable(struct pistachio_clk_provider *p,
>> + unsigned int *clk_ids, unsigned int num)
>> +{
>> + unsigned int i;
>> + int err;
On Mon, 2015-03-30 at 17:07 -0700, Casey Schaufler wrote:
> On 3/30/2015 4:45 PM, Joe Perches wrote:
> > Joe Perches (25):
> > arm: Use bool function return values of true/false not 1/0
[etc...]
> Why, and why these in particular?
bool functions are probably better returning
bool values
On 3/30/2015 4:45 PM, Joe Perches wrote:
> Joe Perches (25):
> arm: Use bool function return values of true/false not 1/0
> arm64: Use bool function return values of true/false not 1/0
> hexagon: Use bool function return values of true/false not 1/0
> ia64: Use bool function return values
On 02/24/15 19:56, Andrew Bresticker wrote:
> This series adds common clock support for the IMG Pistachio SoC.
> Pistachio has two clock controllers (core and peripheral) and two
> general control blocks (peripheral and top) which also contain
> several clock gates. Like the recently submitted
On 02/24/15 19:56, Andrew Bresticker wrote:
> +
> +void pistachio_clk_force_enable(struct pistachio_clk_provider *p,
> + unsigned int *clk_ids, unsigned int num)
> +{
> + unsigned int i;
> + int err;
> +
> + for (i = 0; i < num; i++) {
> + struct
Dear maintainer, gentle ping if this driver is ready for more review/inclusion
into Linux v4.1 ?
Thank you very much.
>-Original Message-
>From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel-
>ow...@vger.kernel.org] On Behalf Of Ong Boon Leong
>Sent: Monday, March 9, 2015 3:43
Hi Mark,
On 03/31/2015 01:09 AM, Mark Rutland wrote:
> Hi,
>
> On Wed, Mar 18, 2015 at 12:17:28AM +, Chanwoo Choi wrote:
>> This patch adds new Exynos5433 dtsi to support 64-bit Exynos5433 SoC based on
>> Octal core CPUs (quad Cortex-A57 and quad Cortex-A53). And Exynos5433
>> supports
>>
On Mon, Mar 30, 2015 at 04:46:55AM +, Wu, Feng wrote:
>
>
> > -Original Message-
> > From: Marcelo Tosatti [mailto:mtosa...@redhat.com]
> > Sent: Saturday, March 28, 2015 3:30 AM
> > To: Wu, Feng
> > Cc: h...@zytor.com; t...@linutronix.de; mi...@redhat.com; x...@kernel.org;
> >
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
arch/arm64/include/asm/dma-mapping.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/include/asm/dma-mapping.h
b/arch/arm64/include/asm/dma-mapping.h
index 6932bb5..9437e3d 100644
---
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
arch/hexagon/include/asm/dma-mapping.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/hexagon/include/asm/dma-mapping.h
b/arch/hexagon/include/asm/dma-mapping.h
index 1696542..8d22ba5
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
arch/ia64/include/asm/dma-mapping.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/ia64/include/asm/dma-mapping.h
b/arch/ia64/include/asm/dma-mapping.h
index cf3ab7e..1b0b192 100644
---
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
arch/tile/include/asm/dma-mapping.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/tile/include/asm/dma-mapping.h
b/arch/tile/include/asm/dma-mapping.h
index 1eae359..b150111 100644
---
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
arch/s390/include/asm/dma-mapping.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/s390/include/asm/dma-mapping.h
b/arch/s390/include/asm/dma-mapping.h
index 709955d..9d39596 100644
---
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
arch/mips/include/asm/dma-mapping.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/include/asm/dma-mapping.h
b/arch/mips/include/asm/dma-mapping.h
index 06412aa..fd1b4a1 100644
---
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
arch/arm/include/asm/dma-mapping.h | 8
arch/arm/include/asm/kvm_emulate.h | 2 +-
arch/arm/mach-omap2/powerdomain.c | 14 +++---
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
drivers/scsi/csiostor/csio_scsi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/csiostor/csio_scsi.c
b/drivers/scsi/csiostor/csio_scsi.c
index 2c4562d..5754fb6 100644
---
On Mon, Mar 30, 2015 at 06:20:48PM +0200, Michael Wang wrote:
> On 03/30/2015 06:11 PM, Doug Ledford wrote:
> > On Fri, 2015-03-27 at 16:46 +0100, Michael Wang wrote:
> >> Introduce helper has_mcast() and cap_mcast() to help us check if an
> >> IB device or it's port support Multicast.
> > This
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
arch/x86/include/asm/archrandom.h | 2 +-
arch/x86/include/asm/dma-mapping.h | 2 +-
arch/x86/include/asm/kvm_para.h| 2 +-
arch/x86/kvm/cpuid.h | 2 +-
arch/x86/kvm/vmx.c | 72
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
arch/unicore32/include/asm/dma-mapping.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/unicore32/include/asm/dma-mapping.h
b/arch/unicore32/include/asm/dma-mapping.h
index 366460a..86f7962
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
kernel/rcu/tree_plugin.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index f2af14d..ea342bb 100644
--- a/kernel/rcu/tree_plugin.h
+++
Use the normal return values for bool functions
Update the other sets of ret in try_wait_for_completion.
Signed-off-by: Joe Perches
---
kernel/sched/auto_group.h | 2 +-
kernel/sched/completion.c | 16 +---
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
fs/dcache.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs/dcache.c b/fs/dcache.c
index d99736a..44b19a4 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -629,16 +629,16 @@ static
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
mm/slub.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/mm/slub.c b/mm/slub.c
index 90227ad..520354d 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -376,7 +376,7 @@ static inline bool
The Subtlety (1) referred to vanished with 6ba2ef7baac2 ("cpumask:
Move deprecated functions to end of header."). That used to mention
some suboptimal code generation by a, by now, rather ancient gcc. With
gcc 4.7, I don't see any change in the generated code by making it a
static inline, so let's
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
net/ipv4/netfilter/ipt_ah.c | 2 +-
net/netfilter/ipset/ip_set_hash_ip.c | 8
net/netfilter/ipset/ip_set_hash_ipmark.c | 8
net/netfilter/ipset/ip_set_hash_ipport.c
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
kernel/trace/ftrace.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 5a2e0b5..650043b 100644
--- a/kernel/trace/ftrace.c
+++
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
security/apparmor/file.c | 8
security/apparmor/policy.c | 10 +-
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/security/apparmor/file.c b/security/apparmor/file.c
index
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
fs/nfsd/nfs4state.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 26e9baa..fbb8dcb 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
include/linux/blkdev.h | 2 +-
include/linux/ide.h | 2 +-
include/linux/kgdb.h | 2 +-
include/linux/mfd/db8500-prcmu.h | 2 +-
include/linux/mm.h
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
arch/sparc/mm/init_64.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c
index 4ca0d6b..f7c4832 100644
--- a/arch/sparc/mm/init_64.c
+++
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
arch/powerpc/include/asm/dcr-native.h| 2 +-
arch/powerpc/include/asm/dma-mapping.h | 4 ++--
arch/powerpc/include/asm/kvm_book3s_64.h | 4 ++--
arch/powerpc/sysdev/dcr.c| 2 +-
4 files changed,
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
drivers/char/virtio_console.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index 72d7028..50754d20 100644
---
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
include/sound/soc.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/sound/soc.h b/include/sound/soc.h
index fcb312b..5ca7ec0 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
net/bridge/br_private.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
index b46fa0c..5aba35e 100644
--- a/net/bridge/br_private.h
+++
Use the normal return values for bool functions
Signed-off-by: Joe Perches
---
sound/soc/codecs/wm5100-tables.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/sound/soc/codecs/wm5100-tables.c b/sound/soc/codecs/wm5100-tables.c
index e239f4b..9e987cf 100644
---
Joe Perches (25):
arm: Use bool function return values of true/false not 1/0
arm64: Use bool function return values of true/false not 1/0
hexagon: Use bool function return values of true/false not 1/0
ia64: Use bool function return values of true/false not 1/0
mips: Use bool function
On Tue, 24 Mar 2015 11:31:55 +0100 Jiri Slaby wrote:
> Hi,
>
> On 03/18/2015, 06:58 AM, NeilBrown wrote:
> > --- /dev/null
> > +++ b/drivers/tty/slave/tty_slave_core.c
> > @@ -0,0 +1,136 @@
>
> ...
>
> > +static int tty_slave_match(struct device *dev, struct device_driver *drv)
> > +{
> > +
Em Mon, Mar 30, 2015 at 04:51:34PM -0600, David Ahern escreveu:
> Surprised Stephane has not hit this one yet:
>
> $ perf record -e -a | perf script
> Segmentation fault (core dumped)
>
> It's the second one that core dumps.
>
> $ gdb perf core.16704
> ...
> [New LWP 16704]
> [Thread debugging
On 03/31/2015 12:19 AM, Krzysztof Kozlowski wrote:
> Mark "samsung,exynos3250-rtc" compatible as deprecated because it
> duplicates the "samsung,s3c6410-rtc". Use "samsung,s3c6410-rtc" on
> Exynos3250 and Exynos4415 boards.
>
> Signed-off-by: Krzysztof Kozlowski
> ---
>
On 03/31/2015 12:19 AM, Krzysztof Kozlowski wrote:
> There are now no differences between RTC on Exynos3250 and S3C6410.
> Merge everything into one so duplicated code could be removed.
>
> Signed-off-by: Krzysztof Kozlowski
> ---
> drivers/rtc/rtc-s3c.c | 14 +-
> 1 file changed, 1
On Mon, Mar 30, 2015 at 4:26 PM, Andrew Morton
wrote:
> On Mon, 30 Mar 2015 00:36:04 -0700 Christoph Hellwig
> wrote:
>
>> On Fri, Mar 27, 2015 at 08:58:54AM -0700, Jeremy Allison wrote:
>> > The problem with the above is that we can't tell the difference
>> > between pread2() returning a short
From: "Luis R. Rodriguez"
This adds an extra argument onto parse_params() to be used
as a way to make the unused callback a bit more useful and
generic by allowing the caller to pass on a data structure
of its choice. An example use case is to allow us to easily
make module parameters for every
Some devices take a long time when initializing, and not all drivers are
suited to initialize their devices when they are open. For example,
input drivers need to interrogate their devices in order to publish
device's capabilities before userspace will open them. When such drivers
are compiled
From: "Luis R. Rodriguez"
Folks wishing to test enabling async probe for all built-in drivers
and/or for all modules can use
__DEBUG__kernel_force_builtin_async_probe or
__DEBUG__kernel_force_modules_async_probe kernel parameters.
Activating either one will taint your kernel.
Signed-off-by:
Hi Catalin,
Today's linux-next merge of the arm64 tree got a conflict in
arch/arm64/configs/defconfig between commit c4bb799588f6 ("arm64: Add
support for Spreadtrum's Sharkl64 Platform in Kconfig and defconfig")
from the arm-soc tree and commit 475bfd3d67fa ("arm64: defconfig:
updates for 4.1")
Similarly to module_param_unsafe(), add the helper to be used by core
code wishing to expose unsafe debugging or testing parameters that taint
the kernel when set.
Acked-by: Rusty Russell
Signed-off-by: Dmitry Torokhov
---
include/linux/moduleparam.h | 9 +
1 file changed, 9
Because platform_driver_probe() checks, after trying to register driver,
if there are any devices that driver successfully bound to, driver's
probe routine must be run synchronously.
Signed-off-by: Dmitry Torokhov
---
drivers/base/platform.c | 13 +
1 file changed, 13 insertions(+)
From: "Luis R. Rodriguez"
There are drivers that can not be probed asynchronously. One such group
is platform drivers registered with platform_driver_probe(), which
expects driver's probe routine be discarded after the driver has been
registered and initial binding attempt executed. Also
From: "Luis R. Rodriguez"
While testing asynchronous PCI probe on this driver I noticed it failed
because the driver checks if any of the PCI devices have been bound to
the driver after registering it, which obviously does not work if
probing is asynchronous.
While there are patches and
From: "Luis R. Rodriguez"
Some init systems may wish to express the desire to have device drivers
run their probe() code asynchronously. This implements support for this
and allows userspace to request async probe as a preference through a
generic shared device driver module parameter,
This series is a combination of changes proposed by Luis a couple months
ago and implementation used by Chrome OS. The issue we are trying to solve
here is "slow" devices and drivers spending "too much time" in their probe()
methods and it affects:
- overall kernel boot process when drivers are
Hi Thomas,
If you turn off a PCI device whose driver has set affinity_hint,
you will get warning message which does _not_ explain the reason
why it appeared from the user's point of view.
# echo 0 > /sys/bus/pci/slots/65/power
Apr 28 20:29:39 localhost kernel: [ cut here
Add a device-tree binding document for the pin controller present
on the IMG Pistachio SoC.
Signed-off-by: Damien Horsley
Signed-off-by: Ezequiel Garcia
Signed-off-by: Andrew Bresticker
Cc: Rob Herring
Cc: Pawel Moll
Cc: Mark Rutland
Cc: Ian Campbell
Cc: Kumar Gala
---
Changes from v1:
-
This series adds support for the system pin and GPIO controller on the IMG
Pistachio SoC. Pistachio's system pin controller manages 99 pins, 90 of
which are MFIOs which can be muxed between multiple functions or used
as GPIOs. The GPIO control for the 90 MFIOs is broken up into banks
of 16.
Add a driver for the pin controller present on the IMG Pistachio SoC.
This driver provides pinmux and pinconfig operations as well as GPIO
and IRQ chips for the GPIO banks.
Signed-off-by: Damien Horsley
Signed-off-by: Govindraj Raja
Signed-off-by: Ezequiel Garcia
Signed-off-by: Kevin Cernekee
Currently the "function" + "groups" combination is the only documented
format for pinmux nodes, although many drivers use "function" + "pins".
Update the generic pinctrl binding to include the "function" + "pins"
combination as well.
Signed-off-by: Andrew Bresticker
Cc: Rob Herring
Cc: Pawel
CC more maintainers.
On Monday, March 30, 2015 03:43:51 PM Andrew Morton wrote:
> On Mon, 30 Mar 2015 11:07:35 + (GMT) Maninder Singh
> wrote:
>
> > Hello All,
> >
> > Avoid waking up every thread sleeping in a restart_syscall call during
> > suspend and resume by calling a freezable
On Mon, Mar 30, 2015 at 3:36 AM, Christoph Hellwig wrote:
> On Fri, Mar 27, 2015 at 08:58:54AM -0700, Jeremy Allison wrote:
>> The problem with the above is that we can't tell the difference
>> between pread2() returning a short read because the pages are not
>> in cache, or because someone
On Mon, Mar 30, 2015 at 6:57 PM, Andrew Morton
wrote:
> On Mon, 30 Mar 2015 18:49:06 -0400 Milosz Tanski wrote:
>
>> > A fincore+pread solution that blocks is simply unsafe
>> > to use for us. We'll have to stay with the threadpool :-(.
>>
>> We're getting data from a network filesystem Ceph in
Change function definition to static, move the function further up in
the file, and delete the function prototype.
This fixes the following warning generated by sparse:
drivers/staging/rtl8192u/r8192U_core.c:1970:6: warning: symbol
'rtl8192_update_ratr_table' was not declared. Should it be
Signed-off-by: Andrey Danin
---
Changes for v2:
- it is initial verion
---
drivers/staging/nvec/nvec.c | 211
1 file changed, 211 deletions(-)
diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index f4c5527..f39f516 100644
---
On Mon, 30 Mar 2015 18:49:06 -0400 Milosz Tanski wrote:
> > A fincore+pread solution that blocks is simply unsafe
> > to use for us. We'll have to stay with the threadpool :-(.
>
> We're getting data from a network filesystem Ceph in our case, but it
> could be pNFS. In many cases those
On 3/29/15 2:07 PM, Yinghai Lu wrote:
[ 286.647560] PCI: scan_bus[/pci@300/pci@1/pci@0/pci@6] bus no 8
[ 286.921232] PCI: Claiming :00:01.0: Resource 15:
8001..8004afff [220c]
[ 287.229190] PCI: Claiming :01:00.0: Resource 15:
8001..8004afff
On Mon, Mar 30, 2015 at 1:19 PM, Jeremy Allison wrote:
> On Mon, Mar 30, 2015 at 12:36:04AM -0700, Christoph Hellwig wrote:
>> On Fri, Mar 27, 2015 at 08:58:54AM -0700, Jeremy Allison wrote:
>> > The problem with the above is that we can't tell the difference
>> > between pread2() returning a
Surprised Stephane has not hit this one yet:
$ perf record -e -a | perf script
Segmentation fault (core dumped)
It's the second one that core dumps.
$ gdb perf core.16704
...
[New LWP 16704]
[Thread debugging using libthread_db enabled]
Using host libthread_db library
On Mon, 30 Mar 2015 18:40:16 -0400 Milosz Tanski wrote:
> On Mon, Mar 30, 2015 at 2:54 PM, Andrew Morton
> wrote:
> > On Mon, 30 Mar 2015 00:40:20 -0700 Christoph Hellwig
> > wrote:
> >
> >> On Fri, Mar 27, 2015 at 10:04:11AM -0700, Andrew Morton wrote:
> >> > mm... I don't think we should
On Mon, Mar 30, 2015 at 4:32 PM, Jeremy Allison wrote:
> On Mon, Mar 30, 2015 at 01:26:25PM -0700, Andrew Morton wrote:
>>
>> cons:
>>
>> d) fincore() is more expensive
>>
>> e) fincore() will very occasionally block
>
> The above is the killer for Samba. If fincore
> returns true but when we
On Mon, 30 Mar 2015 11:07:35 + (GMT) Maninder Singh
wrote:
> Hello All,
>
> Avoid waking up every thread sleeping in a restart_syscall call during
> suspend and resume by calling a freezable blocking call.
> Previous patches modified the freezer to avoid sending wakeups to threads
>
On Mon, Mar 30, 2015 at 2:54 PM, Andrew Morton
wrote:
> On Mon, 30 Mar 2015 00:40:20 -0700 Christoph Hellwig
> wrote:
>
>> On Fri, Mar 27, 2015 at 10:04:11AM -0700, Andrew Morton wrote:
>> > mm... I don't think we should be adding placeholders to the kernel API
>> > to support code which
On Mon, Mar 30, 2015 at 4:37 PM, Andrew Morton
wrote:
> On Mon, 30 Mar 2015 13:32:27 -0700 Jeremy Allison wrote:
>
>> On Mon, Mar 30, 2015 at 01:26:25PM -0700, Andrew Morton wrote:
>> >
>> > cons:
>> >
>> > d) fincore() is more expensive
>> >
>> > e) fincore() will very occasionally block
>>
>>
On Mon, Mar 30, 2015 at 05:10:12PM +0200, Michael Wang wrote:
> I found that actually we don't have to touch this one which
> only used by HW driver currently.
I'm having a hard time understanding this, the code in question was in
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c
Which is the NFS ULP,
101 - 200 of 1870 matches
Mail list logo