On 25/06/13 14:22, Linus Walleij wrote:
> Can't we just try to come up with a patch that nails down the meaning of
> slew rate in some meaningful manner then?
>
> So according to:
> http://en.wikipedia.org/wiki/Slew_rate
> a proper expression for slew rate would be dV/dt i.e.
> something like micr
> This removes all the arch/metag uses of the __cpuinit macros from
> all C files. Currently metag does not have any __CPUINIT used in
> assembly files.
>
> [1] https://lkml.org/lkml/2013/5/20/589
>
> Cc: James Hogan
> Signed-off-by: Paul Gortmaker
Acked-by: James Hoga
On 25 June 2013 22:40, Andrew Morton wrote:
> On Mon, 24 Jun 2013 10:10:08 +0100 James Hogan wrote:
>
>> On 22/06/13 20:09, Oleg Nesterov wrote:
>> > On 06/21, David Daney wrote:
>> >> I am proposing that we just reduce the number of usable signals such
>>
On 04/06/13 12:18, Peter Zijlstra wrote:
> On Tue, Jun 04, 2013 at 04:39:05PM +0530, Vineet Gupta wrote:
>> On 06/04/2013 04:33 PM, Peter Zijlstra wrote:
>>> Simlar 'complaint' for the ARC stuff really, only marketing speak :-)
>>
>> You mean lack of prefix in this case (as opposed to MetaG).
>
>
ock held).
clear_tasks_mm_cpumask() was introduced in v3.5-rc1 to fix this issue,
so let's use it for metag too.
Signed-off-by: James Hogan
Cc: "Srivatsa S. Bhat"
Cc: Thomas Gleixner
Cc: Oleg Nesterov
Cc: Anton Vorontsov
---
arch/metag/kernel/smp.c | 8 +---
1 file changed, 1 in
-enables IRQs.
This appears to have been causing occasional hits of the
BUG_ON(!irqs_disabled()) in __irq_work_run() during CPU hotplug soak
testing:
BUG: failure at kernel/irq_work.c:122/__irq_work_run()!
Signed-off-by: James Hogan
---
arch/metag/kernel/irq.c | 5 +++--
1 file changed, 3 insertions
give them a glance over in case
I've misunderstood anything.
James Hogan (5):
metag: use clear_tasks_mm_cpumask()
metag: smp: enable irqs after set_cpu_online
metag: smp: don't spin waiting for CPU to start
metag: kick: prevent nested kick handlers
metag: cpu hotplug: route_ir
completion prevents the bogomips
of the secondary CPU from being drastically skewed every time by the
execution of the tight in-cache udelay loop on the other CPU.
Signed-off-by: James Hogan
Cc: "Srivatsa S. Bhat"
Cc: Thomas Gleixner
---
arch/metag/kernel/smp.c | 16 ++-
by: Kirill Tkhai
Signed-off-by: James Hogan
Cc: Kirill Tkhai
Cc: "Srivatsa S. Bhat"
Cc: Thomas Gleixner
---
arch/metag/kernel/smp.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/arch/metag/kernel/smp.c b/arch/metag/kernel/smp.c
index b813515..09979
kick_handlers_lock is released.
Signed-off-by: James Hogan
---
arch/metag/kernel/kick.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/metag/kernel/kick.c b/arch/metag/kernel/kick.c
index 50fcbec..beb3776 100644
--- a/arch/metag/kernel/kick.c
+++ b/arch/metag/kernel/kick.c
@@ -26,6 +26,8
On 1 July 2013 22:46, Thomas Gleixner wrote:
> On Mon, 1 Jul 2013, James Hogan wrote:
>> Use a completion to block until a secondary CPU has started up, like ARM
>> do, instead of a loop of udelays.
>>
>> On Meta, SMP is really SMT, with each "CPU" being a dif
On 1 July 2013 22:51, Thomas Gleixner wrote:
> On Mon, 1 Jul 2013, James Hogan wrote:
>
>> The main kick trigger handler iterates a list of kick handlers and calls
>> each one. This is done with the kick_handlers_lock spin lock held, but
>> this causes a problem on SMP wh
Thomas Gleixner wrote:
>On Mon, 1 Jul 2013, James Hogan wrote:
>> On 1 July 2013 22:51, Thomas Gleixner wrote:
>> > On Mon, 1 Jul 2013, James Hogan wrote:
>> >
>> >> The main kick trigger handler iterates a list of kick handlers and
>c
reach 0 until
after the spin lock has been released.
Ideally the spin lock protected handler list will also be replaced by a
lockless RCU protected list since it is certainly mostly read. That can
be done in a later change though.
Signed-off-by: James Hogan
Cc: Thomas Gleixner
---
Changes in v2
On 02/07/13 07:16, Srivatsa S. Bhat wrote:
> On 07/01/2013 09:34 PM, James Hogan wrote:
>> The route_irq() function needs to preserve the irq mask by using the
>> _irqsave/irqrestore variants of raw spin lock functions instead of the
>> _irq variants. This is beca
caused the following error:
ERROR: "csum_partial" [fs/reiserfs/reiserfs.ko] undefined!
Signed-off-by: James Hogan
Cc: Rusty Russell
---
Unless there are any objections I'll apply this patch for v3.11. I'm
assuming *_ksyms.c is the way that this problem is normally work
(cc'ing linux-arch and linux-kbuild)
On 03/07/13 01:45, Rusty Russell wrote:
> James Hogan writes:
>> Move all EXPORT_SYMBOLs in libs-y directories (arch/metag/{lib,tbx})
>> into metag_ksyms.c so that they don't get omitted by the static linker
>> if they'
On 03/07/13 09:50, Geert Uytterhoeven wrote:
> On Wed, Jul 3, 2013 at 10:44 AM, James Hogan wrote:
>> (cc'ing linux-arch and linux-kbuild)
>>
>> On 03/07/13 01:45, Rusty Russell wrote:
>>> James Hogan writes:
>>>> Move all EXPORT_SYMBOLs in libs
kvm_para.h to header-y.
Signed-off-by: James Hogan
Cc: Ralf Baechle
Cc: Christoph Lameter
Cc: Tejun Heo
Cc: Dave Jones
Cc: David Howells
Cc: David Sharp
Cc: "Paul E. McKenney"
Cc: Thomas Gleixner
Cc: linux-m...@linux-mips.org
---
arch/mips/include/asm/Kbuild | 13
merged via pinctrl tree).
- Panic on boot instead of just warning if cache aliasing possible.
- Various SMP/hotplug fixes.
- Various other randconfig/sparse fixes.
James Hogan (16):
metag: of_platform_populate from arch generic
On 4 July 2013 22:05, Luciano Coelho wrote:
> Add a flag that indicate whether the clock is a crystal or not. Since
> no clocks set this flag right now, include an additional flag that
> indicates whether the type is set or not. If the CLK_IS_TYPE_DEFINED
> flag is not set, the value of the CLK_
On 25/06/13 23:13, James Hogan wrote:
> On 25 June 2013 22:40, Andrew Morton wrote:
>> Meanwhile, unprivileged users can make a MIPS kernel go BUG.
>>
>> How much of a problem is this? Obviously less of a problem with MIPS
>> than it would be with some other CPU types,
On 26/06/13 18:15, Oleg Nesterov wrote:
> On 06/26, Ralf Baechle wrote:
>>
>> On Wed, Jun 26, 2013 at 06:14:52PM +0200, Oleg Nesterov wrote:
>>
>>> Or simply remove the BUG_ON(), this can equally confuse wait(status).
>>> 128 & 0x7f == 0.
>>>
>>> Still I think it would be better to change _NSIG on
le
program would ever need to use 96 RT signals:
"programs should never refer to real-time signals using hard-coded
numbers, but instead should always refer to real-time signals using
the notation SIGRTMIN+n, and include suitable (run-time) checks that
SIGRTMIN+n does not exceed SIGRTMAX.&q
On 28 June 2013 20:28, Denys Vlasenko wrote:
> On Monday 17 June 2013 12:36, James Hogan wrote:
>> On 14/06/13 17:03, James Hogan wrote:
>> > MIPS has 128 signals, the highest of which has the number 128 (they
>> > start from 1). The following command causes get_signa
On 21/03/13 21:52, Thomas Gleixner wrote:
> Implement set/clear functions for the idle need_resched poll
> implementation.
>
> Signed-off-by: Thomas Gleixner
> ---
> include/linux/sched.h | 23 ++-
> 1 file changed, 22 insertions(+), 1 deletion(-)
>
> Index: linux-2.6/incl
On 21/03/13 21:53, Thomas Gleixner wrote:
> Signed-off-by: Thomas Gleixner
> Cc: James Hogan
> ---
> arch/metag/Kconfig |1 +
> arch/metag/kernel/process.c | 32 +++-
> arch/metag/kernel/smp.c |2 +-
> 3 files changed
Abstract access to the clock parent cache by defining
__clk_get_parent_by_index(clk, index). This allows access to parent
clocks from clock drivers.
Signed-off-by: James Hogan
---
drivers/clk/clk.c| 21 ++---
include/linux/clk-provider.h | 1 +
2 files changed, 15
a struct clk member to
mark that the parent should change (it's all within mutex protected
code after all). Comments anyone?
James Hogan (3):
clk: abstract parent cache
clk: add support for clock remuxing
clk: clk-mux: implement remuxing
drivers/clk/clk-mux.c| 47
that the clock can have it's parent changed automatically in response to
a set_rate. It isn't used yet, but will be used within clock mux
drivers.
Signed-off-by: James Hogan
---
drivers/clk/clk.c| 94 +++-
include/linux/clk-provider.h |
Implement clk-mux remuxing if the CLK_SET_RATE_REMUX flag is set. This
implements round_rate for clk-mux to propagate the round_rate to each
parent and to choose the best one.
Signed-off-by: James Hogan
---
drivers/clk/clk-mux.c | 47 +++
1 file
The kerneldoc comment for struct clk_mux documented the non-existent
num_clks instead of flags. Correct this.
Signed-off-by: James Hogan
---
include/linux/clk-provider.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/clk-provider.h b/include/linux/clk
Add the IMG Debug Adapter File System (DAFS) for metag, which uses
SWITCH operations to communicate with a file server on a host computer
via a JTAG debug adapter.
Signed-off-by: James Hogan
Cc: Alexander Viro
---
v6:
* use file_inode() helper introduced in v3.9-rc1
* remove dafs_iops as it
ensure
correct notifications without duplicates, and I think should be safe
in the event of a notification failing.
* various tidy ups and fixes.
James Hogan (5):
clk: abstract parent cache
clk: move some parent related functions upwards
clk: add support for clock reparent on set_rate
Abstract access to the clock parent cache by defining
clk_get_parent_by_index(clk, index). This allows access to parent
clocks from clock drivers.
Signed-off-by: James Hogan
Reviewed-by: Stephen Boyd
Cc: Mike Turquette
Cc: linux-arm-ker...@lists.infradead.org
---
Changes in v3:
* remove
to ease readability of that patch.
Signed-off-by: James Hogan
Reviewed-by: Stephen Boyd
Cc: Mike Turquette
Cc: linux-arm-ker...@lists.infradead.org
---
Changes in v5:
* Rebased on latest clk-next ("clk: tegra: Use common of_clk_init
function")
Changes in v4:
* new patch (patch 2)
te op is implemented as a core helper function so that
it can be easily used by more complex clocks which incorporate muxes.
Signed-off-by: James Hogan
Reviewed-by: Stephen Boyd
Cc: Mike Turquette
Cc: linux-arm-ker...@lists.infradead.org
---
Changes in v4:
* never pass NULL to determin
_rate() is called, determine_rate() is checked
first and called in preference. This restructures a few of the call
sites to simplify the logic into if/else blocks.
Signed-off-by: James Hogan
Reviewed-by: Stephen Boyd
Cc: Mike Turquette
Cc: linux-arm-ker...@lists.infradead.org
---
Changes in v5:
. It also handles the set_wake interrupt
operation to enable/disable the appropriate wake event bits.
Signed-off-by: James Hogan
Cc: Thomas Gleixner
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
Cc: linux-me...@vger.kernel.org
Cc: linux-...@vger.kernel.org
Cc: devicetree-disc
ld have it's indentation fixed too
Otherwise, for all 3 patches:
Reviewed-by: James Hogan
Thanks
James
--
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/ma
On 20 July 2013 18:07, Linus Walleij wrote:
> On Tue, Jun 25, 2013 at 4:27 PM, James Hogan wrote:
>
>> Convert gpio-tz1090 driver to use generic irqchips. This allows the
>> irq_ack, irq_mask, and irq_unmask callbacks and associated helper
>> functions to be remov
On 21 July 2013 20:53, Linus Torvalds wrote:
> (b) we had a late change to how ACPI backlight handling is done on
> certain machines, and while this kind of thing really shouldn't be
> done outside the merge window, I ended up pulling it anyway. But I'd
> *really* like to have people test this th
Add the new linux-me...@vger.kernel.org mailing list to METAG
ARCHITECTURE entry in MAINTAINERS.
Signed-off-by: James Hogan
Cc: linux-me...@vger.kernel.org
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index bf61e04..a195098 100644
--- a
On 22 July 2013 14:02, Rafael J. Wysocki wrote:
> On Monday, July 22, 2013 12:08:40 AM James Hogan wrote:
>> On 21 July 2013 20:53, Linus Torvalds wrote:
>> > (b) we had a late change to how ACPI backlight handling is done on
>> > certain machines, and while this kin
e (that on -rc2 doesn't
exist).
>
> Also, can you all please send me (a) the output of dmidecode and (b) the
> contents of /proc/cpuinfo from your systems?
attached
--
James Hogan
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name
On 24/07/13 19:39, Stephen Boyd wrote:
> On 06/21, James Hogan wrote:
>> On 21 June 2013 18:04, Mike Turquette wrote:
>>> Quoting James Hogan (2013-06-13 09:05:57)
>>>> This patchset adds support for automatic selection of the best parent
>>>> for a clo
Hi Sylwester
On 25/07/13 13:34, Sylwester Nawrocki wrote:
> On 06/13/2013 06:06 PM, James Hogan wrote:
>> Add a CLK_SET_RATE_NO_REPARENT clock flag, which will prevent muxes
>> being reparented during clk_set_rate.
>>
>> To avoid breaking existing platforms, all
ce to `irq_work_queue'
Select IRQ_WORK from TREE_PREEMPT_RCU too to fix this.
Signed-off-by: James Hogan
Cc: Steven Rostedt
Cc: Paul E. McKenney
Cc: Dipankar Sarma
---
init/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/init/Kconfig b/init/Kconfig
index 247084b..c08a549 10
On 25 July 2013 14:00, Rafael J. Wysocki wrote:
> On Monday, July 22, 2013 09:54:21 PM Rafael J. Wysocki wrote:
>> On Monday, July 22, 2013 11:11:54 AM Linus Torvalds wrote:
>> > On Mon, Jul 22, 2013 at 6:02 AM, Rafael J. Wysocki wrote:
>> > >
>> > > Linus, do you want me to send a pull request r
;dma_free_coherent'
drivers/usb/host/xhci-mem.c In function 'xhci_alloc_stream_ctx':
drivers/usb/host/xhci-mem.c +463 : error: implicit declaration of function
'dma_alloc_coherent'
Signed-off-by: James Hogan
Cc: Greg Kroah-Hartman
Cc: linux-...@vger.kernel.org
Cc: S
Add the IMG Debug Adapter File System (DAFS) for metag, which uses
SWITCH operations to communicate with a file server on a host computer
via a JTAG debug adapter.
Signed-off-by: James Hogan
Cc: Alexander Viro
Cc: linux-fsde...@vger.kernel.org
---
v9:
* updated dafs_readdir to use iterate
e clock framework determines
> that both the parent and the rate are going to change 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: S
* provide dma_get_sgtable() as added recently for other arches
* remove CONFIG_GENERIC_SIGALTSTACK
* remove CONFIG_HAVE_IRQ_WORK
* remove CONFIG_EXPERIMENTAL from defconfigs
* remove SET_PERSONALITY()
Signed-off-by: James Hogan
--------
James
On 01/03/13 18:03, Linus Torvalds wrote:
> On Fri, Mar 1, 2013 at 8:55 AM, James Hogan wrote:
>>
>> Please pull the following changes in addition to my previous arch/metag
>> pull request. See the tag (below) for details. The shortlog is a bit
>> inflated unfortunately
On 01/03/13 18:54, James Hogan wrote:
> On 01/03/13 18:03, Linus Torvalds wrote:
>> On Fri, Mar 1, 2013 at 8:55 AM, James Hogan wrote:
>>>
>>> Please pull the following changes in addition to my previous arch/metag
>>> pull request. See the tag (below
Hi Stephen,
On 2 March 2013 15:48, Stephen Rothwell wrote:
> On Sat, 2 Mar 2013 10:22:40 +0000 James Hogan wrote:
>>
>> Okay, I've rebased the arch/metag tree onto mainline to make all the
>> back-merges unnecessary and applied those simple fixes into "Build
On 02/03/13 16:28, Linus Torvalds wrote:
> You are the
> architecture maintainer, and your job is not integration, it's to make
> sure that *your* work is as stable and unsurprising as possible.
Right, make sense. This is what it comes down to.
> See why I hate rebasing and back-merges so much?
missing exports
- Convert hugetlb to use vm_unmapped_area()
- Copy device tree to non-init memory
- Provide dma_get_sgtable()
Signed-off-by: James Hogan
----
James Hogan (61):
asm-generic/io.h: check CONFIG_VIRT_TO_BUS
asm
On 04/03/13 02:03, Stephen Rothwell wrote:
> Hi Al,
>
> Today's linux-next merge of the signal tree got a conflict in
> include/asm-generic/unistd.h between commit 4dd3c95940b8
> ("asm-generic/unistd.h: handle symbol prefixes in cond_syscall") from
> Linus' tree and commit 24a2641326f1 ("consolida
On 13 May 2013 20:57, Mike Turquette wrote:
> Quoting James Hogan (2013-04-19 09:28:21)
>> This patchset adds support for automatic selection of the best parent
>> for a clock mux, i.e. the one which can provide the closest clock rate
>> to that requested. It can b
On 14/05/13 12:52, Linus Walleij wrote:
> On Fri, May 3, 2013 at 5:06 PM, James Hogan wrote:
>> [me]
>>> Thus this part of the problem (poking that "select" bit)
>>> should be handled by the pinmux part of the driver.
>>>
>>> The pinconf
On 14 May 2013 19:13, Mike Turquette wrote:
> Quoting James Hogan (2013-04-19 09:28:23)
>> Add core support to allow clock implementations to select the best
>> parent clock when rounding a rate, e.g. the one which can provide the
>> closest clock rate to that requested. Thi
Hi Mike,
On 14/05/13 17:59, Mike Turquette wrote:
> Quoting James Hogan (2013-05-13 14:30:46)
>> On 13 May 2013 20:57, Mike Turquette wrote:
>>> One reason for this is the difficulty some have had with setting flags
>>> from DT bindings.
>>
>> Could you el
Hi Linus,
On 15/05/13 20:07, Linus Walleij wrote:
> On Tue, May 14, 2013 at 2:22 PM, James Hogan wrote:
>
>> I think that's the other way around, i.e. that's talking about mapping
>> several pingroups to the same function. The next paragraph is closer to
>>
On 16/05/13 05:11, Saravana Kannan wrote:
> I really want to review this because I solved the same problem in our
> internal clock framework and want to make sure upstream doesn't go
> through the same mistakes. But haven't had the time. Hopefully, I'll go
> it before this gets accepted by Mike. I'
On 15/05/13 23:31, Stephen Boyd wrote:
> On 05/10/13 08:02, James Hogan wrote:
>> This adds a metag architecture specific clk-gate and clk-mux which
>> extends the generic ones to use global lock2 to protect the register
>> fields. It is common with metag to have an RTOS r
ODE_MAP again
(touches microblaze too).
- Add TLS pointer regset to metag ptrace api.
- Add exported metag DSP extended context handling header .
- Increase defconfig log buffer size to 128KiB.
- Various fixes, typos, missing exports.
----
Ja
n't used and is incorrect when
CONFIG_SYMBOL_PREFIX is defined as CONFIG_SYMBOL_PREFIX is a quoted
string literal, so define __SYMBOL_NAME directly depending on
CONFIG_SYMBOL_PREFIX.
Signed-off-by: James Hogan
Cc: Al Viro
Cc: Rusty Russell
Cc: Mike Frysinger
Cc: uclinux-dist-de...@blackfin.uclin
On 1 May 2013 22:43, Al Viro wrote:
> On Wed, May 01, 2013 at 10:04:17PM +0100, James Hogan wrote:
>> Al's commit e1b5bb6d1236d4ad2084c53aa83dde7cdf6f8eea ("consolidate
>> cond_syscall and SYSCALL_ALIAS declarations") broke the build on
>> blackfin
Hi Linus,
On 03/05/13 09:49, Linus Walleij wrote:
> On Fri, Apr 26, 2013 at 11:22 AM, James Hogan wrote:
>> So basically a bunch of global registers (e.g. pinctrl and gpio) are
>> shared between all 3 cores (up to 4 OSes). The __global_lock2 should do
>> all that is require
Hi Linus,
On 03/05/13 10:13, Linus Walleij wrote:
> On Fri, Apr 26, 2013 at 1:54 PM, James Hogan wrote:
>> On 25/04/13 23:39, Linus Walleij wrote:
>>> On Tue, Apr 23, 2013 at 4:33 PM, James Hogan wrote:
>>>> +static const struct cfg_param {
>>>> +
Hi Linus,
On 03/05/13 14:03, Linus Walleij wrote:
> On Fri, May 3, 2013 at 2:23 PM, James Hogan wrote:
>> [Me]
>>> If what you need is to set the pin into "GPIO mode" to drive it
>>> to some default state then from pinconf-generic.h you should use
On 06/05/13 13:31, Geert Uytterhoeven wrote:
> Commit e1b5bb6d1236d4ad2084c53aa83dde7cdf6f8eea ("consolidate cond_syscall
> and SYSCALL_ALIAS declarations") broke the h8300 build because it removed
> the duplicate SYMBOL_NAME from arch/h8300/include/asm/linkage.h, and all
> the h8300 asm files incl
able a Kconfig
> boolean, and then use that boolean in the generic Kconfig.debug
> to present the actual menu option. This removes a bunch of
> duplication and adds consistency across arches.
>
> Signed-off-by: Dave Hansen
> Reviewed-by: H. Peter Anvin
> Reviewed-by: Jame
On 09/05/13 00:36, Stephen Boyd wrote:
> On 04/19/13 09:28, James Hogan wrote:
>> This patchset adds support for automatic selection of the best parent
>> for a clock mux, i.e. the one which can provide the closest clock rate
>> to that requested. It can be controlled by a n
(which is the
default behaviour of the generic clk-divider), the 8250 core won't allow
the highest baud rate to be used, so if an explicit frequency is
specified we always report that to the 8250 core.
The device tree bindings document is also updated accordingly.
Signed-off-by: James Hoga
On 09/05/13 11:36, Denis Efremov wrote:
> EXPORT_SYMBOL and inline directives are contradictory to each other.
> The patch fixes this inconsistency.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Denis Efremov
> ---
> arch/metag/lib/delay.c | 2 +-
> 1 fil
On 09/05/13 11:29, James Hogan wrote:
> If the uart clock provided to the 8250_dw driver is adjustable it may
> not be set to the desired rate. Therefore if both a uart clock and a
> clock frequency is specified (e.g. via device tree), try and update the
> clock to match t
Add the IMG Debug Adapter File System (DAFS) for metag, which uses
SWITCH operations to communicate with a file server on a host computer
via a JTAG debug adapter.
Signed-off-by: James Hogan
Cc: Alexander Viro
---
v8:
* enabled building as a module (commit e605ff8 merged during v3.10
On 09/05/13 21:01, Stephen Boyd wrote:
> I believe we'll need to update the check in __clk_init() to allow you to
> have either a .round_rate or a .determine_rate op if you have a
> .recalc_rate op. Right now it fails to register the clock and then
> oopses later on while setting up clock debugfs.
On 09/05/13 20:48, Stephen Boyd wrote:
> On 05/09/13 02:02, James Hogan wrote:
>> On 09/05/13 00:36, Stephen Boyd wrote:
>>> Which tree is this based on? I get failures with git am on patch 2.
>>>
>> It was based on v3.9-rc4.
>>
>
> Thanks. Would i
indings to handle this.
It behaves similar to a fixed rate clock (read-only), except it needs
information about a register field (reg, shift, width), and the
clock-frequency is a mapping from register field values to clock
frequencies.
Signed-off-by: James Hogan
Cc: Mike Turquette
Cc: Grant
clocks). Access to such registers must be serialised with a
global lock such as the one provided by the metag architecture port in
Signed-off-by: James Hogan
Cc: Mike Turquette
---
.../bindings/clock/img,meta-mux-clock.txt | 33
drivers/clk/metag/Makefile
clocks). Access to such registers must be serialised with a
global lock such as the one provided by the metag architecture port in
Signed-off-by: James Hogan
Cc: Mike Turquette
---
.../bindings/clock/img,meta-mux-clock.txt | 33
drivers/clk/metag/Makefile
clocks). Access to such registers must be serialised with a global
lock such as the one provided by the metag architecture port in
Signed-off-by: James Hogan
Cc: Mike Turquette
---
.../bindings/clock/img,meta-gate-clock.txt | 28
drivers/clk/Makefile
clocks). Access to such registers must be serialised with a global
lock such as the one provided by the metag architecture port in
Signed-off-by: James Hogan
Cc: Mike Turquette
---
.../bindings/clock/img,meta-gate-clock.txt | 28
drivers/clk/Makefile
es to
the generic clock components for when a global or callback function
based lock is desired instead of a spinlock, but I wasn't sure if that
sort of hack would really be appreciated in the generic drivers.
Comments?
James Hogan (2):
clk: metag/clk-gate: add metag specific clock gate
clk:
es to
the generic clock components for when a global or callback function
based lock is desired instead of a spinlock, but I wasn't sure if that
sort of hack would really be appreciated in the generic drivers.
Comments?
James Hogan (2):
clk: metag/clk-gate: add metag specific clock gate
clk:
On 10/05/13 16:02, James Hogan wrote:
> This adds a metag architecture specific clk-gate and clk-mux which
> extends the generic ones to use global lock2 to protect the register
> fields. It is common with metag to have an RTOS running on a different
> thread or core with access to di
Thanks for the review Thomas!
On 23/04/13 16:09, Thomas Gleixner wrote:
> On Tue, 23 Apr 2013, James Hogan wrote:
>> +/**
>> + * struct pdc_intc_priv - private pdc interrupt data.
>> + * @nr_perips: Number of peripheral interrupt signals.
>> + * @nr_sys
to
__builtin_memcmp which is expanded by VMLINUX_SYMBOL_STR. Use
__VMLINUX_SYMBOL_STR instead which doesn't expand the argument.
Reported-by: Tetsuo Handa
Signed-off-by: James Hogan
Cc: Rusty Russell
Cc: Andy Shevchenko
Cc: H. Peter Anvin
---
scripts/mod/modpost.c | 2 +-
1 file change
On 24/04/13 14:26, Catalin Marinas wrote:
> On 23 April 2013 17:06, James Hogan wrote:
>> On 23/04/13 16:25, Arnd Bergmann wrote:
>>> On Tuesday 23 April 2013, James Hogan wrote:
>>>
>>>> @@ -46,6 +46,12 @@ core-y+=
R instead which doesn't expand the argument.
Reported-by: Tetsuo Handa
Reported-by: Andy Shevchenko
Signed-off-by: James Hogan
Cc: Rusty Russell
Cc: H. Peter Anvin
Tested-by: Tetsuo Handa
Tested-by: Andy Shevchenko
---
I've corrected commit message tags for Rusty's conve
Hi Thomas,
On 23/04/13 16:09, Thomas Gleixner wrote:
> On Tue, 23 Apr 2013, James Hogan wrote:
>> +pdc_write(priv, PDC_IRQ_ROUTE, irq_route);
>
>> +spin_unlock_irqrestore(&priv->lock, flags);
>> +}
>> +
>> +static void perip_irq_unmask(
witch all the defconfigs to use the default size of 128KiB.
Signed-off-by: James Hogan
---
arch/metag/configs/meta1_defconfig | 1 -
arch/metag/configs/meta2_defconfig | 1 -
arch/metag/configs/meta2_smp_defconfig | 1 -
3 files changed, 3 deletions(-)
diff --git a/arch/metag/co
On 24/04/13 15:51, James Hogan wrote:
> On 24/04/13 14:26, Catalin Marinas wrote:
>> On 23 April 2013 17:06, James Hogan wrote:
>>> It's certainly heading in that direction a lot. For this patchset I
>>> could get away with dropping arch/metag/soc/*, and de
Hi Linus,
Thanks for reviewing these patches.
On 26/04/13 00:01, Linus Walleij wrote:
> On Tue, Apr 23, 2013 at 4:33 PM, James Hogan wrote:
>
>> Add a GPIO driver for the main GPIOs found in the TZ1090 (Comet) SoC.
>> This doesn't include low-power GPIOs as they're
Hi Linus,
On 25/04/13 23:39, Linus Walleij wrote:
> On Tue, Apr 23, 2013 at 4:33 PM, James Hogan wrote:
>
>> Add a pin control driver for the main pins on the TZ1090 SoC. This
>> doesn't include the low-power pins as they're controlled separately via
>> the Po
27; exported twice. Previous export was in vmlinux
>
> Signed-off-by: Geert Uytterhoeven
This has been pointed out several times and needs fixing in the mips
tree where the warning was introduced.
Acked-by: James Hogan
Cheers
James
--
To unsubscribe from this list: send the line &q
] dump_stack+0x19/0x1b
> [] warn_slowpath_common+0x7f/0xc0
> [] warn_slowpath_null+0x1a/0x20
> [] init_workqueues+0x35/0x505
> ...
>
> Signed-off-by: Tejun Heo
> Cc: Martin Schwidefsky
> Cc: Heiko Carstens
> Cc: linux-s...@vger.kernel.org
> Cc: Mike Frysinger
&
301 - 400 of 1308 matches
Mail list logo