On 12/19/12 08:53, Paul Walmsley wrote:
> On Wed, 19 Dec 2012, Bedia, Vaibhav wrote:
>
>> Current mainline on Beaglebone using the omap2plus_defconfig + 3 build fixes
>> is triggering a BUG()
> ...
>
>> [0.109688] Security Framework initialized
>> [0.109889] Mount-cache hash table entries:
On 12/19/12 11:22, Soren Brinkmann wrote:
> Hi Stephen,
>
> I guess Josh is the better person to talk about this, since he created the
> patches regarding common clock for mainline, but I tried running your series
> and ran into this:
>
> Unable to handle kernel NULL pointer dereference at virtual
On 12/19/12 12:30, Stephen Boyd wrote:
> On 12/19/12 11:22, Soren Brinkmann wrote:
>> Hi Stephen,
>>
>> I guess Josh is the better person to talk about this, since he created the
>> patches regarding common clock for mainline, but I tried running your series
>> a
On 12/19/2012 8:48 PM, Bedia, Vaibhav wrote:
> I tried out 3 variants of AM335x boards - 2 of these (BeagleBone and EVM)
> have DDR2
> and 1 has DDR3 (EVM-SK). The BUG is triggered on all of these at the same
> point.
>
> With Stephen's change I don't see this on any of the board variants :)
> Ne
On 12/19/2012 10:44 PM, Bedia, Vaibhav wrote:
> On Thu, Dec 20, 2012 at 11:55:24, Stephen Boyd wrote:
>> On 12/19/2012 8:48 PM, Bedia, Vaibhav wrote:
>>> I tried out 3 variants of AM335x boards - 2 of these (BeagleBone and EVM)
>>> have DDR2
>>> and 1 has DD
On 11/26/2012 5:08 AM, Jassi Brar wrote:
> The patchset introduces 64-bit atomic ops, which would need
> init_atomic64_lock() already called, but that is an initcall made too
> late. Should we consider calling init_atomic64_lock() sooner in
> start_kernel()?
>
> As an example of breakage, I see the
[<80008078>] (0x80008078)
coming out early on during boot when spinlock debugging is enabled.
Fix this problem by initializing the spinlocks statically at
compile time.
Reported-by: Vaibhav Bedia
Tested-by: Vaibhav Bedia
Cc: Eric W. Biederman
Signed-off-by: Stephen Boyd
---
Sorry Andrew, I
ight/left?
>
> Signed-off-by: Dmitry Voytik
Tested-by: Stephen Boyd
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to major
The vmlinux doesn't always live in the same directory as the
source files and so 'make O=obj checkstack' fails with a missing
vmlinux file. Fix checkstack so that this is possible.
Signed-off-by: Stephen Boyd
---
It would also be nice if this depended on vmlinux and modules bein
sing us to be stuck in periodic mode forever. Avoid
this scenario by calling tick_clock_notify() after we register
the broadcast device so that we try to switch into oneshot mode
on all CPUs one more time.
Signed-off-by: Stephen Boyd
---
Found this one when we were registering our broadcast t
branch on 3.9-rc5 and a merge resolution with for-next in
arm-soc that you can pull to look at.
If not I will have to resend the series.
Thanks,
Stephen
On 04/08/13 14:27, Stephen Boyd wrote:
> In light of Mark Rutland's recent work on divorcing the ARM architected
> timers from the ARM
pu_ptr() access down into the cases to force the
checks to occur only in non-preemptible contexts.
Cc: John Stultz
Cc: Thomas Gleixner
Cc: Mark Rutland
Acked-by: Marc Zyngier
Signed-off-by: Stephen Boyd
---
Resending to arm-soc maintainers instead of timekeeping maintainers. Who
mainta
On 03/26/13 10:35, Stephen Boyd wrote:
> On 03/21/13 10:49, Stephen Boyd wrote:
>> On 03/14/13 17:08, Stephen Boyd wrote:
>>> cyc_to_sched_clock() is called by sched_clock() and cyc_to_ns()
>>> is called by cyc_to_sched_clock(). I suspect that some compilers
>>>
On 04/18/13 12:30, Rob Herring wrote:
> diff --git a/drivers/clocksource/arm_arch_timer.c
> b/drivers/clocksource/arm_arch_timer.c
> index 122ff05..17ed8e4 100644
> --- a/drivers/clocksource/arm_arch_timer.c
> +++ b/drivers/clocksource/arm_arch_timer.c
> @@ -266,6 +266,15 @@ static struct notifier
imer using this facility.
Signed-off-by: Mark Rutland
Cc: John Stultz
[sboyd: Make percpu data static, use __this_cpu_ptr(), move to
early_initcall to properly register on each CPU, only
register if more than one CPU possible]
Signed-off-by: Stephen Boyd
---
drivers/clocksource/Mak
There are no more users of this API, remove it.
Cc: Russell King
Acked-by: Tony Lindgren
Signed-off-by: Stephen Boyd
---
arch/arm/Kconfig | 10 --
arch/arm/include/asm/localtimer.h | 34 ---
arch/arm/kernel/smp.c | 69
drivers/clocksource/time-armada-370-xp.c:217:13: warning: symbol
'armada_370_xp_timer_init' was not declared. Should it be static?
Also remove the __init marking in the prototype as it's
unnecessary and drop the init.h file.
Acked-by: Gregory CLEMENT
Signed-off-by: Stephen Boy
Separate the msm_timer from the local timer API. This will allow
us to remove ARM local timer support in the near future and gets
us closer to moving this driver to drivers/clocksource.
Acked-by: David Brown
Cc: Daniel Walker
Cc: Bryan Huntsman
Signed-off-by: Stephen Boyd
---
arch/arm/mach
* Bug fixes in smp_twd from Tony Lindgren's testing
* Move smp_twd to use late_time_init hook
* Collected Acks
Changes since v1:
* Picked up Mark's generic dummy timer driver
* Split out omap changes into new patch
Mark Rutland (1):
clocksource: add generic dummy timer
Separate the armada 370xp local timers from the local timer API.
This will allow us to remove ARM local timer support in the near
future and makes this driver multi-architecture friendly.
Acked-by: Gregory CLEMENT
Tested-by: Gregory CLEMENT
Signed-off-by: Stephen Boyd
---
drivers/clocksource
Separate the marco local timers from the local timer API. This
will allow us to remove ARM local timer support in the near future
and gets us closer to moving this driver to drivers/clocksource.
Cc: Barry Song
Signed-off-by: Stephen Boyd
---
drivers/clocksource/timer-marco.c | 100
Separate the mct local timers from the local timer API. This will
allow us to remove ARM local timer support in the near future and
gets us closer to moving this driver to drivers/clocksource.
Cc: Kukjin Kim
Cc: Thomas Abraham
Signed-off-by: Stephen Boyd
---
drivers/clocksource/exynos_mct.c
Separate the smp_twd timers from the local timer API. This will
allow us to remove ARM local timer support in the near future and
gets us closer to moving this driver to drivers/clocksource.
Cc: Russell King
Cc: Tony Lindgren
Tested-by: Mark Rutland
Signed-off-by: Stephen Boyd
---
arch/arm
Now that the TWD doesn't rely on the local timer API, OMAP can
stop selecting it in Kconfig and relying on the config option to
decide if it should call smp_twd functions.
Acked-by: Santosh Shilimkar
Acked-by: Tony Lindgren
Signed-off-by: Stephen Boyd
---
arch/arm/mach-omap2/Kconfi
Drop ARM's version of the dummy timer now that we have a generic
implementation in drivers/clocksource.
Cc: Russell King
Signed-off-by: Stephen Boyd
---
arch/arm/kernel/smp.c | 22 ++
1 file changed, 2 insertions(+), 20 deletions(-)
diff --git a/arch/arm/kernel/sm
long as there isn't a higher rated tick
device and any global clockevent will be bumped out into
broadcast mode, fixing the problem described above.
Reported-by: Mark Rutland
Tested-by: Mark Rutland
Cc: John Stultz
Signed-off-by: Stephen Boyd
---
kernel/time/tick-common.c | 5 +++--
1 fi
On 04/18/13 18:37, Rob Herring wrote:
> On 04/18/2013 07:00 PM, Stephen Boyd wrote:
>> On 04/18/13 12:30, Rob Herring wrote:
>>> diff --git a/drivers/clocksource/arm_arch_timer.c
>>> b/drivers/clocksource/arm_arch_timer.c
>>> index 122ff05..17ed8e4
The needs_suspend member is unused now that we always do the
suspend/resume handling (see 6a4dae5 (ARM: 7565/1: sched: stop
sched_clock() during suspend, 2012-10-23)).
Signed-off-by: Stephen Boyd
---
arch/arm/kernel/sched_clock.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm
This is what I was thinking. I don't see why we can't move this to generic code
and have arm64 use it too. Those patches will follow once I find an arm64
compiler.
First two patches should probably go in even if the 64 bit stuff doesn't go in
at the same time.
Stephen
uspended as early as possible.
Signed-off-by: Stephen Boyd
---
arch/arm/kernel/sched_clock.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/kernel/sched_clock.c b/arch/arm/kernel/sched_clock.c
index 48ab64a..29ac613 100644
--- a/arch/arm/kernel/sched_clock.c
+
esume handling that the ARM
sched_clock code already has.
Signed-off-by: Stephen Boyd
---
Maybe we need a union for the epoch_ns usage?
arch/arm/include/asm/sched_clock.h | 2 +
arch/arm/kernel/sched_clock.c | 101 +++--
2 files changed, 77 insertions(+
with sched_clock returning
gigantic numbers. Second, there is no support for suspend/resume
handling so problems such as discussed in 6a4dae5 (ARM: 7565/1:
sched: stop sched_clock() during suspend, 2012-10-23) can happen.
Signed-off-by: Stephen Boyd
---
arch/arm/include/asm/sched_clock.h | 3 ---
On 04/22/13 03:48, Will Deacon wrote:
> Hi Stephen,
>
> On Sat, Apr 20, 2013 at 01:29:05AM +0100, Stephen Boyd wrote:
>> The arm architected system counter has at least 56 bits of
>> useable bits. Add support to ARM's sched_clock implementation for
>> counters
On 04/22/13 08:34, Mark Rutland wrote:
> Hi Stephen,
>
> On Sat, Apr 20, 2013 at 01:29:02AM +0100, Stephen Boyd wrote:
>> This is what I was thinking. I don't see why we can't move this to generic
>> code and have arm64 use it too. Those patches will follow o
On 06/11/13 15:28, Mike Turquette wrote:
> Quoting Stephen Boyd (2013-06-04 12:25:38)
>> Move the existing clock code in mach-msm to the common clock
>> framework. We lose our capability to set the rate of and enable a
>> clock through debugfs. This is ok though because the de
On 06/11, Rob Herring wrote:
> On Tue, Jun 11, 2013 at 8:30 PM, Stephen Boyd wrote:
>
> > diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
> > index e0d8565..04fe160 100644
> > --- a/arch/arm/mm/mmu.c
> > +++ b/arch/arm/mm/mmu.c
> > @@ -938,8 +938,12 @@ st
On 06/11, Stephen Boyd wrote:
> diff --git a/arch/arm/mach-msm/io.c b/arch/arm/mach-msm/io.c
> index efa113e..284cc56 100644
> --- a/arch/arm/mach-msm/io.c
> +++ b/arch/arm/mach-msm/io.c
> @@ -52,10 +52,6 @@ static struct map_desc msm_io_desc[] __initdata = {
> MSM_CHIP
On 06/06, Stephen Boyd wrote:
> On 06/07, Daniel Lezcano wrote:
> > On 06/06/2013 08:04 PM, Stephen Boyd wrote:
> > > On 06/06, Daniel Lezcano wrote:
> > >> On 06/03/2013 10:33 PM, Stephen Boyd wrote:
> > >>> On an SMP system with only one global cloc
Nobody is using these mappings so just drop them. of_iomap() in
the timer driver will take care of it for us. Doing this allows
us to remove the 8x60 and 8960 iomap files completely.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/board-dt-8660.c | 3 +-
arch/arm/mach-msm/board
merge
window or after to remove those two.
Patches are based on David Brown's MSM for-next tree.
git://git.kernel.org/pub/scm/linux/kernel/git/davidb/linux-msm.git for-next
Changes since v1:
* Fixed mapping on 7x00
* Fixed compile on 7k where uart mappings are used by devices files
Steph
One more step to allowing MSM to participate in the
multi-platform defconfig.
Signed-off-by: Stephen Boyd
---
arch/arm/Kconfig.debug | 9 +++-
.../mach/debug-macro.S => include/debug/msm.S} | 32 ++-
arch/arm/mach-msm/include/mach/msm_iomap-896
This function is only used on MSM7x00A so only compile the
function if the build includes support for that platform.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/io.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-msm/io.c b/arch/arm/mach-msm/io.c
index b99c3bc
This allows us to remove the init_time callback in the DT machine
descriptors, shrinking the code.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/board-dt-8660.c | 1 -
arch/arm/mach-msm/board-dt-8960.c | 1 -
arch/arm/mach-msm/common.h| 1 -
arch/arm/mach-msm/timer.c | 17
.
Signed-off-by: Stephen Boyd
---
Found this while reading through the code. I haven't actually
seen it in practice but I think it's real.
arch/arm/kernel/sched_clock.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/arch/arm/kernel/sched_clock.c
set_parent operation.
I'd like to see this go into 3.11. We can tackle the larger problem that
Saravana brought up later on since we're no worse off than we already
are without these patches.
Feel free to add my reviewed-by to all patches.
Reviewed-by: Stephen Boyd
--
Qualcomm Innova
Fill in the data and wire up the multimedia clock controller to
the MSM clock driver. This should allow multimedia device drivers
to control their clocks on 8960 based platforms.
Cc: devicetree-disc...@lists.ozlabs.org
Signed-off-by: Stephen Boyd
---
.../devicetree/bindings/clock/qcom,mmcc.txt
Fill in the data and wire up the global clock controller to the
MSM clock driver. This should allow most non-multimedia device
drivers to control their clocks on 8960 based platforms.
Cc: devicetree-disc...@lists.ozlabs.org
Signed-off-by: Stephen Boyd
---
.../devicetree/bindings/clock/qcom
Cc: devicetree-disc...@lists.ozlabs.org
Signed-off-by: Stephen Boyd
---
Documentation/devicetree/bindings/clock/msm.txt | 28
drivers/clk/msm/Makefile| 1 +
drivers/clk/msm/clk-branch.c| 190
drivers/clk/msm/clk
Signed-off-by: Stephen Boyd
---
arch/arm/boot/dts/msm8960-cdp.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/msm8960-cdp.dts
b/arch/arm/boot/dts/msm8960-cdp.dts
index 1c0691c..caf13ae 100644
--- a/arch/arm/boot/dts/msm8960-cdp.dts
+++ b/arch/arm/boot/dts/msm8960
Cc: devicetree-disc...@lists.ozlabs.org
Signed-off-by: Stephen Boyd
---
Documentation/devicetree/bindings/clock/msm.txt | 31 +
drivers/clk/msm/Makefile| 2 +
drivers/clk/msm/clk-rcg.c | 754
drivers/clk/msm/clk-rcg.h
parsed.
Signed-off-by: Stephen Boyd
---
drivers/clk/clk.c| 64
include/linux/clk-provider.h | 10 +++
2 files changed, 74 insertions(+)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 282b10e..f40ce9b 100644
--- a/drivers/clk
Add the necessary DT data to probe the multimedia clock controller
on MSM8960 devices.
Signed-off-by: Stephen Boyd
---
arch/arm/boot/dts/msm8960-cdp.dts | 37 +
1 file changed, 37 insertions(+)
diff --git a/arch/arm/boot/dts/msm8960-cdp.dts
b/arch/arm/boot
Add support for MSM's PLLs (phase locked loops). This is
sufficient enough to be able to determine the rate the PLL is
running at.
Cc: devicetree-disc...@lists.ozlabs.org
Signed-off-by: Stephen Boyd
---
Documentation/devicetree/bindings/clock/msm.txt | 40
drivers/clk/Kc
uld be great
if more experienced DT persons could weigh in here.
Please note this patchset relies on my previous patch series that moves
existing MSM clock code to the common clock framework [2].
Stephen Boyd (13):
clk: fixed-rate: Export clk_fixed_rate_register()
clk: Add of_init_clk_data()
Signed-off-by: Stephen Boyd
---
drivers/clk/msm/Makefile | 2 +
drivers/clk/msm/core.c | 265 +
drivers/clk/msm/internal.h | 24
3 files changed, 291 insertions(+)
create mode 100644 drivers/clk/msm/core.c
create mode 100644 drivers/clk
Add the necessary DT data to probe the global clock controller
on MSM8960 devices.
Signed-off-by: Stephen Boyd
---
arch/arm/boot/dts/msm8960-cdp.dts | 72 +++
1 file changed, 72 insertions(+)
diff --git a/arch/arm/boot/dts/msm8960-cdp.dts
b/arch/arm/boot
Export this symbol so that modules can register fixed rate
clocks.
Signed-off-by: Stephen Boyd
---
drivers/clk/clk-fixed-rate.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk-fixed-rate.c b/drivers/clk/clk-fixed-rate.c
index dc58fbd..1ed591a 100644
--- a/drivers/clk/clk
ve to
free the strings allocated here which could be cumbersome.
Cc: Rob Herring
Signed-off-by: Stephen Boyd
---
drivers/clk/clk.c| 59 +++-
include/linux/clk-provider.h | 3 +++
2 files changed, 61 insertions(+), 1 deletion(-)
diff --git a/dr
hange during
clk_set_rate() it will call the .set_rate_and_parent() op if
available and fall back to calling .set_parent() followed by
.set_rate() otherwise.
Cc: James Hogan
Signed-off-by: Stephen Boyd
---
Documentation/clk.txt| 3 ++
drivers/clk/clk.c
. This way, if the clockevent is a dummy it will take
the tick device duty as long as there isn't a higher rated tick
device and any global clockevent will be bumped out into
broadcast mode, fixing the problem described above.
Reported-by: Mark Rutland
Cc: John Stultz
Cc: Thomas Glei
On 06/14, Rob Herring wrote:
> On 06/12/2013 12:21 PM, Stephen Boyd wrote:
> > On 06/11, Rob Herring wrote:
> >> On Tue, Jun 11, 2013 at 8:30 PM, Stephen Boyd wrote:
> >>
> >>> diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
> >>> index e0
On 06/14, Stephen Boyd wrote:
> On 06/14, Rob Herring wrote:
> > On 06/12/2013 12:21 PM, Stephen Boyd wrote:
> > > On 06/11, Rob Herring wrote:
> > >> Can you use vm_reserve_area_early here or perhaps just call
> > >> iotable_init instead of create_mappin
ar in vmallocinfo. This allows us to
differentiate the debug_ll mapping from the other iotable_init()
mappings.
Cc: Rob Herring
Signed-off-by: Stephen Boyd
---
I'm ok without this patch. Using __builtin_return_address(0) seems
to do alright on framepointer builds but fails on unwind table
builds so I
)
Fix it by telling generic layers about the static mapping via
iotable_init(). This also has the nice side effect of letting
you see the mapping in procfs' vmallocinfo file.
Cc: Rob Herring
Cc: Stephen Warren
Signed-off-by: Stephen Boyd
---
Changes since v1:
* Use iotable_init() inste
On 06/16/13 22:54, Linus Walleij wrote:
> On Tue, Jun 4, 2013 at 9:20 PM, Stephen Boyd wrote:
>
>> Commit 7bce696 (gpio: Make gpio-msm-v1 into a platform driver,
>> 2013-03-04) was based on an older kernel where __devinit still
>> existed. Remove the erroneous __devinit
provides and finally moves the proc_comm clock code to the common
>> struct clk.
>>
>> This patch series will be used as the foundation of the MSM 8660/8960
>> clock code that I plan to send out after this series.
>>
>> ---
This allows us to remove the init_time callback in the DT machine
descriptors, shrinking the code.
Signed-off-by: Stephen Boyd
---
Changes since v1:
* Added CLKSRC_OF selection
arch/arm/Kconfig | 1 +
arch/arm/mach-msm/board-dt-8660.c | 1 -
arch/arm/mach-msm/board-dt-8960
Acked-by: Mike Turquette
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/board-halibut.c | 2 +-
arch/arm/mach-msm/board-msm7x30.c | 2 +-
arch/arm/mach-msm/board-qsd8x50.c | 2 +-
arch/arm/mach-msm/board-trout.c| 3 +--
arch/arm/mach-msm/clock-pcom.c | 23
original MSM clock code we
make a wrapper for clk_reset() that calls the struct msm_clk
specific reset function. This is necessary for the usb and sdcc
devices on MSM until a better suited API is made available.
Cc: Saravana Kannan
Acked-by: Mike Turquette
Signed-off-by: Stephen Boyd
---
arch/arm
Add calls to clk_prepare and unprepare so that MSM can migrate to
the common clock framework.
Cc: Chris Ball
Signed-off-by: Stephen Boyd
---
drivers/mmc/host/msm_sdcc.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc
Calling clk_set_min_rate() is no better than just calling
clk_set_rate() because MSM clock code already takes care of
calling the min_rate ops if the clock really needs
clk_set_min_rate() called on it.
Cc: Joerg Roedel
Signed-off-by: Stephen Boyd
---
drivers/iommu/msm_iommu_dev.c | 3 +--
1
Add calls to clk_prepare and unprepare so that MSM can migrate to
the common clock framework.
Acked-by: Felipe Balbi
Signed-off-by: Stephen Boyd
---
drivers/usb/phy/phy-msm-usb.c | 38 +++---
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a
eorder the initcall order of
dma.c so that it initializes after the clock driver probes but
before any drivers use dma APIs.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/Makefile| 9 ++---
arch/arm/mach-msm/board-trout-panel.c | 19 +++
arch/arm/mach
clock-7x30.h include file along with it.
Cc: Saravana Kannan
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/clock-7x30.h | 155
arch/arm/mach-msm/devices-msm7x30.c | 3 -
2 files changed, 158 deletions(-)
delete mode 100644 arch/arm/mach-msm/clock-
Nobody is using this API upstream and it's just contributing
cruft. Remove it so the MSM clock API is closer to the generic
struct clock API.
Acked-by: Saravana Kannan
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/clock-pcom.c | 10 --
arch/arm/mach-msm/cl
s the foundation of the MSM 8660/8960
clock code that I plan to send out after this series.
Stephen Boyd (12):
msm_serial: Convert to clk_prepare/unprepare
msm_serial: Use devm_clk_get() and properly return errors
usb: otg: msm: Convert to clk_prepare/unprepare
msm_sdcc: Convert to clk_pr
call uart_remove_one_port() to do the
proper cleanup.
Cc: Greg Kroah-Hartman
Signed-off-by: Stephen Boyd
---
drivers/tty/serial/msm_serial.c | 21 -
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c
There are no users of this API anymore so let's just remove it.
If a need arises in the future we can extend the common clock API
to handle it.
Acked-by: Saravana Kannan
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/clock-debug.c | 9 +
arch/arm/mach-msm/cl
Add calls to clk_prepare and unprepare so that MSM can migrate to
the common clock framework.
Cc: Greg Kroah-Hartman
Signed-off-by: Stephen Boyd
---
drivers/tty/serial/msm_serial.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/tty/serial
techniques.
Cc: Joerg Roedel
Signed-off-by: Stephen Boyd
---
drivers/iommu/msm_iommu_dev.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/iommu/msm_iommu_dev.c b/drivers/iommu/msm_iommu_dev.c
index 8e8fb07..d344f6a 100644
--- a/drivers/iommu
On 06/03/13 10:53, Mike Turquette wrote:
> +Required properties:
> +- compatible : shall be "divider-clock".
> +- #clock-cells : from common clock binding; shall be set to 0.
> +- clocks : link to phandle of parent clock
> +- reg : base address for register controlling adjustable divider
> +- mask
Commit 7bce696 (gpio: Make gpio-msm-v1 into a platform driver,
2013-03-04) was based on an older kernel where __devinit still
existed. Remove the erroneous __devinit marking.
Cc: David Brown
Signed-off-by: Stephen Boyd
---
drivers/gpio/gpio-msm-v1.c | 2 +-
1 file changed, 1 insertion(+), 1
also removes some custom clock APIs that MSM provides
and finally moves the proc_comm clock code to the common struct clk.
This patch series will be used as the foundation of the MSM 8660/8960
clock code that I plan to send out after this series.
Stephen Boyd (12):
msm_serial: Convert to
Add calls to clk_prepare and unprepare so that MSM can migrate to
the common clock framework.
Signed-off-by: Stephen Boyd
---
drivers/tty/serial/msm_serial.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial
call uart_remove_one_port() to do the
proper cleanup.
Signed-off-by: Stephen Boyd
---
drivers/tty/serial/msm_serial.c | 21 -
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c
index 0149603..2c6cfb3 1
Calling clk_set_min_rate() is no better than just calling
clk_set_rate() because MSM clock code already takes care of
calling the min_rate ops if the clock really needs
clk_set_min_rate() called on it.
Signed-off-by: Stephen Boyd
---
drivers/iommu/msm_iommu_dev.c | 3 +--
1 file changed, 1
There are no users of this API anymore so let's just remove it.
If a need arises in the future we can extend the common clock API
to handle it.
Acked-by: Saravana Kannan
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/clock-debug.c | 9 +
arch/arm/mach-msm/cl
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/board-halibut.c | 2 +-
arch/arm/mach-msm/board-msm7x30.c | 2 +-
arch/arm/mach-msm/board-qsd8x50.c | 2 +-
arch/arm/mach-msm/board-trout.c| 3 +--
arch/arm/mach-msm/clock-pcom.c | 23 +--
arch
eorder the initcall order of
dma.c so that it initializes after the clock driver probes but
before any drivers use dma APIs.
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/Makefile| 9 ++---
arch/arm/mach-msm/board-trout-panel.c | 19 +++
arch/arm/mach
original MSM clock code we
make a wrapper for clk_reset() that calls the struct msm_clk
specific reset function. This is necessary for the usb and sdcc
devices on MSM until a better suited API is made available.
Cc: Saravana Kannan
Cc: Mike Turquette
Signed-off-by: Stephen Boyd
---
arch/arm
Nobody is using this API upstream and it's just contributing
cruft. Remove it so the MSM clock API is closer to the generic
struct clock API.
Acked-by: Saravana Kannan
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/clock-pcom.c | 10 --
arch/arm/mach-msm/cl
clock-7x30.h include file along with it.
Cc: Saravana Kannan
Signed-off-by: Stephen Boyd
---
arch/arm/mach-msm/clock-7x30.h | 155
arch/arm/mach-msm/devices-msm7x30.c | 3 -
2 files changed, 158 deletions(-)
delete mode 100644 arch/arm/mach-msm/clock-
Add calls to clk_prepare and unprepare so that MSM can migrate to
the common clock framework.
Signed-off-by: Stephen Boyd
---
drivers/mmc/host/msm_sdcc.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
techniques.
Signed-off-by: Stephen Boyd
---
drivers/iommu/msm_iommu_dev.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/iommu/msm_iommu_dev.c b/drivers/iommu/msm_iommu_dev.c
index 8e8fb07..d344f6a 100644
--- a/drivers/iommu/msm_iommu_dev.c
+++ b/drivers
Add calls to clk_prepare and unprepare so that MSM can migrate to
the common clock framework.
Cc: Felipe Balbi
Signed-off-by: Stephen Boyd
---
drivers/usb/phy/phy-msm-usb.c | 38 +++---
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/drivers/usb
On 06/04, Nicolas Pitre wrote:
> On Mon, 3 Jun 2013, Stephen Boyd wrote:
>
> > On 06/03/13 15:45, Russell King - ARM Linux wrote:
> > > On Mon, Jun 03, 2013 at 03:37:39PM -0700, Stephen Boyd wrote:
> > >> In my case I'm booting a kernel with textoffset =
On 06/04, Nicolas Pitre wrote:
> On Tue, 4 Jun 2013, Stephen Boyd wrote:
>
> > On 06/04, Nicolas Pitre wrote:
> > >
> > > I've looked at the code and I think that #1 in your initial options is
> > > probably best here. I agree with Russell about #
handling that the
generic sched_clock code already has.
All users should switch over to the 64bit read function so we can
deprecate setup_sched_clock() in favor of sched_clock_setup().
Signed-off-by: Stephen Boyd
---
I've noticed that we probably need to update the mult/shift
calculation simil
the first read.
Cc: Christopher Covington
Cc: Catalin Marinas
Signed-off-by: Stephen Boyd
---
arch/arm64/Kconfig | 1 +
arch/arm64/kernel/time.c | 11 ++-
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 56b3f6d..f9c6e92
just copy/paste the maxsec calculation code here or do something
else?
Stephen Boyd (3):
sched_clock: Add support for >32 bit sched_clock
ARM: arch_timer: Move to generic sched_clock framework
arm64: Move to generic sched_clock infrastructure
arch/arm/kernel/arch_timer.c | 14 ++---
201 - 300 of 10018 matches
Mail list logo