On 29/05/13 17:12, James Hogan wrote:
> On 29/05/13 16:38, Linus Walleij wrote:
>> On Fri, May 24, 2013 at 6:21 PM, James Hogan wrote:
>>> +Optional properties:
>>> +- gpio-ranges: Mapping to pin controller pins
>>> +
>>> +- interrupts: Individual sys
On 29 May 2013 18:36, Oleg Nesterov wrote:
> On 05/29, David Daney wrote:
>>
>> On 05/29/2013 10:01 AM, James Hogan wrote:
>>> MIPS has 128 signals, the highest of which has the number 128. The
>>
>> I wonder if we should change the ABI and reduce the number
no, so that this highest
of signal numbers get rounded down to 127. This makes the exit code
technically incorrect, but it's better than killing the whole kernel.
Signed-off-by: James Hogan
Cc: Ralf Baechle
Cc: Al Viro
Cc: Andrew Morton
Cc: Oleg Nesterov
Cc: Kees Cook
---
This is based on
On 29/05/13 16:38, Linus Walleij wrote:
> On Fri, May 24, 2013 at 6:21 PM, James Hogan wrote:
>> +Optional properties:
>> +- gpio-ranges: Mapping to pin controller pins
>> +
>> +- interrupts: Individual syswake interrupts (other GPIOs cannot inter
On 29/05/13 16:32, Linus Walleij wrote:
> On Fri, May 24, 2013 at 6:21 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 controlled separately
>> via the Po
Fix typo in "communicate directly with with the pinctrl subsystem".
Signed-off-by: James Hogan
Cc: Linus Walleij
Cc: Rob Landley
---
Documentation/pinctrl.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/pinctrl.txt b/Documentation/pinctrl
If no init_machine callback is provided, call of_platform_populate()
instead. This allows a board/SoC that only needs to call
of_platform_populate to omit the callback altogether.
Signed-off-by: James Hogan
Cc: Grant Likely
Cc: Rob Herring
Cc: Arnd Bergmann
Cc: devicetree-disc
Add a GPIO driver for the main GPIOs found in the TZ1090 (Comet) SoC.
This doesn't include low-power GPIOs as they're controlled separately
via the Powerdown Controller (PDC) registers.
The driver is instantiated by device tree and supports interrupts for
all GPIOs.
Signed-off-by: J
linux-...@vger.kernel.org
James Hogan (9):
metag: of_platform_populate from arch generic code
metag: minimal TZ1090 (Comet) SoC infrastructure
irq-imgpdc: add ImgTec PDC irqchip driver
pinconf-generic: add drive strength to debugfs output
pinconf-generic: add BIAS_BUS_HOLD pinconf
pinctrl-t
. It also handles the set_wake interrupt
operation to enable/disable the appropriate wake event bits.
Signed-off-by: James Hogan
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
Cc: Thomas Gleixner
Cc: linux-...@vger.kernel.org
Cc: devicetree-disc...@lists.ozlabs.org
---
Changes in v2:
- irq
muxed onto the
ir_mod_stable_out and ir_mod_power_out functions respectively. If no
function is set they remain in GPIO mode. These muxes can be overridden
by requesting them as GPIOs.
Signed-off-by: James Hogan
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
Cc: Linus Walleij
Cc:
Add a GPIO driver for the low-power Powerdown Controller GPIOs in the
TZ1090 SoC.
The driver is instantiated by device tree and supports interrupts for
the SysWake GPIOs only.
Signed-off-by: James Hogan
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
Cc: Linus Walleij
Cc: linux
boards and digital
radios, such as the Minimorph Development Platform.
Signed-off-by: James Hogan
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
Cc: Arnd Bergmann
Cc: linux-...@vger.kernel.org
Cc: devicetree-disc...@lists.ozlabs.org
---
Changes in v2:
- removed arch/metag/soc/ directory
Add the drive strength pinconf to debugfs output (with the unit "mA").
Signed-off-by: James Hogan
Cc: Linus Walleij
---
Changes in v2:
- add drive strength to generic pinconf debugfs output (patch 4)
drivers/pinctrl/pinconf-generic.c | 1 +
1 file changed, 1 insertion(+)
di
the pin.
Signed-off-by: James Hogan
Cc: Linus Walleij
---
Changes in v2:
- add BIAS_BUS_HOLD generic pinconf (patch 5)
drivers/pinctrl/pinconf-generic.c | 1 +
include/linux/pinctrl/pinconf-generic.h | 6 ++
2 files changed, 7 insertions(+)
diff --git a/drivers/pinctrl/pinconf
On 26 April 2013 16:08, Linus Walleij wrote:
> @@ -608,7 +610,7 @@ static int pinconf_dbg_config_print(struct seq_file *s,
> void *d)
> bool found = false;
> unsigned long config;
>
> - mutex_lock(&pinctrl_mutex);
> + mutex_lock(&pctldev->mutex);
>
> /* Parse t
According to include/uapi/linux/kvm_para.h architectures should define
kvm_para_available, so add an implementation to asm-generic/kvm_para.h
which just returns false.
Signed-off-by: James Hogan
Cc: Marcelo Tosatti
Cc: Gleb Natapov
Cc: Arnd Bergmann
---
include/asm-generic/kvm_para.h | 5
On 21/05/13 06:10, Saravana Kannan wrote:
> On 05/20/2013 06:28 AM, James Hogan wrote:
>> diff --git a/include/linux/clk-private.h b/include/linux/clk-private.h
>> index dd7adff..8138c94 100644
>> --- a/include/linux/clk-private.h
>> +++ b/include/linux/clk-private.h
&
_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
Cc: Mike Turquette
Cc: linux-arm-ker...@lists.infradead.org
---
Changes in v4:
* (not included Stephen Boyd&
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
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
Cc: Mike Turquette
Cc: linux-arm-ker...@lists.infradead.org
---
Changes in v4:
* never pass NULL to determine_rate's best_parent_clk parame
ent, and in a way that should 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
to ease readability of that patch.
Signed-off-by: James Hogan
Cc: Mike Turquette
Cc: linux-arm-ker...@lists.infradead.org
---
Changes in v4:
* new patch (patch 2) split out of patch 3 to avoid having to declare
static __clk_set_parent() at the top of clk.c, and to ease readability
of patch 3
On 16/05/13 23:22, Stephen Boyd wrote:
> On 05/16/13 02:56, James Hogan wrote:
>> On 15/05/13 23:31, Stephen Boyd wrote:
>>> Can you please Cc the devicetree mailing list when proposing new bindings?
>> Erm, I think it was on Cc (devicetree-disc...@lists.ozlabs.org yeh?)
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
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'
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
>>
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
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
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 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 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
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:
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
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
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
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
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.
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 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
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
(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 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
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 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
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
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 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
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
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
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
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
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
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
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
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
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(
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
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+=
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
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
Thanks for reviewing Arnd.
On 23/04/13 16:25, Arnd Bergmann wrote:
> On Tuesday 23 April 2013, James Hogan wrote:
>
>> @@ -46,6 +46,12 @@ core-y+=
>> arch/metag/boot/dts/
>> core-y += arch/
0 (at least the
first two patches) so all review is very much appreciated.
Cc: Arnd Bergmann
Cc: Thomas Gleixner
James Hogan (8):
metag: of_platform_populate from arch generic code
metag: minimal TZ1090 (Comet) SoC infrastructure
irq-imgpdc: add ImgTec PDC irqchip driver
metag: tz1090
Add a GPIO driver for the low-power Powerdown Controller GPIOs in the
TZ1090 SoC.
The driver is instantiated by device tree and supports interrupts for
the SysWake GPIOs only.
Signed-off-by: James Hogan
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
Cc: Linus Walleij
Cc: linux
If no init_machine callback is provided, call of_platform_populate()
instead. This allows a board/SoC that only needs to call
of_platform_populate to omit the callback altogether.
Signed-off-by: James Hogan
Cc: Grant Likely
Cc: Rob Herring
Cc: Arnd Bergmann
---
arch/metag/kernel/setup.c | 4
Add with definitions to number all the GPIOs
available on-chip. This is for use by the pinctrl and GPIO drivers.
Signed-off-by: James Hogan
---
arch/metag/include/asm/soc-tz1090/gpio.h | 121 +++
1 file changed, 121 insertions(+)
create mode 100644 arch/metag
. It also handles the set_wake interrupt
operation to enable/disable the appropriate wake event bits.
Signed-off-by: James Hogan
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
Cc: Thomas Gleixner
Cc: linux-...@vger.kernel.org
---
.../devicetree/bindings/metag/pdc-intc.txt | 112
number of development boards and digital
radios, such as the Minimorph Development Platform.
Signed-off-by: James Hogan
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
Cc: Arnd Bergmann
Cc: linux-...@vger.kernel.org
---
.../devicetree/bindings/vendor-prefixes.txt| 1 +
arch/metag
Add a GPIO driver for the main GPIOs found in the TZ1090 (Comet) SoC.
This doesn't include low-power GPIOs as they're controlled separately
via the Powerdown Controller (PDC) registers.
The driver is instantiated by device tree and supports interrupts for
all GPIOs.
Signed-off-by: J
muxed onto the
ir_mod_stable_out and ir_mod_power_out functions respectively. If no
function is set they remain in GPIO mode. These muxes can be overridden
by requesting them as GPIOs.
Signed-off-by: James Hogan
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
Cc: Linus Walleij
Cc:
filename aligns
with all the others.
Signed-off-by: James Hogan
Cc: Michal Marek
Cc: Dirk Brandewie
Cc: Grant Likely
---
scripts/Makefile.lib | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 07125e6..e13fff1 100644
--- a
Hi Mike,
On 03/04/13 22:34, Mike Turquette wrote:
> diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
> index 9fdfae7..1a19186 100644
> --- a/include/linux/clk-provider.h
> +++ b/include/linux/clk-provider.h
> @@ -126,6 +126,9 @@ struct clk_ops {
>
similar to
clk_set_parent() but without calling __clk_recalc_rates(). This is for
clk_change_rate() to use, where rate recalculation and notifications are
already handled.
Signed-off-by: James Hogan
---
Documentation/clk.txt| 4 ++
drivers/clk/clk.c
hoose the best one (like clk-divider this chooses the parent which
provides the fastest rate <= the requested rate).
The determine_rate 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
---
drivers
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
he PRE notifications have been sent, and in a way that should 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 (3):
clk: abstract parent cache
clk: add support for clock reparent on s
Hi Al,
On 27/03/13 11:07, James Hogan wrote:
> 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
>
y in dtb-y (e.g.
imported into the tree and specified in CONFIG_METAG_BUILTIN_DTB_NAME)
it too will be treated as an intermediate and deleted automatically
(again causing it to be regenerated on every build), so add it to dtb-y
so it gets added to targets and the dtbs target.
Signed-off-by: James
On 17/04/13 05:13, Vineet Gupta wrote:
> Hi James,
>
> On 04/16/2013 09:23 PM, James Hogan wrote:
>> On 12/04/13 22:52, Stephen Warren wrote:
>>> +.SECONDARY: $(obj)/$(builtindtb-y).dtb.S
>> Note, this may not work if you're using CONFIG_ARC_BUILTIN_DTB_NAME,
&
On 16/04/13 16:53, James Hogan wrote:
> On 12/04/13 22:52, Stephen Warren wrote:
>> +.SECONDARY: $(obj)/$(builtindtb-y).dtb.S
>
> Note, this may not work if you're using CONFIG_ARC_BUILTIN_DTB_NAME,
> since it'll have quotes around it, so you may instead need:
>
On 12/04/13 22:52, Stephen Warren wrote:
> +.SECONDARY: $(obj)/$(builtindtb-y).dtb.S
Note, this may not work if you're using CONFIG_ARC_BUILTIN_DTB_NAME,
since it'll have quotes around it, so you may instead need:
.SECONDARY: $(obj)/$(patsubst "%",%,$(builtindtb-y)).dtb.S
(at least that's what's
400
> Stack:
> 88007c861ef8 81000312 82446608 88007c85e650
> 0003 88007c861f38 82335e5d
> 88007c862080 8223d8c0 88007c862080 81c47730
> Call Trace:
> [] do_one_initcall+0x1
] 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
&
On 3 April 2013 03:06, Stephen Boyd wrote:
>
> On 03/22/13 08:43, 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 ca
From: Paul Clothier
Implement functionality to get the TLS pointer for the metag
architecture using regsets.
This provides multi-threaded debug support for GDB.
Signed-off-by: Paul Clothier
---
arch/metag/kernel/ptrace.c | 34 ++
include/uapi/linux/elf.h | 1
Export the symbols _metag_da_present and cpu_2_hwthread_id to modules
(GPL only) to allow the imgdafs file system to be built as a module.
Signed-off-by: James Hogan
---
arch/metag/kernel/da.c| 2 ++
arch/metag/kernel/setup.c | 1 +
2 files changed, 3 insertions(+)
diff --git a/arch/metag
compatible between Linux and
non-Linux operating systems.
Signed-off-by: James Hogan
---
arch/metag/include/uapi/asm/Kbuild | 1 +
arch/metag/include/uapi/asm/ech.h | 15 +++
2 files changed, 16 insertions(+)
create mode 100644 arch/metag/include/uapi/asm/ech.h
diff --git a/arch/metag
A few more misc arch/metag/ improvements for v3.10.
James Hogan (2):
metag: export _metag_da_present and cpu_2_hwthread_id
metag: add exported for extended context handling
Paul Clothier (1):
metag: ptrace: Implement NT_METAG_TLS
arch/metag/include/uapi/asm/Kbuild | 1 +
arch/metag
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
---
v7:
* use explicit sized types in da_stat and da_finddata (Al Viro)
* move
This patchset contains some tweaks to hostfs, based on imgdafs review
comments from Al Viro which also apply to hostfs.
James Hogan (3):
hostfs: remove "will unlock" comment
hostfs: move HOSTFS_SUPER_MAGIC to
hostfs: use kmalloc instead of kzalloc
fs/hostfs/hostfs_ker
Move HOSTFS_SUPER_MAGIC to to be with it's magical
friends from other file systems.
Reported-by: Al Viro
Signed-off-by: James Hogan
---
fs/hostfs/hostfs_kern.c| 3 +--
include/uapi/linux/magic.h | 1 +
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/hostfs/hostfs_k
The inode info structure is zeroed at allocation with kzalloc, and then
all but one of the fields (including the largest, vfs_inode) are
initialised explicitly. Switch to using kmalloc and initialise the
remaining field too.
Reported-by: Al Viro
Signed-off-by: James Hogan
---
fs/hostfs
wing commit:
Commit ec2447c278ee973d35f38e53ca16ba7f965ae33d ("hostfs: simplify
locking").
Since the comment is no longer applicable, remove it.
Reported-by: Al Viro
Signed-off-by: James Hogan
Cc: Nick Piggin
---
fs/hostfs/hostfs_kern.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Thanks for reviewing Al...
On 26 March 2013 19:18, Al Viro wrote:
> On Tue, Mar 26, 2013 at 03:19:29PM +0000, James Hogan wrote:
>> +struct da_finddata {
>> + unsigned long size;
>> + unsigned long attrib;
>> + char name[260];
>> +};
>
> ... esp
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
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
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
901 - 1000 of 1308 matches
Mail list logo