On 17 April 2014 15:23, Geert Uytterhoeven geert+rene...@glider.be wrote:
If the clock doesn't exist, clk_get_rate() returns -EINVAL
You clk_get_rate() isn't written well then, it should return zero.
@Mike: I didn't see this clearly mentioned in clk.h, should we fix
that?
, which becomes
a
Adapt the NVC0 BAR driver to make it able to support chips that do not
expose a BAR3. When this happens, BAR1 is then used for USERD mapping
and the BAR alloc() functions is disabled, making GPU objects unable
to rely on BAR for data access and falling back to PRAMIN.
Signed-off-by: Alexandre
Hi everyone,
Way overdue v2 of the final patches that enable basic GK20A support. Hopefully
all the issues raised with v1 have been addressed.
Changes since v1:
- Use gk20a clock driver by Ben instead of twiddling nv04's
- Name new classes after gk20a instead of nvea
- Addressed comments about
Skip the creation of a software channel for GK20A as software methods
are not yet supported.
Signed-off-by: Alexandre Courbot acour...@nvidia.com
---
drivers/gpu/drm/nouveau/nouveau_drm.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c
nvc0_graph_ctor() would only let the graphics engine be enabled if its
oclass has a proper microcode linked to it. This prevents GR from being
enabled at all on chips that rely exclusively on external firmware, even
though such a use-case is valid.
Relax the conditions enabling the GR engine to
Add a simple FB device for GK20A, as well as a RAM implementation based
on contiguous DMA memory allocations suitable for chips that use system
memory as video RAM.
Signed-off-by: Alexandre Courbot acour...@nvidia.com
---
drivers/gpu/drm/nouveau/Makefile | 2 +
Add a GR device for GK20A based on NVE4, with the correct classes
definitions (GK20A's 3D class is 0xa297).
Most of the NVE4 code can be used on GK20A, so make relevant bits of
NVE4 available to other chips as well.
Signed-off-by: Alexandre Courbot acour...@nvidia.com
---
Set the correct subdev/engine classes when GK20A (0xea) is probed.
Signed-off-by: Alexandre Courbot acour...@nvidia.com
---
drivers/gpu/drm/nouveau/core/engine/device/nve0.c | 20
1 file changed, 20 insertions(+)
diff --git
On 18 April 2014 07:50, Chanwoo Choi cw00.c...@samsung.com wrote:
This patch uses dev_err/info function to show accurate log message with
device name
instead of pr_err/info function.
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
Acked-by: Kyungmin Park kyungmin.p...@samsung.com
---
Pad the microcode to a multiple of 0x40 bytes, otherwise firmware will
fail to run from non-prepadded firmware files.
Signed-off-by: Alexandre Courbot acour...@nvidia.com
Reviewed-by: Thierry Reding tred...@nvidia.com
---
drivers/gpu/drm/nouveau/core/engine/graph/nvc0.c | 4
1 file changed,
Add support for initializing the priv ring of GK20A. This is done by the
BIOS on desktop GPUs, but needs to be done by hand on Tegra.
Signed-off-by: Alexandre Courbot acour...@nvidia.com
---
drivers/gpu/drm/nouveau/Makefile | 1 +
GK20A's FIFO is compatible with NVE0, but only features 128 channels and
1 runlist.
Signed-off-by: Alexandre Courbot acour...@nvidia.com
Reviewed-by: Thierry Reding tred...@nvidia.com
---
drivers/gpu/drm/nouveau/Makefile | 1 +
drivers/gpu/drm/nouveau/core/engine/fifo/gk20a.c
Some chips that use system memory exclusively (e.g. GK20A) do not
expose 2 BAR regions. For them only BAR1 exists, and it should be used
for USERD mapping. Do not map BAR3 if its resource does not exist.
Signed-off-by: Alexandre Courbot acour...@nvidia.com
Reviewed-by: Thierry Reding
On Thu, Apr 10, 2014 at 11:14 PM, Alexandre Courbot gnu...@gmail.com wrote:
On Thu, Apr 10, 2014 at 6:51 PM, Jingoo Han jg1@samsung.com wrote:
On Thursday, April 10, 2014 1:17 PM, Alexandre Courbot wrote:
Ping, can I have the Samsung folks review and ,aybe even merge this
patch?
On 04/21/2014 12:02 PM, Jianyu Zhan wrote:
Hi, Yanfei,
On Mon, Apr 21, 2014 at 9:00 AM, Zhang Yanfei
zhangyan...@cn.fujitsu.com wrote:
What should be exported?
lru_cache_add()
lru_cache_add_anon()
lru_cache_add_file()
It seems you only export lru_cache_add_file() in the patch.
On 2014/4/20 23:28, Adam Williamson wrote:
On Sun, 2014-04-20 at 20:08 +0800, Jin, Yao wrote:
For the issue that touch screen doesn't work, could you check power
state of LPSS devices? For example:
cd /sys/bus/acpi/devices
grep -H . */power_state
If they are D3cold, it should be the
Hi Paul,
we noticed the below changes on
git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
torture.2014.04.18a
commit 9234566d3a36c0aead8852e3c2ca94cd8ebfe219 (sched,rcu: Make cond_resched()
report RCU quiescent states)
Comparison 1 - parent commit of
The comment is trying to explain why add a lock here.
On 04/19/2014 03:01 AM, Sergei Shtylyov wrote:
Hello.
On 04/16/2014 11:08 AM, Li, Zhen-Hua wrote:
From: Li, Zhen-Hua zhen-h...@hp.com
As netif_running is called in netif_device_attach/detach. There
should be
rtnl_lock/unlock called, to
On 04/21/2014 03:13 AM, Rafael J. Wysocki wrote:
From: Rafael J. Wysocki rafael.j.wyso...@intel.com
The freeze system sleep state introduced by commit 7e73c5ae6e79
(PM: Introduce suspend state PM_SUSPEND_FREEZE) requires cpuidle
to be functional when freeze_enter() is executed to work
On Isn, 2014-04-07 at 12:11 -0500, Josh Cartwright wrote:
On Mon, Apr 07, 2014 at 04:00:43PM +0800, Tien Hock Loh wrote:
On Wed, Mar 19, 2014 at 6:09 PM, Tien Hock Loh th...@altera.com wrote:
On Fri, Mar 7, 2014 at 11:14 PM, Josh Cartwright jo...@codeaurora.org
wrote:
On Mon, Mar 03,
On 04/21/2014 03:05 PM, Viresh Kumar wrote:
On 18 April 2014 07:50, Chanwoo Choi cw00.c...@samsung.com wrote:
This patch uses dev_err/info function to show accurate log message with
device name
instead of pr_err/info function.
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
Acked-by:
Estimado E-mail del usuario;
Se ha superado 23.432 Repositorio para el conjunto buzón
Servicios Web / Administrador, y habrás problemas al enviar y
recepción de correo, mientras que volver a verificar. Debe actualizar
haciendo clic en enlace de abajo y complete la información para
verificar su
On Mon, Apr 21, 2014 at 12:22 AM, Richard Weinberger
richard.weinber...@gmail.com wrote:
On Fri, Apr 18, 2014 at 6:15 AM, Michael Kerrisk mtk.manpa...@gmail.com
wrote:
On Thu, Apr 17, 2014 at 11:28 PM, Lennart Sorensen
lsore...@csclub.uwaterloo.ca wrote:
On Thu, Apr 17, 2014 at 11:00:37PM
Conrad Meyer cse@gmail.com writes:
+/*
+ * A deserialized copy of the on-disk structure laid out in struct
+ * fat_boot_sector.
+ */
+struct fat_bios_param_block {
+ u16 fat_sector_size;
+ u8 fat_sec_per_clus;
+ u16 fat_reserved;
+ u8 fat_fats;
+
HI Dan,
we noticed the below changes on
git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata for-next
commit 8a4aeec8d2d6a3edeffbdfae451cdf05cbf0fefd (libata/ahci: accommodate tag
ordered controllers)
2cf532f5e67c0cf 8a4aeec8d2d6a3edeffbdfae4
--- -
unsubscribe linux-kernel
--
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 http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Kmemcg is currently under development and lacks some important features.
In particular, it does not have support of kmem reclaim on memory
pressure inside cgroup, which practically makes it unusable in real
life. Let's warn about it in both Kconfig and Documentation to prevent
complaints arising.
Hi David,
On Mon, Apr 21, 2014 at 12:28 AM, Davidlohr Bueso davidl...@hp.com wrote:
On Sun, 2014-04-20 at 10:04 +0200, Geert Uytterhoeven wrote:
On Sun, Apr 20, 2014 at 4:26 AM, Davidlohr Bueso davidl...@hp.com wrote:
Performing vma lookups without taking the mm-mmap_sem is asking
for
Hi Viresh,
On Mon, Apr 21, 2014 at 8:01 AM, Viresh Kumar viresh.ku...@linaro.org wrote:
On 17 April 2014 15:23, Geert Uytterhoeven geert+rene...@glider.be wrote:
If the clock doesn't exist, clk_get_rate() returns -EINVAL
You clk_get_rate() isn't written well then, it should return zero.
User space code in tools/ often reuses names of kernel constructions,
this confuses navigation in the normal kernel code. Let's fix this mess.
Signed-off-by: Konstantin Khlebnikov koc...@gmail.com
---
scripts/tags.sh |3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/tags.sh
Changes in V2:
- Add big-endian support.
- Add using pr_err instead of BUG_ON.
- Add more detail comment message of FTM.
- Add DT binding documentation.
- Remove some header files and macros not useful.
Xiubo Li (3):
clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree
The Freescale FlexTimer Module time reference is a 16-bit counter
that can be used as an unsigned or signed increase counter.
CNTIN defines the starting value of the count and MOD defines the
final value of the count. The value of CNTIN is loaded into the FTM
counter, and the counter increments
The FTM binding could be used on Vybrid and LS1+, add a binding
document for it.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Cc: Shawn Guo shawn@linaro.org
Cc: Jingchang Lu b35...@freescale.com
---
.../devicetree/bindings/timer/fsl,ftm-timer.txt| 31 ++
1 file
Signed-off-by: Xiubo Li li.xi...@freescale.com
Cc: Shawn Guo shawn@linaro.org
Cc: Jingchang Lu b35...@freescale.com
---
arch/arm/boot/dts/vf610.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi
index
The FTM binding could be used on Vybrid and LS1+, add a binding
document for it.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Cc: Shawn Guo shawn@linaro.org
Cc: Jingchang Lu b35...@freescale.com
---
.../devicetree/bindings/timer/fsl,ftm-timer.txt| 31 ++
1 file
Changes in V2:
- Add big-endian support.
- Add using pr_err instead of BUG_ON.
- Add more detail comment message of FTM.
- Add DT binding documentation.
- Remove some header files and macros not useful.
Xiubo Li (3):
clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree
The Freescale FlexTimer Module time reference is a 16-bit counter
that can be used as an unsigned or signed increase counter.
CNTIN defines the starting value of the count and MOD defines the
final value of the count. The value of CNTIN is loaded into the FTM
counter, and the counter increments
Signed-off-by: Xiubo Li li.xi...@freescale.com
Cc: Shawn Guo shawn@linaro.org
Cc: Jingchang Lu b35...@freescale.com
---
arch/arm/boot/dts/vf610.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi
index
@All,
Please ignore this patch series, I just forgot the V2 tag, I have resent a
New one.
Thanks,
BRs
Xiubo
-Original Message-
From: Xiubo Li [mailto:li.xi...@freescale.com]
Sent: Monday, April 21, 2014 3:20 PM
To: daniel.lezc...@linaro.org; t...@linutronix.de;
Hi Miklos,
On Fri, Apr 11, 2014 at 12:25 PM, Miklos Szeredi mik...@szeredi.hu wrote:
--- a/arch/m68k/kernel/syscalltable.S
+++ b/arch/m68k/kernel/syscalltable.S
@@ -371,4 +371,5 @@ ENTRY(sys_call_table)
.long sys_finit_module
.long sys_sched_setattr
.long
On 04/19/2014 02:11 AM, Tejun Heo wrote:
Hello,
On Thu, Apr 17, 2014 at 11:33:50PM +0530, Raghavendra KT wrote:
On Tue, Apr 15, 2014 at 3:07 AM, Tejun Heo t...@kernel.org wrote:
I undertsand that with the above parsing we could do
echo -blkio +blkio cgroup.subtree_control and honor last
On 14/4/21 1:31 PM, H. Peter Anvin wrote:
On 04/20/2014 10:23 PM, Ley Foon Tan wrote:
On Sat, Apr 19, 2014 at 11:30 PM, Arnd Bergmann a...@arndb.de wrote:
On Friday 18 April 2014, H. Peter Anvin wrote:
Did the generic headers ever get updated to match Linus' guidance that
any new architecture
Hi Peter,
I'm considering not using spinlock to get it work and will resend the
patch later.
Thank you.
Best Regards.
micky
On 04/19/2014 07:13 AM, Peter Wu wrote:
So, I reverted c42deffd5b53c9e583d83c7964854ede2f12410d (mmc: rtsx: add
support for pre_req and post_req) on top of
On 20.04.2014 18:31, Eric Dumazet wrote: On Sat, 2014-04-19 at 22:13
+0200, Ortwin Glück wrote:
On 03.04.2014 15:50, Eric Dumazet wrote:
I finally found time to bisect this:
commit 53d6471cef17262d3ad1c7ce8982a234244f68ec
Author: Vlad Yasevich vyase...@redhat.com
Date: Thu Mar 27
Am 21.04.2014 09:24, schrieb Michael Kerrisk:
Does recursive monitoring even work with inotify?
Last time I've tried it did failed as soon I did a mkdir -p a/b/c/d because
mkdir() raced against the thread which installes the new watches.
As I understand it, you have to program to deal with
Hi Borislav
Thank you for test the patch. It seems we can't use tasklet here due to
mutex_lock.
And the spinlock may removed, I'm prepare to resend a different patch later.
Best Regards.
micky
On 04/20/2014 08:20 PM, Borislav Petkov wrote:
Hi,
On Wed, Apr 16, 2014 at 09:50:15AM +0800, micky
While auditing the usage of lock_device_hotplug_sysfs() for implementing
it in another way in following patch, it seems to me that the code here
is to add/remove device, and the files probe/release for cpu bus
themselves won't be removed.
So it seems to me there is no s_active related deadlock
This patch tries to solve the device hot remove locking issues in a
different way from commit 5e33bc41, as kernfs already has a mechanism
to break active protection.
The active protection is there to keep the file alive by blocking
deletion while operations are on-going in the file. This
Estimado E-mail del usuario;
Se ha superado 23.432 Repositorio para el conjunto buzón
Servicios Web / Administrador, y habrás problemas al enviar y
recepción de correo, mientras que volver a verificar. Debe actualizar
haciendo clic en enlace de abajo y complete la información para
verificar su
This patch use devm_extcon_dev_allocate() to simplify the memory control
of extcon device.
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
---
drivers/extcon/extcon-max77693.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/extcon/extcon-max77693.c
This patchset add devm_extcon_dev_allocate/free() for the resource management
of extcon device. And devm_extcon_dev_allocate() handles all of supported
cables.
Chanwoo Choi (9):
extcon: Add extcon_dev_allocate/free() to control the memory of extcon device
extcon: Add
This patch add device managed devm_extcon_dev_{allocate,free} to automatically
free the memory of extcon_dev structure without handling free operation.
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
---
drivers/extcon/extcon-class.c | 57 +++
This patch use devm_extcon_dev_allocate() to simplify the memory control
of extcon device.
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
---
drivers/extcon/extcon-max8997.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/extcon/extcon-max8997.c
This patch use devm_extcon_dev_allocate() to simplify the memory control
of extcon device.
Cc: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
---
drivers/extcon/extcon-max14577.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
This patch use devm_extcon_dev_allocate() to simplify the memory control
of extcon device.
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
---
drivers/extcon/extcon-gpio.c | 27 +--
1 file changed, 17 insertions(+), 10 deletions(-)
diff --git
This patch use devm_extcon_dev_allocate() to simplify the memory control
of extcon device.
Cc: Graeme Gregory g...@slimlogic.co.uk
Cc: Kishon Vijay Abraham I kis...@ti.com
Cc: Felipe Balbi ba...@ti.com
Cc: Samuel Ortiz sa...@linux.intel.com
Cc: Lee Jones lee.jo...@linaro.org
Signed-off-by:
This patch use devm_extcon_dev_allocate() to simplify the memory control
of extcon device.
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
---
drivers/extcon/extcon-adc-jack.c | 25 ++---
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git
This patch add APIs to control the extcon device on extcon provider driver.
The extcon_dev_allocate() allocates the memory of extcon device and initializes
supported cables. And then extcon_dev_free() decrement the reference of the
device of extcon device and free the memory of the extcon device.
This patch use devm_extcon_dev_allocate() to simplify the memory control
of extcon device.
Cc: Charles Keepax ckee...@opensource.wolfsonmicro.com
Cc: Mark Brown broo...@kernel.org
Cc: patc...@opensource.wolfsonmicro.com
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
---
On Wed, 2014-04-16 at 11:26 -0400, Alan Stern wrote:
On Wed, 16 Apr 2014, Oliver Neukum wrote:
Hi,
I am looking at memory ordering and a question hit me.
I was looking at the kfifo code. kfifo_put() has a barrier:
)[__kfifo-in __tmp-kfifo.mask] = \
On 04/18/2014 11:47 PM, Krzysztof Kozlowski wrote:
The regmap_irq_get_virq may return 0 or -EINVAL on error. Fail the probe
in both situations.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: sta...@vger.kernel.org
---
drivers/extcon/extcon-max14577.c | 2 +-
1 file
Hi,
On 21/04/2014 at 12:29:07 +0800, Wenyou Yang wrote :
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com
---
arch/arm/boot/dts/at91-sama5d3_xplained.dts | 42
+++
1 file changed, 42 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
As suggested by you (https://lkml.org/lkml/2014/4/14/797), this is the second
lot of changes I have. I have divided the earlier patchset into three parts:
- Bugfixes, already merged
- Code cleanups which shouldn't have any functional change
- Code cleanups which may have any functional change
tick_nohz_task_switch() and __tick_nohz_task_switch() routines get task_struct
passed to them (always for the 'current' task), but they never use it. Remove
it.
Acked-by: Frederic Weisbecker fweis...@gmail.com
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org
---
include/linux/tick.h | 8
tick_setup_device() is always passed cpumask of 'cpu' and 'cpu' is always
obtained from smp_processor_id(). Remove these two parameters and obtain them in
tick_setup_device() instead.
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org
---
kernel/time/tick-common.c | 10 +-
1 file
The sequence of calls for dynticks CPUs is a bit confusing. Add a comment in
tick_nohz_idle_exit() to mention it clearly. All information required is in
commit and this conversation with Frederic.
https://lkml.org/lkml/2014/4/10/355
Suggested-by: Frederic Weisbecker fweis...@gmail.com
We are using __get_cpu_var(tick_cpu_device) at several places and would be
better if we create tick_get_cpu_device() and use it instead.
This also converts tick_get_device(smp_processor_id()) to use
tick_get_cpu_device().
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org
---
The last two lines of tick_do_update_jiffies64() are only executed when
'delta.tv64 = tick_period.tv64'. Move them to the 'if' block to make it more
clear.
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org
---
kernel/time/tick-sched.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Local variable 'now' is used at only one place and so can be replaced by
ktime_get() instead.
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org
---
kernel/time/tick-sched.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/kernel/time/tick-sched.c
There is only one caller of tick_check_oneshot_change(), i.e.
hrtimer_run_pending(). hrtimer_run_pending() calls this routine after doing a
logical NOT (!) of its parameter and then tick_check_oneshot_change() also uses
its parameter after doing logical NOT (!) of it.
It would be more efficient
'broadcast' is used just once and we can use tick_resume_broadcast() directly
instead. Also it changes the code a bit to get rid of extra indentation level
which was forcing us to break function calls into two lines.
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org
---
'delta' is used only inside the 'if' block and must be accessible within that.
So, move its definition inside the 'if' block.
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org
---
kernel/time/tick-sched.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git
tick_check_replacement() is now nothing more than a dummy wrapper over
tick_check_preferred() and can be removed.
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org
---
kernel/time/clockevents.c | 2 +-
kernel/time/tick-common.c | 16 +---
kernel/time/tick-internal.h | 2 +-
3
On Monday, April 21, 2014 10:54 AM, Jingoo Han wrote:
On Thursday, April 17, 2014 3:26 AM, Arnd Bergmann wrote:
On Wednesday 16 April 2014 17:57:24 Liviu Dudau wrote:
Jingoo,
Thanks for taking a stab at trying to convert a host bridge
driver to use the new generic host bridge code.
There are multiple users of tick_get_device() which are currently using
per_cpu(tick_cpu_device, cpu) directly. Would be better if we use
tick_get_device() consistently. Move definition of tick_get_device() to tick.h
and update others to use it.
This change reduced size of bzImage for x86 by 96
tick_check_percpu() and tick_check_preferred() are called from two places and in
exactly same order. So, would make sense to call tick_check_percpu() from
tick_check_preferred() instead, so that their caller can just call
tick_check_preferred().
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org
'tick_cpu_device' isn't local to kernel/time/ directory as it is declared in
hrtimer.h as well. Move its declaration to tick.h.
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org
---
include/linux/hrtimer.h | 3 ---
include/linux/tick.h| 2 ++
kernel/time/tick-internal.h | 1 -
3
Rearrange members of 'struct tick_sched' to make it more readable. i.e. By
keeping all ktime_t members together, similarly 'unsigned long' and 'int' as
well. I couldn't figure out breaking any logical blocks here which we wanted to
keep together.
Change in footprints of this structure:
For x86:
tick_resume_oneshot() and tick_setup_oneshot() have almost same implementation.
So, we can remove tick_resume_oneshot() and use tick_setup_oneshot() in its
place.
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org
---
kernel/time/tick-common.c | 8 +---
kernel/time/tick-internal.h | 5
Some fields of 'struct tick_sched' didn't have a description in the kernel doc
style comment present above its declaration. Add them.
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org
---
include/linux/tick.h | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git
This does some trivial fixups:
- break lines longer than 80 columns
- merge few lines together
- don't break print messages even if they cross 80 columns
- remove extra whitespaces and blank lines
- replace printk() with pr_*()
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org
---
This is tick-oneshot specific routine and hence must be defined in
tick-oneshot.c.
Also, as it isn't used outside kernel/time/, move its declaration to
tick-internal.h.
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org
---
include/linux/tick.h| 1 -
kernel/time/tick-common.c | 14
We don't have to assign values to variables in separate lines when we can do
that during their initialization. Move assignments of few variables to their
definitions. This makes code smaller and more readable.
Signed-off-by: Viresh Kumar viresh.ku...@linaro.org
---
kernel/time/tick-broadcast.c |
xfs_{compat_,}attrmulti_by_handle could return an errno with incorrect
sign in some cases. While at it, make sure ENOMEM is returned instead of
E2BIG if kmalloc fails.
Signed-off-by: Tuomas Tynkkynen tuomas.tynkky...@iki.fi
---
Compile tested only. For the ERANGE case, I also wonder if it should
Use the resource-managed extcon device register function (i.e.
devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device
is attached with this function, that extcon device is automatically unregistered
on driver detach. That reduces tiresome managing code.
Signed-off-by:
These patches add resource-managed extcon device register functions for
developers' convenience and apply them to related device driver files.
This work can make the code more tidy since extcon device is automatically
unregistered on driver detach so tiresome managing codes could be removed.
Use the resource-managed extcon device register function (i.e.
devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device
is attached with this function, that extcon device is automatically unregistered
on driver detach. That reduces tiresome managing code.
Signed-off-by:
Use the resource-managed extcon device register function (i.e.
devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device
is attached with this function, that extcon device is automatically unregistered
on driver detach. That reduces tiresome managing code.
Signed-off-by:
ARMv7 cortex-a15 supports Performance Monitor Units, and
it could be used by oprofile, add perf_pmu_name pair.
Simply tested on hisilicon hip04 soc.
Signed-off-by: Kefeng Wang kefeng.w...@linaro.org
---
arch/arm/oprofile/common.c |1 +
1 file changed, 1 insertion(+)
diff --git
Use the resource-managed extcon device register function (i.e.
devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device
is attached with this function, that extcon device is automatically unregistered
on driver detach. That reduces tiresome managing code.
Signed-off-by:
Use the resource-managed extcon device register function (i.e.
devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device
is attached with this function, that extcon device is automatically unregistered
on driver detach. That reduces tiresome managing code.
Signed-off-by:
Add resource-managed extcon device register function for convenience.
For example, if a extcon device is attached with new
devm_extcon_dev_register(), that extcon device is automatically
unregistered on driver detach.
Signed-off-by: Sangjung Woo sangjung@samsung.com
---
Use the resource-managed extcon device register function (i.e.
devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device
is attached with this function, that extcon device is automatically unregistered
on driver detach. That reduces tiresome managing code.
Signed-off-by:
Use the resource-managed extcon device register function (i.e.
devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device
is attached with this function, that extcon device is automatically unregistered
on driver detach. That reduces tiresome managing code.
Signed-off-by:
diff --git a/Makefile b/Makefile
index 3915c57..831a7d8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 3
PATCHLEVEL = 11
SUBLEVEL = 10
-EXTRAVERSION = .7
+EXTRAVERSION = .8
NAME = Linux for Workgroups
# *DOCUMENTATION*
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index
On Wednesday 16 April 2014 03:56 AM, Stratos Karafotis wrote:
The cpufreq core now supports the cpufreq_for_each_entry macro helper
for iteration over the cpufreq_frequency_table, so use it.
It should have no functional changes.
Signed-off-by: Stratos Karafotis strat...@semaphore.gr
I
On 21 April 2014 15:53, Sekhar Nori nsek...@ti.com wrote:
I cannot test this (or even build this) since I do not have the patch
which adds cpufreq_for_each_entry(). The change as such looks fine to
me. Please prefix the subject line with ARM: as is the convention in
ARM world.
In case you
I am announcing the release of the Linux 3.11.10.8 kernel.
The updated 3.11.y tree can be found at:
git://kernel.ubuntu.com/ubuntu/linux.git linux-3.11.y
and can be browsed at:
http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.11.y;a=shortlog
The diff from v3.11.10.7 is
Hi!
From: Thor Thayer ttha...@altera.com
Added EDAC support for reporting ECC errors of CycloneV
and ArriaV SDRAM controller.
- The SDRAM Controller registers are used by the FPGA bridge so
these are accessed through the syscon interface.
- The configuration of the SDRAM memory size for
Estimado E-mail del usuario;
Se ha superado 23.432 Repositorio para el conjunto buzón
Servicios Web / Administrador, y habrás problemas al enviar y
recepción de correo, mientras que volver a verificar. Debe actualizar
haciendo clic en enlace de abajo y complete la información para
verificar su
1 - 100 of 1073 matches
Mail list logo