When a cpu goes to a deep idle state where its local timer is shutdown,
it notifies the time framework to use the broadcast timer instead.
Unfortunately, the broadcast device could wake up any CPU, including an
idle one which is not concerned by the wake up at all.
This implies, in the worst case, an idle CPU will wake up to send an IPI
to another idle cpu.
This patch solves this by setting the irq affinity to the cpu concerned
by the nearest timer event, by this way, the CPU which is wake up is
guarantee to be the one concerned by the next event and we are safe with
unnecessary wakeup for another idle CPU.
As the irq affinity is not supported by all the archs, a flag is needed
to specify which clocksource can handle it.
Daniel Lezcano (3):
time : pass broadcast parameter
time : set broadcast irq affinity
ARM: nomadik: add dynamic irq flag to the timer
Viresh Kumar (1):
ARM: timer-sp: Set dynamic irq affinity
arch/arm/common/timer-sp.c | 3 ++-
drivers/clocksource/nomadik-mtu.c | 3 ++-
include/linux/clockchips.h | 1 +
kernel/time/tick-broadcast.c | 40 +++++++++++++++++++++++++++++--------
4 files changed, 37 insertions(+), 10 deletions(-)
--
1.7.9.5
Add display-timing node parsing to drm fimd and depends on
the display helper patchset at
http://lists.freedesktop.org/archives/dri-devel/2013-January/033998.html
changes since v12:
- Added dependency of "OF" for exynos drm fimd as suggested
by Inki Dae <inki.dae(a)samsung.com>
changes since v11:
- Oops, there was a build error, fixed that.
changes since v10:
- abandoned the pinctrl patch, as commented by Linus Walleij
<linus.walleij(a)linaro.org>
- added new patch to enable the OF_VIDEOMODE and FB_MODE_HELPERS for
EXYNOS DRM FIMD.
changes since v9:
- replaced IS_ERR_OR_NULL() with IS_ERR(), since IS_ERR_OR_NULL()
will be depreciated, as discussed at
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-January/140543.h…http://www.mail-archive.com/linux-omap@vger.kernel.org/msg78030.html
changes since v8:
- replaced IS_ERR() with IS_ERR_OR_NULL(),
because devm_pinctrl_get_select_default can return NULL,
If CONFIG_PINCTRL is disabled.
- modified the error log, such that it shall NOT cross 80 column.
- added Acked-by.
changes since v7:
- addressed comments from Joonyoung Shim <jy0922.shim(a)samsung.com>
to remove a unnecessary variable.
changes since v6:
addressed comments from Inki Dae <inki.dae(a)samsung.com> to
separated out the pinctrl functionality and made a separate patch.
changes since v5:
- addressed comments from Inki Dae <inki.dae(a)samsung.com>,
to remove the allocation of 'fbmode' and replaced
'-1'in "of_get_fb_videomode(dev->of_node, fbmode, -1)" with
OF_USE_NATIVE_MODE.
changes since v4:
- addressed comments from Paul Menzel
<paulepanter(a)users.sourceforge.net>, to modify the commit message
changes since v3:
- addressed comments from Sean Paul <seanpaul(a)chromium.org>, to modify
the return values and print messages.
changes since v2:
- moved 'devm_pinctrl_get_select_default' function call under
'if (pdev->dev.of_node)', this makes NON-DT code unchanged.
(reported by: Rahul Sharma <r.sh.open(a)gmail.com>)
changes since v1:
- addressed comments from Sean Paul <seanpaul(a)chromium.org>
Vikas Sajjan (2):
video: drm: exynos: Add display-timing node parsing using video
helper function
drm/exynos: enable OF_VIDEOMODE and FB_MODE_HELPERS for exynos drm
fimd
drivers/gpu/drm/exynos/Kconfig | 4 +++-
drivers/gpu/drm/exynos/exynos_drm_fimd.c | 24 ++++++++++++++++++++----
2 files changed, 23 insertions(+), 5 deletions(-)
--
1.7.9.5
Hi,
I'm developing a baremetal hypervisor for Cortex-A15 and I'm using
Arndale Board as a reference platform. ATM, I'm working on running
Linaro 13.02 as a guest.
I've noticed that `arch/arm/kernel/arch_timer.c` Linux prefers the
virtual IRQ timers (CNTV_):
static bool arch_timer_use_virtual = false;
as a timer source and I'm wondering if there's a reason for this. Is
it even possible for virtual timer to be available, while physical one
is not? I don't think so. So why would Linux want to default to
virtual one instead of physical one, especially in the situation when
it was started in SVC mode and HYP is not accessible to it?
>From Hypervisor point of view, it seems natural that guest does not
care about virtualization stuff, does not try to be smarter than
necessary and simply uses physical timer (PL1) all the time.
It's hypervisor's job to trap guest accesses to physical timer (CNTP_)
and route them to virtual timer (CNTV_) so virtual offset (CNTVOFF)
value can be easily switched (again, by hypervisor, not the guest)
when handling multiple guests, to correctly handle virtual time for
them. In opposite direction the hardware virtual timer irq is just
renumbered to appear to guest as a physical one.
While emulating the CNTVOFF and CNTV_ is entirely possible too and
required for completeness, it seems like additional work for no
apparent reason. So I wanted to clarify this. Maybe there is something
that I don't understand or I misread the intentions described in
reference manual.
--
Dawid Ciężarkiewicz
B-Labs. http://b-labs.com/
Add display-timing node parsing to drm fimd and depends on
the display helper patchset at
http://lists.freedesktop.org/archives/dri-devel/2013-January/033998.html
changes since v11:
- Oops, there was a build error, fixed that.
changes since v10:
- abandoned the pinctrl patch, as commented by Linus Walleij
<linus.walleij(a)linaro.org>
- added new patch to enable the OF_VIDEOMODE and FB_MODE_HELPERS for
EXYNOS DRM FIMD.
changes since v9:
- replaced IS_ERR_OR_NULL() with IS_ERR(), since IS_ERR_OR_NULL()
will be depreciated, as discussed at
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-January/140543.h…http://www.mail-archive.com/linux-omap@vger.kernel.org/msg78030.html
changes since v8:
- replaced IS_ERR() with IS_ERR_OR_NULL(),
because devm_pinctrl_get_select_default can return NULL,
If CONFIG_PINCTRL is disabled.
- modified the error log, such that it shall NOT cross 80 column.
- added Acked-by.
changes since v7:
- addressed comments from Joonyoung Shim <jy0922.shim(a)samsung.com>
to remove a unnecessary variable.
changes since v6:
addressed comments from Inki Dae <inki.dae(a)samsung.com> to
separated out the pinctrl functionality and made a separate patch.
changes since v5:
- addressed comments from Inki Dae <inki.dae(a)samsung.com>,
to remove the allocation of 'fbmode' and replaced
'-1'in "of_get_fb_videomode(dev->of_node, fbmode, -1)" with
OF_USE_NATIVE_MODE.
changes since v4:
- addressed comments from Paul Menzel
<paulepanter(a)users.sourceforge.net>, to modify the commit message
changes since v3:
- addressed comments from Sean Paul <seanpaul(a)chromium.org>, to modify
the return values and print messages.
changes since v2:
- moved 'devm_pinctrl_get_select_default' function call under
'if (pdev->dev.of_node)', this makes NON-DT code unchanged.
(reported by: Rahul Sharma <r.sh.open(a)gmail.com>)
changes since v1:
- addressed comments from Sean Paul <seanpaul(a)chromium.org>
Vikas Sajjan (2):
video: drm: exynos: Add display-timing node parsing using video
helper function
drm/exynos: enable OF_VIDEOMODE and FB_MODE_HELPERS for exynos drm
fimd
drivers/gpu/drm/exynos/Kconfig | 2 ++
drivers/gpu/drm/exynos/exynos_drm_fimd.c | 27 +++++++++++++++++++++++----
2 files changed, 25 insertions(+), 4 deletions(-)
--
1.7.9.5
Has anyone worked on adding 64k page support to the ARM v7 architecture, in particular the ARM Cortex A9? I know that there is HugeTLB support available but I'm wondering if anyone has tried making the native page size 64k rather than 4k. In other words, make PAGE_SHIFT 16 instead of 12 and all of the corresponding changes to the way page tables are handled. Has this been attempted already? Can someone point me to a patch?
Thanks!
David Betz
Add display-timing node parsing to drm fimd and depends on
the display helper patchset at
http://lists.freedesktop.org/archives/dri-devel/2013-January/033998.html
changes since v10:
- abandoned the pinctrl patch, as commented by Linus Walleij
<linus.walleij(a)linaro.org>
- added new patch to enable the OF_VIDEOMODE and FB_MODE_HELPERS for
EXYNOS DRM FIMD.
changes since v9:
- replaced IS_ERR_OR_NULL() with IS_ERR(), since IS_ERR_OR_NULL()
will be depreciated, as discussed at
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-January/140543.h…http://www.mail-archive.com/linux-omap@vger.kernel.org/msg78030.html
changes since v8:
- replaced IS_ERR() with IS_ERR_OR_NULL(),
because devm_pinctrl_get_select_default can return NULL,
If CONFIG_PINCTRL is disabled.
- modified the error log, such that it shall NOT cross 80 column.
- added Acked-by.
changes since v7:
- addressed comments from Joonyoung Shim <jy0922.shim(a)samsung.com>
to remove a unnecessary variable.
changes since v6:
addressed comments from Inki Dae <inki.dae(a)samsung.com> to
separated out the pinctrl functionality and made a separate patch.
changes since v5:
- addressed comments from Inki Dae <inki.dae(a)samsung.com>,
to remove the allocation of 'fbmode' and replaced
'-1'in "of_get_fb_videomode(dev->of_node, fbmode, -1)" with
OF_USE_NATIVE_MODE.
changes since v4:
- addressed comments from Paul Menzel
<paulepanter(a)users.sourceforge.net>, to modify the commit message
changes since v3:
- addressed comments from Sean Paul <seanpaul(a)chromium.org>, to modify
the return values and print messages.
changes since v2:
- moved 'devm_pinctrl_get_select_default' function call under
'if (pdev->dev.of_node)', this makes NON-DT code unchanged.
(reported by: Rahul Sharma <r.sh.open(a)gmail.com>)
changes since v1:
- addressed comments from Sean Paul <seanpaul(a)chromium.org>
Vikas Sajjan (2):
video: drm: exynos: Add display-timing node parsing using video
helper function
drm/exynos: enable OF_VIDEOMODE and FB_MODE_HELPERS for exynos drm
fimd
drivers/gpu/drm/exynos/Kconfig | 2 ++
drivers/gpu/drm/exynos/exynos_drm_fimd.c | 27 +++++++++++++++++++++++----
2 files changed, 25 insertions(+), 4 deletions(-)
--
1.7.9.5
Following patch has introduced per cpu timers or works for ondemand and
conservative governors.
commit 2abfa876f1117b0ab45f191fb1f82c41b1cbc8fe
Author: Rickard Andersson <rickard.andersson(a)stericsson.com>
Date: Thu Dec 27 14:55:38 2012 +0000
cpufreq: handle SW coordinated CPUs
This causes additional unnecessary interrupts on all cpus when the load is
recently evaluated by any other cpu. i.e. When load is recently evaluated by cpu
x, we don't really need any other cpu to evaluate this load again for the next
sampling_rate time.
Some sort of code is present to avoid that but we are still getting timer
interrupts for all cpus. A good way of avoiding this would be to modify delays
for all cpus (policy->cpus) whenever any cpu has evaluated load.
This patchset tries to fix this issue.
These patches are applied here:
http://git.linaro.org/gitweb?p=people/vireshk/linux.git;a=shortlog;h=refs/h…
V1->V2:
- Dropped Workqueue modifications and use system_wq directly.
Viresh Kumar (2):
cpufreq: ondemand: Don't update sample_type if we don't evaluate load
again
cpufreq: governors: Avoid unnecessary per cpu timer interrupts
drivers/cpufreq/cpufreq_conservative.c | 8 ++++---
drivers/cpufreq/cpufreq_governor.c | 39 ++++++++++++++++++++++++----------
drivers/cpufreq/cpufreq_governor.h | 2 ++
drivers/cpufreq/cpufreq_ondemand.c | 34 ++++++++++++++---------------
4 files changed, 52 insertions(+), 31 deletions(-)
--
1.7.12.rc2.18.g61b472e
=== David Long ===
=== Highlights ===
* I'm unfortunately still trying to sort out what chat in basic uprobes
support is causing the upleveled ARM uprobe patch to behave
incorrectly. I still think it's a small issue, it's just a matter of
tracking it down.
* Spent a little time getting ready for Connect.
=== Plans ===
* Connect-specific activities will occupy most of my time in the coming
week.
* Find the problem in the upleved patch and move forward.
=== Issues ===
-dl
=== Highlights ===
* Got my slides ready for connect
* Acked Serban's reduced scope ashmem compat_ioctl patch
* Saw the experimental/android-3.8 branch showed up and send Arve a
build fix patch
* Reviewed the android-3.8 branch and found some staging fixes that
should probably go upstream. After consulting the Google devs, sent them
on to lkml. Little bit of contention on the list, so I may have to drop
one and resend the rest.
* Sorted out ABS travel expenses
* Pinged Jason Wessel on Anton's KDB patches
* Updated blueprints and held bi-weekly Android Upstreaming hangout meeting.
* Sent out RFD on submitting the sync driver to staging. Got no
objections, so submitted the patches. Greg seemed ok with most of it,
likely to be merged for 3.10
* Got invited to, but declined a conference on the future of UTC.
* Spent some time testing valid-interval lock concept for timekeeping
* Did packing and prep for connect.
=== Plans ===
* Linaro Connect mostly.
* Still need to review Serban's binder patches
* Still need Look into Androids support of large-files with 32bit
applications
* Need to look into some community bugs I've been ignoring.
=== Issues ===
* NA