diff for duplicates of <1457595846.2868.10.camel@synopsys.com> diff --git a/a/1.txt b/N1/1.txt index 518ed59..b224181 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,6 +1,6 @@ Hi Vineet, -On Thu, 2016-03-10 at 05:05 +0000, Vineet Gupta wrote: +On Thu, 2016-03-10@05:05 +0000, Vineet Gupta wrote: > +CC Noam > > On Wednesday 09 March 2016 10:51 PM, Lada Trimasova wrote: @@ -15,24 +15,24 @@ Let me disagree with you here. See what is said in "include/asm-generic/io.h": ---------------------->8--------------------- /* - * __raw_{read,write}{b,w,l,q}() access memory in native endianness. - * - * On some architectures memory mapped IO needs to be accessed differently. - * On the simple architectures, we just read/write the memory location - * directly. - */ +?* __raw_{read,write}{b,w,l,q}() access memory in native endianness. +?* +?* On some architectures memory mapped IO needs to be accessed differently. +?* On the simple architectures, we just read/write the memory location +?* directly. +?*/ ... /* - * {read,write}{b,w,l,q}() access little endian memory and return result in - * native endianness. - */ +?* {read,write}{b,w,l,q}() access little endian memory and return result in +?* native endianness. +?*/ ---------------------->8--------------------- And that's an implementation we have for ARC: ---------------------->8--------------------- -#define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; }) +#define readb(c) ({ u8??__v = readb_relaxed(c); __iormb(); __v; }) #define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(); __v; }) #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) @@ -41,8 +41,8 @@ And that's an implementation we have for ARC: #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) /* - * Relaxed API for drivers which can handle any ordering themselves - */ +?* Relaxed API for drivers which can handle any ordering themselves +?*/ #define readb_relaxed(c) __raw_readb(c) #define readw_relaxed(c) __raw_readw(c) #define readl_relaxed(c) __raw_readl(c) @@ -63,7 +63,7 @@ BTW description of {read,write}{b,w,l,q}() is a bit misleading in part saying "... and return result in __native_endianness__". But real implementation of {read,write}{b,w,l,q}() in "include/asm-generic/io.h" -really shows what was meant - note __leXX_to_cpu() and cpu_to_leXX are used. +really shows what was meant - note?__leXX_to_cpu() and?cpu_to_leXX are used. > > > > For example, serial port driver doesn't work when kernel is build for diff --git a/a/content_digest b/N1/content_digest index 0d31e06..f00c2d7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,19 +1,14 @@ "ref\01457544064-16167-1-git-send-email-ltrimas@synopsys.com\0" "ref\0C2D7FE5348E1B147BCA15975FBA23075F4E8EDF9@us01wembx1.internal.synopsys.com\0" - "From\0Alexey Brodkin <Alexey.Brodkin@synopsys.com>\0" - "Subject\0Re: [PATCH] arc: use little endian accesses\0" + "From\0Alexey.Brodkin@synopsys.com (Alexey Brodkin)\0" + "Subject\0[PATCH] arc: use little endian accesses\0" "Date\0Thu, 10 Mar 2016 07:44:06 +0000\0" - "To\0Vineet Gupta <Vineet.Gupta1@synopsys.com>\0" - "Cc\0linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>" - linux-arch@vger.kernel.org <linux-arch@vger.kernel.org> - noamc@ezchip.com <noamc@ezchip.com> - Lada Trimasova <Lada.Trimasova@synopsys.com> - " linux-snps-arc@lists.infradead.org <linux-snps-arc@lists.infradead.org>\0" + "To\0linux-snps-arc@lists.infradead.org\0" "\00:1\0" "b\0" "Hi Vineet,\n" "\n" - "On Thu, 2016-03-10 at 05:05 +0000, Vineet Gupta wrote:\n" + "On Thu, 2016-03-10@05:05 +0000, Vineet Gupta wrote:\n" "> +CC Noam\n" "> \n" "> On Wednesday 09 March 2016 10:51 PM, Lada Trimasova wrote:\n" @@ -28,24 +23,24 @@ "See what is said in \"include/asm-generic/io.h\":\n" "---------------------->8---------------------\n" "/*\n" - "\302\240* __raw_{read,write}{b,w,l,q}() access memory in native endianness.\n" - "\302\240*\n" - "\302\240* On some architectures memory mapped IO needs to be accessed differently.\n" - "\302\240* On the simple architectures, we just read/write the memory location\n" - "\302\240* directly.\n" - "\302\240*/\n" + "?* __raw_{read,write}{b,w,l,q}() access memory in native endianness.\n" + "?*\n" + "?* On some architectures memory mapped IO needs to be accessed differently.\n" + "?* On the simple architectures, we just read/write the memory location\n" + "?* directly.\n" + "?*/\n" "\n" "...\n" "\n" "/*\n" - "\302\240* {read,write}{b,w,l,q}() access little endian memory and return result in\n" - "\302\240* native endianness.\n" - "\302\240*/\n" + "?* {read,write}{b,w,l,q}() access little endian memory and return result in\n" + "?* native endianness.\n" + "?*/\n" "---------------------->8---------------------\n" "\n" "And that's an implementation we have for ARC:\n" "---------------------->8---------------------\n" - "#define readb(c)\t\t({ u8\302\240\302\240__v = readb_relaxed(c); __iormb(); __v; })\n" + "#define readb(c)\t\t({ u8??__v = readb_relaxed(c); __iormb(); __v; })\n" "#define readw(c)\t\t({ u16 __v = readw_relaxed(c); __iormb(); __v; })\n" "#define readl(c)\t\t({ u32 __v = readl_relaxed(c); __iormb(); __v; })\n" "\n" @@ -54,8 +49,8 @@ "#define writel(v,c)\t\t({ __iowmb(); writel_relaxed(v,c); })\n" "\n" "/*\n" - "\302\240* Relaxed API for drivers which can handle any ordering themselves\n" - "\302\240*/\n" + "?* Relaxed API for drivers which can handle any ordering themselves\n" + "?*/\n" "#define readb_relaxed(c)\t__raw_readb(c)\n" "#define readw_relaxed(c)\t__raw_readw(c)\n" "#define readl_relaxed(c)\t__raw_readl(c)\n" @@ -76,7 +71,7 @@ "\"... and return result in __native_endianness__\".\n" "\n" "But real implementation of {read,write}{b,w,l,q}() in \"include/asm-generic/io.h\"\n" - "really shows what was meant - note\302\240__leXX_to_cpu() and\302\240cpu_to_leXX are used.\n" + "really shows what was meant - note?__leXX_to_cpu() and?cpu_to_leXX are used.\n" "\n" "> > \n" "> > For example, serial port driver doesn't work when kernel is build for\n" @@ -91,4 +86,4 @@ "\n" -Alexey -04dc75f68c72db0e19aaa8c15ad02cad294d35259799e9ed95786e9ea1200861 +f4af3a01a851d0989f6c64dd6cbe2ae349b94f58c3467e32ba3835eb64b252d6
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.