On Fri, May 23, 2014 at 03:51:07PM +0800, Chen-Yu Tsai wrote:
> With sunxi_gates clocks registered with clkdev, we can use the
> protected clocks list to enable the "ahb_sdram" clock, instead
> of looking for it and adding CLK_IGNORE_UNUSED inline in the
> clock setup code.
>
> Signed-off-by:
On Fri, May 23, 2014 at 03:51:10PM +0800, Chen-Yu Tsai wrote:
> The N factor for PLL6 counts from 1 to 32, as specified in the A23
> manual, and shown in Allwinner's original code.
>
> This patch fixes the N factor in the clock driver, as well as the
> comment describing it.
>
> Signed-off-by:
On Fri, May 23, 2014 at 03:51:12PM +0800, Chen-Yu Tsai wrote:
> Some clock modules on the A31 use PLL6x2 as one of their inputs.
> This patch changes the PLL6 implementation for A31 to a divs clock,
> i.e. clock with multiple outputs that have different dividers.
>
> This behavior is consistent
On Fri, May 23, 2014 at 03:51:13PM +0800, Chen-Yu Tsai wrote:
> On the A31 and A23, the PLL6 input to the AHB1 clock has a 2 bit wide
> pre-divider. This was verified from the A23 user manual and A31/A23 SDK
> sources.
>
> Signed-off-by: Chen-Yu Tsai
No, it should be part of the AHB1 clock
On Fri, May 23, 2014 at 03:51:21PM +0800, Chen-Yu Tsai wrote:
> The Allwinner A23 is a dual-core Cortex-A7-based SoC. It re-uses most of
> the IPs found in previous SoCs, notably the A31.
>
> Signed-off-by: Chen-Yu Tsai
> ---
> arch/arm/mach-sunxi/Kconfig | 8
>
On Fri, May 23, 2014 at 03:51:25PM +0800, Chen-Yu Tsai wrote:
> The Ippo-q8h is a tablet circiut board commonly found in cheap Android
> tablets with A23 SoCs. There are at least 2 versions of the board, with
> different peripherals, such as WiFi chips.
>
> This patch add supports for v5 of such
On Fri, May 23, 2014 at 03:51:18PM +0800, Chen-Yu Tsai wrote:
> The A23 uses the same pin controller as previous SoC's from Allwinner.
> Add support for the pins controlled by the main PIO controller.
>
> Signed-off-by: Chen-Yu Tsai
> ---
> .../bindings/pinctrl/allwinner,sunxi-pinctrl.txt |
On Fri, May 23, 2014 at 03:51:24PM +0800, Chen-Yu Tsai wrote:
> The Allwinner A23 is a tablet oriented SoC with 2 Cortex-A7 cores
> and a Mali-400MP2 GPU.
>
> Signed-off-by: Chen-Yu Tsai
> ---
> arch/arm/boot/dts/sun8i-a23.dtsi | 524
> +++
> 1 file changed,
On Fri, May 23, 2014 at 03:51:05PM +0800, Chen-Yu Tsai wrote:
> The new important clock protect code requires the clocks be
> registered with clkdev. This was missing for sunxi_gates
> type clocks.
>
> Signed-off-by: Chen-Yu Tsai
Acked-by: Maxime Ripard
--
Maxime Ripard, Free Electrons
On Fri, May 23, 2014 at 03:51:20PM +0800, Chen-Yu Tsai wrote:
> The Allwinner A23 SoC has a PRCM unit like the previous A31 SoC.
> The differences are the AR100 clock can no longer be modified,
> and the APB0 clock has different divisors.
>
> This patch adds a compatible with a modified subdevice
On Fri, May 23, 2014 at 03:51:19PM +0800, Chen-Yu Tsai wrote:
> The A23 has a R_PIO pin controller, similar to the one found on the A31 SoC.
> Add support for the pins controlled by the R_PIO controller.
>
> Signed-off-by: Chen-Yu Tsai
> ---
> drivers/pinctrl/sunxi/Kconfig | 4 +
On Fri, May 23, 2014 at 03:51:06PM +0800, Chen-Yu Tsai wrote:
> PLL6 is used by some important but undocumented module, most likely
> memory related, such as mbus or the actual memory controller. As we
> do not have a driver for that, add pll6 to the list of protected
> clocks, so that it won't be
The actual Linux implementation for semctl(GETNCNT) and semctl(GETZCNT)
always (since 0.99.10) reported a thread as sleeping on all semaphores
that are listed in the semop() call.
The documented behavior (both in the Linux man page and in the Single Unix
Specification) is that a task should be
On Fri, May 23, 2014 at 03:51:14PM +0800, Chen-Yu Tsai wrote:
> PLL6 on sun6i has multiple outputs, just like the other sunxi platforms.
Which outputs?
If it's the PLLx2, PLLx4 and PLLx8, like I said, use fixed factor
clocks.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and
Hi,
On Fri, May 23, 2014 at 03:51:22PM +0800, Chen-Yu Tsai wrote:
> sun6i/sun8i have a UART in the RTC block group, which can be used
> as an early console. This is most useful on sun8i as UART0 is muxed
> with MMC0, which is not available if we boot from MMC.
>
> Signed-off-by: Chen-Yu Tsai
>
On Fri, May 23, 2014 at 03:51:23PM +0800, Chen-Yu Tsai wrote:
> The A23 is a dual Cortex-A7. Add the logic to use the IPs used to
> control the CPU configuration and the CPU power so that we can
> bring up secondary CPUs at boot.
>
> Signed-off-by: Chen-Yu Tsai
> ---
>
On Fri, May 23, 2014 at 03:51:16PM +0800, Chen-Yu Tsai wrote:
> The clock control unit on the A23 is similar to the one found on the A31.
>
> The AHB1, APB1, APB2 gates on the A23 are almost identical to the ones
> on the A31, but some outputs are missing.
>
> The main CPU PLL (PLL1) however is
Hi Joe,
On 05/25/2014 08:39 PM, Joe Perches wrote:
On Sun, 2014-05-25 at 20:21 +0200, Manfred Spraul wrote:
+*/
+ printk_once(KERN_INFO "semctl(GETNCNT/GETZCNT) is since 3.16 Single " \
+ "Unix Specification compliant.\n" \
+
The VGA arbiter does not allow devices to "own" resources that it
doesn't "decode". However, it does allow devices to "lock" resources
that it doesn't decode. This gets us into trouble because locking
the resource goes through the same bridge routing updates regardless
of whether we decode the
From: Corey Minyard
The CPU will go to idle with interrupts off, but the interrupts
will wake up the idle. This was causing very long irqsoff trace
values because, basically, the whole idle time was traces with
irqs off, even though they weren't really off. Rework the idle
code to turn hardirq
Added a blank line after declarations in many places to fix the following
warning issued by checkpatch.pl:
WARNING: Missing a blank line after declarations
Lets see if this works now, this patch is prepared against Greg's staging tree.
Signed-off-by: Chaitanya Hazarey
---
This patch moves data allocated using kzalloc to managed data allocated
using devm_kzalloc and cleans now unnecessary kfrees in probe and remove
functions. Also, linux/device.h is added to make sure the devm_*()
routine declarations are unambiguously available.
The following Coccinelle semantic
On So, 2014-05-25 at 11:33 -0700, Greg KH wrote:
> On Sun, May 25, 2014 at 08:24:33PM +0200, Manuel Schoelling wrote:
> > On So, 2014-05-25 at 11:14 -0700, Greg KH wrote:
> > > On Sun, May 25, 2014 at 03:08:59PM +0200, Manuel Schölling wrote:
> > > > To be future-proof and for better readability
On Sun, 2014-05-25 at 20:21 +0200, Manfred Spraul wrote:
> The actual Linux implementation for semctl(GETNCNT) and semctl(GETZCNT)
> always (since 0.99.10) reported a thread as sleeping on all semaphores
> that are listed in the semop() call.
> The documented behavior (both in the Linux man page
On Sun, May 25, 2014 at 08:24:33PM +0200, Manuel Schoelling wrote:
> On So, 2014-05-25 at 11:14 -0700, Greg KH wrote:
> > On Sun, May 25, 2014 at 03:08:59PM +0200, Manuel Schölling wrote:
> > > To be future-proof and for better readability the time comparisons are
> > > modified to use
Sorry Greg, this is taking so long, will make this against your tree
and send it out.
Thanks for looking into this,
Chaitanya
On Sun, May 25, 2014 at 11:03 AM, Greg KH wrote:
> On Fri, May 23, 2014 at 10:25:28PM -0700, Chaitanya Hazarey wrote:
>> Added a blank line after declarations in many
On So, 2014-05-25 at 11:14 -0700, Greg KH wrote:
> On Sun, May 25, 2014 at 03:08:59PM +0200, Manuel Schölling wrote:
> > To be future-proof and for better readability the time comparisons are
> > modified to use time_before() instead of plain, error-prone math.
> >
> > Signed-off-by: Manuel
The actual Linux implementation for semctl(GETNCNT) and semctl(GETZCNT)
always (since 0.99.10) reported a thread as sleeping on all semaphores
that are listed in the semop() call.
The documented behavior (both in the Linux man page and in the Single Unix
Specification) is that a task should be
On Sun, May 25, 2014 at 03:08:59PM +0200, Manuel Schölling wrote:
> To be future-proof and for better readability the time comparisons are
> modified to use time_before() instead of plain, error-prone math.
>
> Signed-off-by: Manuel Schölling
> ---
> drivers/staging/gdm72xx/gdm_usb.c |2 +-
To be future-proof and for better readability the time comparisons are
modified to use time_before() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/misc/sgi-gru/grumain.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
On Sun, May 25, 2014 at 6:18 AM, Hani Benhabiles wrote:
> On Sun, May 18, 2014 at 10:11:13AM +0100, Hani Benhabiles wrote:
>> On Fri, May 16, 2014 at 10:56:33PM -0400, Paul Clements wrote:
>> > Agreed. But better yet, the request structure should just be zeroed when
>> > it's allocated.
>> >
>>
On Sat, May 24, 2014 at 01:06:48PM +0200, Peter Senna Tschudin wrote:
> This patch remove variables that are initialized with a constant,
> are never updated, and are only used as parameter of return.
> Return the constant instead of using a variable.
>
> Verified by compilation only.
>
> The
To be future-proof and for better readability the time comparisons are
modified to use time_after_eq() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/staging/dgnc/dgnc_neo.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
On Fri, May 23, 2014 at 10:25:28PM -0700, Chaitanya Hazarey wrote:
> Added a blank line after declarations in many places to fix the
> following warning issued by checkpatch.pl:
>
> WARNING: Missing a blank line after declarations
>
> Thanks Greg K-H and Dan for the patience. Hope it works this
To be future-proof and for better readability the time comparisons are
modified to use time_after() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/net/wireless/mwifiex/main.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
On Sun, 2014-05-25 at 19:32 +0200, Manuel Schölling wrote:
> To be future-proof and for better readability the time comparisons are
> modified to use time_before() instead of plain, error-prone math.
Sensible change, but it seems these should be
udelay(some_constant) instead of a a rather
Hi Felipe,
Please take a look at below about how this IP works:
IN:
req.buf ---> DMA (transfers from ddr to IP buffer, raise DMA
done interrupt and set Buffer ready to transfer data to Host)>Host
PC
buffer sent interrupt
OUT:
Host PC--->buffer ready interrupt--->DMA (transfer
To be future-proof and for better readability the time comparisons are
modified to use time_before() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/net/wan/farsync.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
On So, 2014-05-25 at 22:17 +0800, Dongsheng Yang wrote:
> On Sun, May 25, 2014 at 9:26 PM, Manuel Schölling
> wrote:
> > To be future-proof and for better readability the time comparisons are
> > modified to use time_before/_after() instead of plain, error-prone math.
> >
> > Signed-off-by:
On Fri, May 23, 2014 at 05:40:52PM -0700, Florian Fainelli wrote:
> Hi Thomas, Jason,
>
> This patch set adds an irqchip driver for the Broadcom Set Top Box Level-2
> interrupt controller hardware, as well as a corresponding Device Tree binding
> document.
>
> Thanks!
>
> Florian Fainelli (2):
scripts/kconfig/menu.c: In function ‘get_symbol_str’:
scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used uninitialized in
this function [-Wmaybe-uninitialized]
jump->offset = strlen(r->s);
^
scripts/kconfig/menu.c:551:19: note: ‘jump’ was declared here
struct
CHARITY AID FOUNDATION,
You have been selected to receive this donation award sum of "One Million UK
Pound" as charity donations/aid from the Qatar Foundation, held on 17th of May
2014, in Doha, Qatar. For more details on how to receive your Donation,please
contact the President of Qatar
Well, ignoring the return value as it is done in gpio-bt8xx makes the
compiler complain and display a warning message. The problem with
false warning is that it might distract you. I think that the patch
will makes things consistent once completed
Thanks a lot for the review.
On Sun, May 25, 2014
Fixed a lot of errors of the type "ERROR: space required after that ','
(ctx:VxV)"
Added tabs at the beginning of line.
Signed-off-by: Chaitanya Hazarey
---
drivers/staging/rtl8192u/r819xU_firmware_img.c | 1042
1 file changed, 521 insertions(+), 521 deletions(-)
On Fri, May 23, 2014 at 11:33:11AM -0700, Guenter Roeck wrote:
> On 05/23/2014 10:09 AM, Flavio Leitner wrote:
> >On Thu, May 22, 2014 at 11:00:23AM -0700, Guenter Roeck wrote:
> >>On Thu, May 22, 2014 at 12:54:58PM -0300, Flavio Leitner wrote:
> >>>On Thu, May 22, 2014 at 08:10:48AM -0700,
On Sunday, May 25, 2014 at 01:58:39 PM, Corentin LABBE wrote:
[...]
> > This is one IP block and it provides 5 algorithms. Put it under one
> > config option please.
>
> I want to let the user choose what it want to be used. Someone could want
> only to accelerate md5 and to not use the PRNG.
From: Yuval Atias
The “affinity hint” mechanism is used by the user space
daemon, irqbalancer, to indicate a preferred CPU mask for irqs.
Irqbalancer can use this hint to balance the irqs between the
cpus indicated by the mask.
We wish the HCA to preferentially map the IRQs it uses to numa
Hi,
This patchset will set affinity hint to influence IRQs to be allocated on the
same NUMA node as the one where the card resides. As discussed in
http://www.spinics.net/lists/netdev/msg271497.html
If the number of IRQs allocated is greater than the number of local NUMA cores,
all
local cores
This function sets the n'th cpu - local cpu's first.
For example: in a 16 cores server with even cpu's local, will get the
following values:
cpumask_set_cpu_local_first(0, numa, cpumask) => cpu 0 is set
cpumask_set_cpu_local_first(1, numa, cpumask) => cpu 2 is set
...
Surprisingly there is no straight way to get number of processors.
Sysfs attributes /sys/devices/system/cpu/online, "present" and "possible"
shows cpus bitmap as comma-separated list of numbers and ranges. This format
is human-freindly but it's hard to parse and unusable for scripts.
This patchs
A full dynticks CPU is allowed to stop its tick when a single task runs.
Meanwhile when a new task gets enqueued, the CPU must be notified so that
it can restart its tick to maintain local fairness and other accounting
details.
This notification is performed by way of an IPI. Then when the target
irq work currently only supports local callbacks. However its code
is mostly ready to run remote callbacks and we have some potential user.
The full nohz subsystem currently open codes its own remote irq work
on top of the scheduler ipi when it wants a CPU to reevaluate its next
tick. However
Just a small cleanup.
Cc: Andrew Morton
Cc: Ingo Molnar
Cc: Kevin Hilman
Cc: Paul E. McKenney
Cc: Peter Zijlstra
Cc: Thomas Gleixner
Cc: Viresh Kumar
Signed-off-by: Frederic Weisbecker
---
kernel/irq_work.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git
An irq work can be handled from two places: from the tick if the work
carries the "lazy" flag and the tick is periodic, or from a self IPI.
We merge all these works in a single list and we use some per cpu latch
to avoid raising a self-IPI when one is already pending.
Now we could do away with
Now that the irq work subsystem can queue remote callbacks, it's
a perfect fit to safely queue IPIs when interrupts are disabled
without worrying about concurrent callers.
Lets use it for the full dynticks kick to notify a CPU that it's
exiting single task mode.
This unbloats a bit the scheduler
This version implements separate lists for tick and IPI works. As such
it simplifies the IPI raise decision.
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
timers/nohz-irq-work-v4
Thanks,
Frederic
---
Frederic Weisbecker (5):
irq_work: Split
Variable "rt_rq" is used only in block "for_each_sched_rt_entity" so the
value assigned to it at the beginning of the update_curr_rt(...) gets
overwritten without ever being read. Remove redundant assignment and
move variable declaration to the block in which it is being used.
Signed-off-by:
On Sun, May 25, 2014 at 9:26 PM, Manuel Schölling
wrote:
> To be future-proof and for better readability the time comparisons are
> modified to use time_before/_after() instead of plain, error-prone math.
>
> Signed-off-by: Manuel Schölling
> ---
> drivers/infiniband/hw/ipath/ipath_intr.c |
On Fri, May 23, 2014 at 6:41 PM, Stephen Boyd wrote:
> Failure to terminate an of_device_id table can lead to confusing
> failures depending on where the compiler places the array. Add a
> check to make sure these tables are terminated. Thanks to Mitchel
> Humpherys for coming up with the initial
Hi Vincent,
Why do we have two interfaces arch_scale_freq_power() and
arch_scale_cpu_power()? Does it make sense to consolidate them now ?
Regards
Preeti U Murthy
On 05/23/2014 09:22 PM, Vincent Guittot wrote:
> Use the new arch_scale_cpu_power in order to reflect the original capacity of
> a
To be future-proof and for better readability the time comparisons are
modified to use time_before/_after() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/infiniband/hw/ipath/ipath_intr.c |4 ++--
drivers/infiniband/hw/ipath/ipath_sdma.c |4 ++--
2 files
On Sat, May 24, 2014 at 09:59:30PM +0200, Marek Vasut wrote:
> On Saturday, May 24, 2014 at 09:51:59 PM, Tomasz Figa wrote:
> [...]
> > >>> Why sun7i-a20 ? Is the crypto unit different in other sunxi chips ? Can
> > >>> that not be described by DT props ?
> > >>
> > >> A widely used convention is
On Sat, May 24, 2014 at 09:43:42PM +0200, Marek Vasut wrote:
> On Saturday, May 24, 2014 at 09:20:03 PM, Tomasz Figa wrote:
> > Hi Marek,
> >
> > On 24.05.2014 13:21, Marek Vasut wrote:
> > > On Thursday, May 22, 2014 at 05:09:54 PM, LABBE Corentin wrote:
> > >
> > > Missing commit message.
To be future-proof and for better readability the time comparisons are
modified to use time_before() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/staging/gdm72xx/gdm_usb.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
On 5/25/2014 3:15 PM, Amir Vadai wrote:
Hi,
I'm working for Mellanox on mlx4_en NIC driver.
We need to be able to be notified on irq affinity changes.
This is because, during non-stop full bandwidth traffic, napi will poll
constantly and no interrupt will be fired. Because of that, even if the
To be future-proof and for better readability the time comparisons are
modified to use time_before/_after() instead of plain, error-prone math.
To suppress compiler warnings the type of ips_deny_time was changed.
Signed-off-by: Manuel Schölling
---
drivers/staging/rtl8188eu/core/rtw_pwrctrl.c
Malte Schröder wrote:
Hi,
I just tried 3.15-rc6. I encountered a pretty nasty problem, which is
after suspending to RAM the system doesn't wake up properly. v3.14 is fine.
On wakeup all seems fine, i.e. hd starts to spin an USB-stuff wakes up.
But all I get from the graphics card is a white
To be future-proof and for better readability the time comparisons are
modified to use time_before_eq() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling
---
drivers/staging/media/msi3101/sdr-msi3101.c | 28 +--
1 file changed, 14 insertions(+), 14
Hi
On Wed, May 21, 2014 at 3:17 PM, Daniel Vetter wrote:
> On Wed, May 21, 2014 at 02:16:26PM +0200, David Herrmann wrote:
>> The shmem subsystem supports relocating pages on swap-in in case it was
>> loaded into the wrong zone. This was implemented 2 years ago in:
>>
>> commit
Hi,
I'm working for Mellanox on mlx4_en NIC driver.
We need to be able to be notified on irq affinity changes.
This is because, during non-stop full bandwidth traffic, napi will poll
constantly and no interrupt will be fired. Because of that, even if the
user changes the irq affinity, polling
Hi
On Sat, May 24, 2014 at 11:05 PM, Vincent Stehlé
wrote:
> The dma_buf_export function was updated in commit 4bcec44ffaf9 'dma-buf: use
> reservation objects' to take a reservation object parameter; update Armada
> export method accordingly.
>
> This fixes the following compilation error:
>
>
Hi
On Fri, May 23, 2014 at 5:58 AM, Alexandre Courbot wrote:
> The kerneldoc header of ttm_bo_create() was referring to another
> (nonexisting) function and had a few obsolete or incorrect arguments.
>
> Signed-off-by: Alexandre Courbot
Reviewed-by: David Herrmann
Thanks
David
> ---
>
Hi
On Fri, May 23, 2014 at 5:58 AM, Alexandre Courbot wrote:
> ttm_tt_cache_flush's implementation was removed in 2009 by commit
> c9c97b8c, but its declaration has been hiding in ttm_bo_driver.h since
> then.
>
> It has been surviving in the dark for too long now ; give it the mercy
> blow.
>
>
Le 24/05/2014 14:00, Marek Vasut a écrit :
> On Thursday, May 22, 2014 at 05:09:56 PM, LABBE Corentin wrote:
>
> Do I have to repeat myself ? :)
No, sorry for the commit message, I begin to use git
Generally I agree all your remarks with some comments below.
>
>> Signed-off-by: LABBE Corentin
On Fri, May 23, 2014 at 08:03:00PM +0900, Greg Kroah-Hartman wrote:
> On Thu, May 22, 2014 at 11:56:23AM +0200, Thierry Reding wrote:
> > On Tue, May 13, 2014 at 05:30:43PM +0200, Thierry Reding wrote:
> > > From: Thierry Reding
> > >
> > > Hi,
> > >
> > > This series converts the Tegra DRM
On Tue, May 20, 2014 at 5:28 PM, Eric Dumazet wrote:
> On Tue, 2014-05-20 at 14:24 +0300, Igor Royzis wrote:
>> Fix accessing GSO fragments memory (and a possible corruption therefore)
>> after
>> reporting completion in a zero copy callback. The previous fix in the commit
>> 1fd819ec
>>
This patch moves data allocated using kzalloc to managed data allocated
using devm_kzalloc and cleans now unnecessary kfrees in probe and remove
functions. The header file is added to make the devm function explicitly
available.
The following Coccinelle semantic patch was used for making a part
> If true, I'd like to see some performance numbers please.
The numbers have been obtained by running iperf between 2 QEMU Win2012
VMs, 4 vCPU/ 4GB RAM each.
iperf parameters: -w 256K -l 256K -t 300
Original kernel 3.15.0-rc5: 34.4 Gbytes transferred, 984
Mbits/sec bandwidth.
Kernel
This patch moves data allocated using kzalloc to managed data allocated
using devm_kzalloc and cleans now unnecessary kfrees in probe and remove
functions. Also, linux/device.h is added to make sure the devm_*()
routine declarations are unambiguously available. The function
mddi_dummy_remove is
Hi Vincent,
On 05/23/2014 09:22 PM, Vincent Guittot wrote:
> The imbalance flag can stay set whereas there is no imbalance.
>
> Let assume that we have 3 tasks that run on a dual cores /dual cluster system.
> We will have some idle load balance which are triggered during tick.
> Unfortunately,
This patch moves data allocated using kzalloc to managed data allocated
using devm_kzalloc and cleans now unnecessary kfrees in probe and remove
functions. The label sysfs_failed is removed as it is no longer
required. Also, linux/device.h is added to make sure the devm_*()
routine declarations
On Sun, May 18, 2014 at 10:11:13AM +0100, Hani Benhabiles wrote:
> On Fri, May 16, 2014 at 10:56:33PM -0400, Paul Clements wrote:
> > Agreed. But better yet, the request structure should just be zeroed when
> > it's allocated.
> >
>
> It is already initialized in __nbd_ioctl() with the
This patch moves most data allocated in the probe function from
unmanaged interfaces to managed interfaces. The kfrees and error
handling code is done away with. The unnecesary labels are
removed. Also, linux/device.h is added to make sure the devm_*()
routine declarations are unambiguously
2014-05-09 19:53 GMT+08:00 Linus Walleij :
> On Thu, May 1, 2014 at 2:29 PM, Barry Song wrote:
>> 2014-04-24 5:16 GMT+08:00 Linus Walleij :
>
>>> This rewrites the SIRF pinctrl driver to allocate a state container
>>> for the GPIO chip, just as is done for the pin controller, and
>>> use the
On Fri, 2014-05-16 at 15:53 +0200, Mike Galbraith wrote:
> On Tue, 2014-05-13 at 17:40 +0200, Sebastian Andrzej Siewior wrote:
> > * Mike Galbraith | 2014-05-10 06:15:03 [+0200]:
> >
> > >On Fri, 2014-05-09 at 20:12 +0200, Sebastian Andrzej Siewior wrote:
> > >
> > >> Known issues:
> > >>
> >
On Sat, 2014-05-24 at 22:25 +, Serge Hallyn wrote:
> Quoting James Bottomley (james.bottom...@hansenpartnership.com):
> > On Fri, 2014-05-23 at 11:20 +0300, Marian Marinov wrote:
> > > On 05/20/2014 05:19 PM, Serge Hallyn wrote:
> > > > Quoting Andy Lutomirski (l...@amacapital.net):
> > > >>
2014-05-09 19:57 GMT+08:00 Linus Walleij :
> On Thu, May 1, 2014 at 2:40 PM, Barry Song wrote:
>> 2014-04-24 5:16 GMT+08:00 Linus Walleij :
>
>>> Instead of referring to a global static variable for the sgpio
>>> locking, use the state container to contain the lock.
>>>
>>> Signed-off-by: Linus
On Sat, May 24, 2014 at 2:12 AM, abdoulaye berthe wrote:
> This avoids handling gpiochip remove error in device
> remove handler.
Be aware that at the moment many callers of gpiochip_remove() read its
return value. So applying your patch as-is would break compilation.
This patch should
On Sat, 2014-05-24 at 15:16 +0200, Paul Bolle wrote:
> On Sat, 2014-05-24 at 16:13 +0400, James Bottomley wrote:
> > Wait, no, that's not a good idea. We leave obsolete drivers to bitrot.
> > Particularly we try not to touch them unless we have to because there
> > might be a few people still
This patch moves data allocated using kzalloc to managed data allocated
using devm_kzalloc and cleans now unnecessary kfrees in probe and remove
functions.
The following Coccinelle semantic patch was used for making the change:
@platform@
identifier p, probefn, removefn;
@@
struct
On Sat, May 24, 2014 at 10:44:12PM -0700, Chaitanya Hazarey wrote:
> Fixed a lot of errors of the type "ERROR: space required after that ','
> (ctx:VxV)"
>
Add a tab at the start of the line as well.
regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe
On Sat, May 24, 2014 at 10:44:12PM -0700, Chaitanya Hazarey wrote:
Fixed a lot of errors of the type ERROR: space required after that ','
(ctx:VxV)
Add a tab at the start of the line as well.
regards,
dan carpenter
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
This patch moves data allocated using kzalloc to managed data allocated
using devm_kzalloc and cleans now unnecessary kfrees in probe and remove
functions.
The following Coccinelle semantic patch was used for making the change:
@platform@
identifier p, probefn, removefn;
@@
struct
On Sat, 2014-05-24 at 15:16 +0200, Paul Bolle wrote:
On Sat, 2014-05-24 at 16:13 +0400, James Bottomley wrote:
Wait, no, that's not a good idea. We leave obsolete drivers to bitrot.
Particularly we try not to touch them unless we have to because there
might be a few people still using them
On Sat, May 24, 2014 at 2:12 AM, abdoulaye berthe berthe...@gmail.com wrote:
This avoids handling gpiochip remove error in device
remove handler.
Be aware that at the moment many callers of gpiochip_remove() read its
return value. So applying your patch as-is would break compilation.
This
2014-05-09 19:57 GMT+08:00 Linus Walleij linus.wall...@linaro.org:
On Thu, May 1, 2014 at 2:40 PM, Barry Song bao...@kernel.org wrote:
2014-04-24 5:16 GMT+08:00 Linus Walleij linus.wall...@linaro.org:
Instead of referring to a global static variable for the sgpio
locking, use the state
On Sat, 2014-05-24 at 22:25 +, Serge Hallyn wrote:
Quoting James Bottomley (james.bottom...@hansenpartnership.com):
On Fri, 2014-05-23 at 11:20 +0300, Marian Marinov wrote:
On 05/20/2014 05:19 PM, Serge Hallyn wrote:
Quoting Andy Lutomirski (l...@amacapital.net):
On May 15, 2014
On Fri, 2014-05-16 at 15:53 +0200, Mike Galbraith wrote:
On Tue, 2014-05-13 at 17:40 +0200, Sebastian Andrzej Siewior wrote:
* Mike Galbraith | 2014-05-10 06:15:03 [+0200]:
On Fri, 2014-05-09 at 20:12 +0200, Sebastian Andrzej Siewior wrote:
Known issues:
- bcache is
2014-05-09 19:53 GMT+08:00 Linus Walleij linus.wall...@linaro.org:
On Thu, May 1, 2014 at 2:29 PM, Barry Song bao...@kernel.org wrote:
2014-04-24 5:16 GMT+08:00 Linus Walleij linus.wall...@linaro.org:
This rewrites the SIRF pinctrl driver to allocate a state container
for the GPIO chip, just
This patch moves most data allocated in the probe function from
unmanaged interfaces to managed interfaces. The kfrees and error
handling code is done away with. The unnecesary labels are
removed. Also, linux/device.h is added to make sure the devm_*()
routine declarations are unambiguously
101 - 200 of 382 matches
Mail list logo