On Mon, Oct 27, 2014 at 10:14:41PM +, Mathieu Poirier wrote:
> On 27 October 2014 09:54, Will Deacon wrote:
> > On Fri, Oct 24, 2014 at 05:16:34PM +0100, Catalin Marinas wrote:
> >> As I said, it's confusing. Anyway, you can go ahead and add the
> >> readq/writeq for ARMv6 and later, though
On Mon, Oct 27, 2014 at 10:14:41PM +, Mathieu Poirier wrote:
On 27 October 2014 09:54, Will Deacon will.dea...@arm.com wrote:
On Fri, Oct 24, 2014 at 05:16:34PM +0100, Catalin Marinas wrote:
As I said, it's confusing. Anyway, you can go ahead and add the
readq/writeq for ARMv6 and
On 27 October 2014 09:54, Will Deacon wrote:
> On Fri, Oct 24, 2014 at 05:16:34PM +0100, Catalin Marinas wrote:
>> On Fri, Oct 24, 2014 at 04:05:13PM +0100, Mathieu Poirier wrote:
>> > On 24 October 2014 03:28, Catalin Marinas wrote:
>> > > On Wed, Oct 22, 2014 at 08:10:27PM +0100, Mathieu
On Fri, Oct 24, 2014 at 05:16:34PM +0100, Catalin Marinas wrote:
> On Fri, Oct 24, 2014 at 04:05:13PM +0100, Mathieu Poirier wrote:
> > On 24 October 2014 03:28, Catalin Marinas wrote:
> > > On Wed, Oct 22, 2014 at 08:10:27PM +0100, Mathieu Poirier wrote:
> > >> On 22 October 2014 18:44, Catalin
On Fri, Oct 24, 2014 at 05:16:34PM +0100, Catalin Marinas wrote:
On Fri, Oct 24, 2014 at 04:05:13PM +0100, Mathieu Poirier wrote:
On 24 October 2014 03:28, Catalin Marinas catalin.mari...@arm.com wrote:
On Wed, Oct 22, 2014 at 08:10:27PM +0100, Mathieu Poirier wrote:
On 22 October 2014
On 27 October 2014 09:54, Will Deacon will.dea...@arm.com wrote:
On Fri, Oct 24, 2014 at 05:16:34PM +0100, Catalin Marinas wrote:
On Fri, Oct 24, 2014 at 04:05:13PM +0100, Mathieu Poirier wrote:
On 24 October 2014 03:28, Catalin Marinas catalin.mari...@arm.com wrote:
On Wed, Oct 22, 2014 at
On 24 October 2014 10:16, Catalin Marinas wrote:
> On Fri, Oct 24, 2014 at 04:05:13PM +0100, Mathieu Poirier wrote:
>> On 24 October 2014 03:28, Catalin Marinas wrote:
>> > On Wed, Oct 22, 2014 at 08:10:27PM +0100, Mathieu Poirier wrote:
>> >> On 22 October 2014 18:44, Catalin Marinas wrote:
>>
On Fri, Oct 24, 2014 at 04:05:13PM +0100, Mathieu Poirier wrote:
> On 24 October 2014 03:28, Catalin Marinas wrote:
> > On Wed, Oct 22, 2014 at 08:10:27PM +0100, Mathieu Poirier wrote:
> >> On 22 October 2014 18:44, Catalin Marinas wrote:
> >> > On Wed, Oct 22, 2014 at 05:06:23PM +0100,
On 24 October 2014 03:28, Catalin Marinas wrote:
> On Wed, Oct 22, 2014 at 08:10:27PM +0100, Mathieu Poirier wrote:
>> On 22 October 2014 18:44, Catalin Marinas wrote:
>> > On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org wrote:
>> >> +static inline void __raw_writeq(u64 val,
On Thursday 23 October 2014 16:15:19 Nicolas Pitre wrote:
> On Thu, 23 Oct 2014, Russell King - ARM Linux wrote:
>
> > On Thu, Oct 23, 2014 at 03:47:32PM -0400, Nicolas Pitre wrote:
> > > On Wed, 22 Oct 2014, Catalin Marinas wrote:
> > >
> > > > On Wed, Oct 22, 2014 at 05:06:23PM +0100,
On Wed, Oct 22, 2014 at 08:10:27PM +0100, Mathieu Poirier wrote:
> On 22 October 2014 18:44, Catalin Marinas wrote:
> > On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org wrote:
> >> +static inline void __raw_writeq(u64 val, volatile void __iomem *addr)
> >> +{
> >> + asm
On Thu, Oct 23, 2014 at 08:47:32PM +0100, Nicolas Pitre wrote:
> On Wed, 22 Oct 2014, Catalin Marinas wrote:
>
> > On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org wrote:
> > > +#if __LINUX_ARM_ARCH__ >= 5
> >
> > My old ARMv5 book does not list LDRD/STRD. It looks like they
On Thu, Oct 23, 2014 at 08:47:32PM +0100, Nicolas Pitre wrote:
On Wed, 22 Oct 2014, Catalin Marinas wrote:
On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org wrote:
+#if __LINUX_ARM_ARCH__ = 5
My old ARMv5 book does not list LDRD/STRD. It looks like they only come
On Wed, Oct 22, 2014 at 08:10:27PM +0100, Mathieu Poirier wrote:
On 22 October 2014 18:44, Catalin Marinas catalin.mari...@arm.com wrote:
On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org wrote:
+static inline void __raw_writeq(u64 val, volatile void __iomem *addr)
+{
+
On Thursday 23 October 2014 16:15:19 Nicolas Pitre wrote:
On Thu, 23 Oct 2014, Russell King - ARM Linux wrote:
On Thu, Oct 23, 2014 at 03:47:32PM -0400, Nicolas Pitre wrote:
On Wed, 22 Oct 2014, Catalin Marinas wrote:
On Wed, Oct 22, 2014 at 05:06:23PM +0100,
On 24 October 2014 03:28, Catalin Marinas catalin.mari...@arm.com wrote:
On Wed, Oct 22, 2014 at 08:10:27PM +0100, Mathieu Poirier wrote:
On 22 October 2014 18:44, Catalin Marinas catalin.mari...@arm.com wrote:
On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org wrote:
On Fri, Oct 24, 2014 at 04:05:13PM +0100, Mathieu Poirier wrote:
On 24 October 2014 03:28, Catalin Marinas catalin.mari...@arm.com wrote:
On Wed, Oct 22, 2014 at 08:10:27PM +0100, Mathieu Poirier wrote:
On 22 October 2014 18:44, Catalin Marinas catalin.mari...@arm.com wrote:
On Wed, Oct
On 24 October 2014 10:16, Catalin Marinas catalin.mari...@arm.com wrote:
On Fri, Oct 24, 2014 at 04:05:13PM +0100, Mathieu Poirier wrote:
On 24 October 2014 03:28, Catalin Marinas catalin.mari...@arm.com wrote:
On Wed, Oct 22, 2014 at 08:10:27PM +0100, Mathieu Poirier wrote:
On 22 October
On Thu, 23 Oct 2014, Russell King - ARM Linux wrote:
> On Thu, Oct 23, 2014 at 03:47:32PM -0400, Nicolas Pitre wrote:
> > On Wed, 22 Oct 2014, Catalin Marinas wrote:
> >
> > > On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org
> > > wrote:
> > > > +#if __LINUX_ARM_ARCH__ >= 5
On Thu, Oct 23, 2014 at 03:47:32PM -0400, Nicolas Pitre wrote:
> On Wed, 22 Oct 2014, Catalin Marinas wrote:
>
> > On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org wrote:
> > > +#if __LINUX_ARM_ARCH__ >= 5
> >
> > My old ARMv5 book does not list LDRD/STRD. It looks like they
On Wed, 22 Oct 2014, Catalin Marinas wrote:
> On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org wrote:
> > +#if __LINUX_ARM_ARCH__ >= 5
>
> My old ARMv5 book does not list LDRD/STRD. It looks like they only come
> with ARMv5TE. Are there any processors prior to this supported
On Wed, 22 Oct 2014, Catalin Marinas wrote:
On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org wrote:
+#if __LINUX_ARM_ARCH__ = 5
My old ARMv5 book does not list LDRD/STRD. It looks like they only come
with ARMv5TE. Are there any processors prior to this supported by the
On Thu, Oct 23, 2014 at 03:47:32PM -0400, Nicolas Pitre wrote:
On Wed, 22 Oct 2014, Catalin Marinas wrote:
On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org wrote:
+#if __LINUX_ARM_ARCH__ = 5
My old ARMv5 book does not list LDRD/STRD. It looks like they only come
On Thu, 23 Oct 2014, Russell King - ARM Linux wrote:
On Thu, Oct 23, 2014 at 03:47:32PM -0400, Nicolas Pitre wrote:
On Wed, 22 Oct 2014, Catalin Marinas wrote:
On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org
wrote:
+#if __LINUX_ARM_ARCH__ = 5
My old
On 22 October 2014 18:44, Catalin Marinas wrote:
> On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org wrote:
>> +#if __LINUX_ARM_ARCH__ >= 5
>
> My old ARMv5 book does not list LDRD/STRD. It looks like they only come
> with ARMv5TE. Are there any processors prior to this
On 22 October 2014 19:19, Russell King - ARM Linux
wrote:
> On Wed, Oct 22, 2014 at 06:22:09PM +0200, Mathieu Poirier wrote:
>> I had this conversation with a colleague who reviewed the work. If
>> the architecture is < 5 the __raw_ versions aren't included and the
>> compiler won't complain
On Wed, Oct 22, 2014 at 06:22:09PM +0200, Mathieu Poirier wrote:
> I had this conversation with a colleague who reviewed the work. If
> the architecture is < 5 the __raw_ versions aren't included and the
> compiler won't complain until someone tries to use the macros. We
> achieve the same
On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org wrote:
> +#if __LINUX_ARM_ARCH__ >= 5
My old ARMv5 book does not list LDRD/STRD. It looks like they only come
with ARMv5TE. Are there any processors prior to this supported by the
kernel?
> +static inline void __raw_writeq(u64
On 22 October 2014 18:11, Russell King - ARM Linux
wrote:
> On Wed, Oct 22, 2014 at 10:06:23AM -0600, mathieu.poir...@linaro.org wrote:
>> @@ -306,10 +324,13 @@ extern void _memset_io(volatile void __iomem *, int,
>> size_t);
>> __raw_readw(c)); __r; })
>>
On Wed, Oct 22, 2014 at 10:06:23AM -0600, mathieu.poir...@linaro.org wrote:
> @@ -306,10 +324,13 @@ extern void _memset_io(volatile void __iomem *, int,
> size_t);
> __raw_readw(c)); __r; })
> #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force
From: Mathieu Poirier
Some drivers on ARMv7 need 64 bit read and writes.
Signed-off-by: Mathieu Poirier
---
arch/arm/include/asm/io.h | 21 +
1 file changed, 21 insertions(+)
diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h
index 1805674..861e52c 100644
From: Mathieu Poirier mathieu.poir...@linaro.org
Some drivers on ARMv7 need 64 bit read and writes.
Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org
---
arch/arm/include/asm/io.h | 21 +
1 file changed, 21 insertions(+)
diff --git a/arch/arm/include/asm/io.h
On Wed, Oct 22, 2014 at 10:06:23AM -0600, mathieu.poir...@linaro.org wrote:
@@ -306,10 +324,13 @@ extern void _memset_io(volatile void __iomem *, int,
size_t);
__raw_readw(c)); __r; })
#define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32) \
On 22 October 2014 18:11, Russell King - ARM Linux
li...@arm.linux.org.uk wrote:
On Wed, Oct 22, 2014 at 10:06:23AM -0600, mathieu.poir...@linaro.org wrote:
@@ -306,10 +324,13 @@ extern void _memset_io(volatile void __iomem *, int,
size_t);
On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org wrote:
+#if __LINUX_ARM_ARCH__ = 5
My old ARMv5 book does not list LDRD/STRD. It looks like they only come
with ARMv5TE. Are there any processors prior to this supported by the
kernel?
+static inline void __raw_writeq(u64
On Wed, Oct 22, 2014 at 06:22:09PM +0200, Mathieu Poirier wrote:
I had this conversation with a colleague who reviewed the work. If
the architecture is 5 the __raw_ versions aren't included and the
compiler won't complain until someone tries to use the macros. We
achieve the same result -
On 22 October 2014 19:19, Russell King - ARM Linux
li...@arm.linux.org.uk wrote:
On Wed, Oct 22, 2014 at 06:22:09PM +0200, Mathieu Poirier wrote:
I had this conversation with a colleague who reviewed the work. If
the architecture is 5 the __raw_ versions aren't included and the
compiler
On 22 October 2014 18:44, Catalin Marinas catalin.mari...@arm.com wrote:
On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org wrote:
+#if __LINUX_ARM_ARCH__ = 5
My old ARMv5 book does not list LDRD/STRD. It looks like they only come
with ARMv5TE. Are there any processors prior
38 matches
Mail list logo